- Posts: 28
- Thank you received: 0
Redeem coupon at order create
A third party application is changing the order status from payed into send, using an mysql query directly; Therefore HikaShop does not redeem the coupon.
Or perhaps there is a better solution? (Do we need to use the HikaSerial coupon or the HikaShop coupon during checkout?)
Using HikaShop en HikaSerial
Please Log in or Create an account to join the conversation.
If you modify the database directly, HikaShop won't be triggered so all the code which should be executed for the order processing (coupon, stock, market vendors, serial management, etc) won't.
I recommend you to create a little plugin which will use the HikaShop function in order to change the order status.
The "HikaSerial coupon" step is a new step which allow you to use HikaShop coupons or HikaSerial serials during the checkout.
If you have some consumable serials (like with the new points plugins), it could be useful to let the customer enter his serial during the checkout in order to gain his points. (instead of having a module somewhere in your site).
If you do not have serial to consume, you do not need this special HikaSerial checkout step.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Why do you want to "redeem" a coupon when the order is created ?
A coupon will be use when the order is created and we update the coupon only when the order is cancelled (to change back the coupon counter).
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Perhaps I'm overlooking something or how do I generate the coupons otherwise?
Please Log in or Create an account to join the conversation.
The "number of used times" of a coupon is increased when an order with that coupon code is created, not when it is updated.
Maybe you have an old version of HikaShop with a bug ?
Please Log in or Create an account to join the conversation.
[not working]
- Create a coupon with e.g. 5 EURO discount
- Place a 5 EURO product in your shopping basket
- Start payment process, enter coupon code and the amount to be payed will be reduced to 0 EURO
- Order will be 'Confirmed'; Coupon is listed within order but usage count at coupon is not reduced.
(This way the payment plugin is also not involved, because order will be entirely processed by HikaShop)
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Now there still is an issue using the IDEAL plugin; Coupon usage is not increased / redeemed when payment is done. Also informed the IDEAL plugin creator (ccIDEAL), but perhaps you know where to look?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please log in or register to see it.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
If your problem is not solved, thanks to update HikaShop, some changes have been made regarding the coupons.
That will probably help you.
Please Log in or Create an account to join the conversation.