• Resolved trideit

    (@trideit)


    Hello –

    So with the following test scenario this plugin does not work.

    1) Follow link and it will apply the coupon
    2) If you scroll down and click apple pay
    3) Don’t complete transaction – close out of apple pay
    4) Now go to the regular checkout form and the discount has disappeared

    Please advise. This is for an active promo

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Algoritmika

    (@algoritmika)

    Hi @trideit,

    Sorry for the late reply.

    Please check if the “Force session start” checkbox is enabled in “WooCommerce > Settings > URL Coupons > General”. If it is enabled, and that doesn’t help – could you please try enabling the “Delay coupon > Enable section” checkbox there as well.

    Please give it a try and let me know if that helps.

    Thread Starter trideit

    (@trideit)

    Force session start – it says to click this if I want coupon to not apply to guest users but all of my users are guests. Please confirm how this will impact my site?

    Similarly for delay coupon – I want it to show up when a user goes to the page not when the product gets added. So not sure how this will help?

    Can you test to see if you can replicate the issue? Think it has something to do with apple pay?

    Plugin Author Algoritmika

    (@algoritmika)

    Hi @trideit,

    Sorry for the late reply.

    Force session start – actually, it says “… enable this if URL coupons are not being applied to the guests…”. So it’s not that coupons won’t be applied for the guests, on the contrary, it will ensure that they will work for the guests as well.

    The reason I’ve offered to check this option – when I’ve tried your link, I’ve only seen the Google Pay button (not Apple Pay), and when I’ve tried to click it, the coupon wasn’t there. So I thought maybe you didn’t notice that the coupon wasn’t applied in the first place, and the real problem was here, not that the coupon was removed later. For the same reason, I’ve also offered to try enabling our “Delay coupon” option as well.

    Anyway, let me try to check it more – which plugin are you using for adding Apple Pay / Google Pay buttons?

    Thread Starter trideit

    (@trideit)

    Hello –

    Used Woocomerce for Apple pay. Apple pay only works on apple devices. Can you test on an apple?

    The coupon is working when I use it leveraging alg_apply coupon code but you are saying it is not working on your machine? Can you try again? I clicked forced start.

    Plugin Author Algoritmika

    (@algoritmika)

    Hi @trideit,

    I’ve made some more tests on your site. I’m still testing with Google Pay, however, it looks like there are problems there as well.

    So if I go to the link with URL coupon, add the product to the cart, then go to the cart page and click the “Buy with Google Pay” button there – it’s all working fine – I can see that coupon was applied and there is a discount in Google Pay window.

    However, if I go to the link with URL coupon, and click the “Buy with Google Pay” button right away, i.e. on the product page itself, without adding the product to the cart – I can see that no discount is applied at all.

    Will be investigating this further.

    P.S. In both cases, the error you’ve described initially – i.e. coupon disappearing after unfinished Apple Pay – didn’t happen here. The coupon is still applied to the cart, even if I close the Google Pay window, and don’t finish the transaction. It could be that this is related to Apple Pay only, but for a start, I would like to figure out how to solve the problem with Google Pay not applying the coupon from the product page at all.

    Will get back to you asap.

    Thread Starter trideit

    (@trideit)

    Thanks – let me know

    Thread Starter trideit

    (@trideit)

    Any update here?

    Plugin Author Algoritmika

    (@algoritmika)

    Hi @trideit,

    Yes, I’ve made some progress. Please update the plugin to the latest v1.6.1.

    I was able to reproduce your initial issue, i.e. coupon being removed after the “Apple Pay” button is clicked. I’m still testing with the “Google Pay” button, but I believe that the issue is identical in both cases. So I’ve figured out that after the “Google Pay” button is clicked, the cart is emptied and new product is added to the cart. Because of that, applied coupons are emptied as well. To fix this, I’ve added a new option to our plugin – in “WooCommerce > Settings > URL Coupons > Advanced” you will find a new checkbox – “Save on empty cart”. It will save coupons when the cart is emptied and will reapply them when some product is added to the cart. The checkbox is disabled by default, so you’ll need to enable it. Please give it a try and let me know if this fixes the issue.

    Unfortunately, I’m still struggling with another issue I’ve mentioned earlier – it looks like the coupon is not being applied at all if the “Google Pay” button is clicked from the product page (however, it works normally if “Google Pay” is clicked from the cart page). I’m still working on this…

    Thread Starter trideit

    (@trideit)

    K any thoughts on what the issue may be?

    Plugin Author Algoritmika

    (@algoritmika)

    Hi @trideit,

    I think I know what the issue is, but I need some time to find the solution. Did you try our new “Save on empty cart” option – does that help with the disappearing coupon after the canceled Apple Pay?

    Thread Starter trideit

    (@trideit)

    Yes the save on empty cart fix worked. Thanks. Do you think that should be a default instead of another check mark?

    Look forward to your fix on the other issue you mentioned

    Plugin Author Algoritmika

    (@algoritmika)

    Hi @trideit,

    > Yes the save on empty cart fix worked.

    Ok, great, thanks for the feedback.

    > Do you think that should be a default instead of another check mark?

    Probably you are right. I just wanted to make sure that it does work before making it the default behavior.

    > Look forward to your fix on the other issue you mentioned.

    Will get back to you asap.

    Plugin Author Algoritmika

    (@algoritmika)

    Hi @trideit,

    Hopefully, I’ve finally managed to fix the issue with the payment buttons on single product pages. Please update the plugin to the latest v1.6.2. After that please go to “WooCommerce > Settings > URL Coupons > Advanced”, and enable the new “Payment request buttons: Apply coupons on single product pages > WooCommerce Payments” checkbox there. Please give it a try and let me know if it’s working ok now?

    Plugin Author Algoritmika

    (@algoritmika)

    I’m going to mark this thread as “resolved” for now, hope that’s ok. Please let me know if there are still any questions/issues.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Coupon Disappears After Apple Pay’ is closed to new replies.