• Resolved mushroomholistic

    (@mushroomholistic)


    Hi.
    I use WooCommerce Stripe Gateway.
    Payment with card works good. But does not work payment with Google pay and apple pay.

    When i try to pay with Google pay and apple pay in my mobile, click button on the site, then aprove on mobile, then payment seems to happen, but after a second or two everything disappears with an error sound.

    The site does not show any errors, the order is not created, money is not debited from the card.

    I’ve already tried turning off all plugins except voocommece and stripe, it didn’t help.

    I tried to use clean storefront theme.

    I tried adding this recommendation https://github.com/woocommerce/woocommerce-gateway-stripe/issues/2707 didn’t help either.

    None of my attemps helped.

    My site is https://mushroomholistic.com/

    Can you help me solve this problem?

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Saif

    (@babylon1999)

    Hello @mushroomholistic!

    Seems like you’ve been trying to fix this for quite some time. Could you please attach some screenshots so we can get a better understanding of what you’re describing?

    If you don’t already have a screenshot service installed, here are a few free options: 

    Also, kindly attach a copy of your site’s system status. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support” (after you scroll down a bit)”. Once done, please paste it here in your reply or via a text-sharing service like https://gist.github.com/.

    Look forward to hearing back from you.

    Thread Starter mushroomholistic

    (@mushroomholistic)

    Hi.

    Thank you for your reply.

    WooCommerce > Status. — https://gist.github.com/mushroomhilistic/7a7b2585baddf4a7ec69312bfe6deb81

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @mushroomholistic

    From your explanation, screenshots and the system report you provided, it seems like the issue might be related to the communication between your website and the Stripe payment gateway.

    Here are a few steps you can consider:

    1. Check the Stripe logs in your Stripe Dashboard to see if there are any error messages related to Apple Pay or Google Pay. Also, enable the Stripe debug mode as explained here https://woocommerce.com/document/stripe/#setup-and-configuration (Go to step 11).
    2. Also, it’s worth checking your server error logs, which might contain additional information about the issue. You can usually find these in your hosting account. Here is our detailed guide on checking the debugging log: https://woocommerce.com/document/woocommerce-product-search/api/debugging/
    3. Increase PHP Post Max Size from 100 MB to 2 GB, PHP Time Limit from 300 to 1200 and PHP Max Input Vars from 1000 to 6144.

    If none of the above steps help, please get back to us with the following:

    • Fatal Error log: Share a copy of any fatal error log found under WooCommerce → Status → Logs.

    Looking forward to hearing from you.

    Thread Starter mushroomholistic

    (@mushroomholistic)

    Hi.

    Thank you for your reply.

    In the Stripe logs I noticed incorrect data in /v1/tokens – Response body –

    “exp_month”: 6, but the real “exp_month” of my card is 4

    “exp_year”: 2026, but the real “exp_year” of my card is 2024

    https://snipboard.io/uk9N4s.jpg

    in the /v1/sources the same problem

    https://snipboard.io/4gDYJP.jpg

    Could there be a reason for this?

    But why is Stripe getting the wrong data?

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @mushroomholistic

    The discrepancy in the expiration date of your card as reflected in the Stripe logs could indeed be the cause of your issue. Stripe might be receiving incorrect data due to a variety of reasons such as a plugin conflict, theme conflict, or even a caching issue.

    To troubleshoot this, you could try the following steps:

    1. Disable all plugins except WooCommerce and Stripe Gateway, then test the checkout. If it works, re-enable your plugins one by one and test each time to identify if there’s a conflicting plugin.
    2. Clear all caches, including any server-level caching or CDN caching you might have.
    3. Check your WooCommerce settings and Stripe settings to ensure all card details are being passed correctly.

    If these steps don’t resolve the issue, it would be best to reach out to Stripe support as they would be better equipped to help you understand why they’re receiving incorrect card information.

    Please let us know how it goes or if you need further assistance.

    Thread Starter mushroomholistic

    (@mushroomholistic)

    Hi.

    Thank you for your reply.

    I have already disabled all plugins, disabled the cache, still does not work.

    When I enter incorrect card data using the usual method, WooCommerce  creates an order, but says that the payment has failed.

    And when paying Apple Pay, WooCommerce?does not create a new order at all.

    Stripe support answered me – https://snipboard.io/cfu8U6.jpg

    Plugin Support Saravanan S, a11n

    (@simplysaru)

    Hi @mushroomholistic

    Thanks for reaching out via email as well and letting us know that the issue was resolved. Could you mark this issue resolved as well?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Apple pay doesn’t work’ is closed to new replies.