• Resolved michael.aulia

    (@michaelaulia)


    I was running a live Apple Pay payment test with a 95% coupon code. Product ended up costing $0.25 with free shipping.

    I have 3 options on the site at the moment:
    – Standard Shipping ($5)
    – Express ($10)
    – Free Shipping (coupon code needed)

    Upon payment with Apple Pay, the screen on my iPhone shows $0.25 total (with free shipping). After validating with FaceID, the phone notification also shows $0.25 – all looks good.

    HOWEVER! The Woocommerce order shows $5.25 payment total and when I check my Stripe + the Bank credit card, they are also showing payment of $5.25. After scratching my head a few times, it looks like Apple Pay auto-picks Standard Shipping (extra $5) – which is the first option on the Woocommerce order just before payment processed, even when Apple Pay screen shows you are going to just pay $0.25!

    Screenshot Paying with Apple Pay: https://imgur.com/yDzQ1bq (Notice how Apple Pay shows “Standard with Tracking” which should incur a $5 charge, but total shows $0.25
    Screenshot Notification: https://imgur.com/DZRYvrA

    Screenshot WooCommerce Order: https://imgur.com/IS9dVLQ

    I also tried again the second time (order was $1.25 in total), but still had the same issue: https://imgur.com/sL8YP3n. Unless I manually change the Standard to Free tracking before confirming the Apple Pay, I’ll see everything as okay.

    It’s quite misleading to customers as they thought they are paying X but ended up paying more at the backend! Credit Card via Stripe and PayPal seem to work fine, only Apple Pay somehow

    • This topic was modified 4 years, 12 months ago by michael.aulia.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hey @michaelaulia,

    From what I understand when you add a coupon code to your site which offers a 95% discount it also applies Free Shipping via that coupon code.

    When you pay with ApplePay it seems to offer the price of $0.25 with no shipping cost but after purchasing you’re noticing that Standard Shipping cost $5.00 has been charged. This takes the total order cost to $5.25.

    If you change the order of your shipping methods so that Free Shipping is at the top like this example below do you notice if that resolves this for you?

    Image Link: https://cloudup.com/cHyVtbKshmT

    If not you could also hide all other shipping methods if free shipping is available which I think should prevent this.

    https://docs.woocommerce.com/document/hide-other-shipping-methods-when-free-shipping-is-available/

    Let me know if either of these changes helps!

    Thread Starter michael.aulia

    (@michaelaulia)

    Hi Stuart,
    Many thanks for your reply! I only had a chance to try it just now.

    Looks like if I change the “Free Shipping” on the top, Apple Pay now grabs that correctly. HOWEVER!

    It looks like Apple Pay will always auto-select the first/top shipping method no matter what you select. So for example if I have:
    [-] Standard shipping
    [-] Express shipping

    When a customer selects Express shipping and use Apple Pay, the Apple Pay confirmation payment pop-up on the phone will always auto-select Standard shipping (whatever the first shipping option is)

    Moderator Hari Shanker R

    (@harishanker)

    Hi @michaelaulia

    Apologies for the delay in getting to you on this.

    It looks like Apple Pay will always auto-select the first/top shipping method no matter what you select. So for example if I have:
    [-] Standard shipping
    [-] Express shipping
    =
    When a customer selects Express shipping and use Apple Pay, the Apple Pay confirmation payment pop-up on the phone will always auto-select Standard shipping (whatever the first shipping option is)

    I’m afraid Apple Pay chooses the first shipping method that’s listed on the top of the page. This is a bug with the Stripe extension, which is reported here: https://github.com/woocommerce/woocommerce-gateway-stripe/issues/755

    We don’t have a fix for the same at the moment, but I can tell you that it will be looked at, and will be fixed in the near future.

    I understand that this is far from ideal, but I’ll definitely put in a word with our developers to see if they can get to it faster.

    In the meantime, let us know if you have other questions. We are happy to help!

    Thread Starter michael.aulia

    (@michaelaulia)

    Ah, I see. Yeah I did some Googling around and it looks like it’s a bug though has happened for months without a fix. But thanks for the update!

    For now we should disable Apple Pay until hopefully a fix one day. Thanks for your reply!

    Moderator Hari Shanker R

    (@harishanker)

    Hi @michaelaulia

    Ah, I see. Yeah I did some Googling around and it looks like it’s a bug though has happened for months without a fix. But thanks for the update!

    Yeah, as we said, it definitely is a bug.

    For now we should disable Apple Pay until hopefully a fix one day. Thanks for your reply!

    Apologies that you had to disable Apple Pay until the issue was fixed. Hopefully we should be able to get to the bottom of this soon.

    Since the issue has already been reported and is being looked into, I’m marking this thread as Resolved. Let us know if you have other questions.

    You can track the issue status by following this link: https://github.com/woocommerce/woocommerce-gateway-stripe/issues/755

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Stripe Apple Pay auto selects first method of shipping upon payment’ is closed to new replies.