July 30, 2020 at 9:53 am #3136
Hi, first can I congratulate you on a great and versatile plugin!
Recently I’ve been using coupons, some with 100% discount and others with an amount equal to the product price, which makes the price zero on some products. Using 100% is great as the sale proceeds without asking for card details, but using the amount coupon the sale value goes to zero but it still asks for the card detail, which is confusing for the customer.
Any solution to this?
CheersJuly 30, 2020 at 9:56 am #3137
… and then payment processing reports ‘Error occurred: This value must be greater than or equal to 1’ – so it doesn’t work anyway.July 30, 2020 at 11:57 pm #3138
Please give me the following info so we can investigate more.
What is the total discount amount you configured in the coupon? What is the total “Product price” of this item in question?July 31, 2020 at 8:18 am #3139
Hi, the product price is £33, and the coupon is ‘fixed amount’ of £33. I did also experiment with higher value coupons, and the total price went negative(!)August 2, 2020 at 12:02 am #3140
Thank you. We have created a ticket to address this. I will give you an update after we come up with a way to handle the code for this.August 3, 2020 at 8:48 am #3143
FWIW, and I obviously don’t know my way around the code, I modified the Load_coupon method for the Item class to check the coupon value and if >= product price then transform it into a 100% off, which is then handled properly by the rest of the plugin code.
// transform this to a 100%
}August 4, 2020 at 12:15 am #3145
We have addressed this in the code (it will go out with the next release). In the meantime, you can use the following testing version that has the fix:August 12, 2020 at 11:00 am #3152
I’ve run some tests as suggested but I’m getting inconsistent results. When the coupon value meets or exceeds the product price it’s working as expected, but it’s also sporadically reducing the price to zero when the coupon price is lower than the item, for example product at £10 applying £9 coupon gave it for free, and also product price £55 with £33 coupon also gave for free.
So whilst I can’t be specific about why this is failing, this doesn’t appear to be a good build.August 13, 2020 at 1:06 am #3155
Thank you. We will take a look.August 13, 2020 at 8:12 am #3156
We have applied a fix for it. Please download a new copy of the test version and use it.August 13, 2020 at 8:24 am #3157
Thanks for that quick update, tested and is behaving ok. I do note that the email receipt may not be ideal, as the ‘subtotal’ line shows a negative amount if the coupon value is higher than the purchase amount:
Product Name: Webinar for £10
Item Price: £10.00
Coupon “test12”: -£12.00
Total Amount: £0.00
I think it would be better for the subtotal to appear as zero, and arguably the coupon amount should only show the amount that’s been redeemed, i.e. the product price, however these aren’t deal-breakers. The danger here is that the customer might expect a refund of £2 looking at this receipt.
You must be logged in to reply to this topic.