• Resolved TechPik

    (@techpik)


    I have enabled New checkout experience for my website and I just noticed that the Apple Pay is not working inside the New checkout experience layout. It does not give any errors. Money is not taken and visitors are not redirected to Thank You page.

    The separate button in Cart or Checkout is working perfectly. Only problem is with the Apple Pay option inside New checkout experience. How to solve this problem or how to hide it from there?
    Image: https://imgur.com/a/bOuodaV

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello,

    As a first step, make sure your customer is using a compatible device, also, the customer will need to configure Apple Pay on their browser.

    If that does not work, I’d suggest switching your site theme to Storefront, and disable all plugins except WooCommerce and Stripe, then check again to see if the issue persists. If it is not, it means that you can re-enable the theme and then the other plugins one by one until you find the cause of the issue.

    You can use the Meks Quick Plugin Disabler, this plugin will remember what plugins you currently have active, and it’s easy to switch them back on.

    Let us know how that goes.

    Thread Starter TechPik

    (@techpik)

    Check the image below. I mean that the black Apple Pay button is working perfectly but if someone uses the Apple Pay option inside Stripe then it does not work.

    View post on imgur.com

    Hi,

    I understand it is not a problem with compatible device. Thanks for the screenshot and the clarification.

    Please enable the debug mode, under WooCommerce > Settings > Payments > stripe > settings > advanced settings > Log error messages. Once enabled, please create a test order, or make a test payment via Apple Pay.

    Then you can provide a copy of any fatal error log that is under WooCommerce > System Status > Logs, this is for us to check.

    Thanks.

    Thread Starter TechPik

    (@techpik)

    There are no fatal errors from today. Last fatal error was on 23th March.

    2023-03-23T08:48:28+00:00 CRITICAL Uncaught Error: Call to a member function update_status() on null in /home/customer/www/...info/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-intent-controller.php:683
    Stack trace:
    #0 /home/customer/www/....info/public_html/wp-includes/class-wp-hook.php(308): WC_Stripe_Intent_Controller->update_failed_order_ajax('')
    #1 /home/customer/www/....info/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #2 /home/customer/www/....info/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /home/customer/www/....info/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(94): do_action('wc_ajax_wc_stri...')
    #4 /home/customer/www/....info/public_html/wp-includes/class-wp-hook.php(308): WC_AJAX::do_wc_ajax('')
    #5 /home/customer/www/....info/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #6 /home/customer/www/....info/public_html/wp in /home/customer/www/....info/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-intent-controller.php on line 683

    Saif

    (@babylon1999)

    Hello @techpik,

    I did some search and found a similar case here. Checking your screenshot again, I can see your checkout page is missing many fields.

    At this point, I suggest performing a full conflict test by disabling all plugins as well as switching to the Storefront theme.

    To ensure that the checkout values remain unchanged, you can create a new checkout page using the following shortcode [woocommerce_checkout] and then assign it the checkout status from WooCommerce > Settings > Advance .


    Link to image: https://d.pr/i/gHe5Mm

    If you no longer have the problem after disabling the plugins, it means that one of them was causing issues with the Apple Pay feature.

    You can enable the plugins one by one to figure out which one was causing the problem.

    Let us know how it goes!

    Thread Starter TechPik

    (@techpik)

    I deactivated all plugins besides Woocommerce and Stripe plugin. Installed and activated Storefront theme, but still the same problem.

    Please could you test this problem on your website.

    Hi @techpik

    I understand that even after switching to the default Storefront theme and only WooCommerce and Stripe plugins are enabled, the error still persists.

    As much as I would love to test this on my personal site, unfortunately, Apple Pay is not yet supported in my country.

    Meanwhile, I’d like to understand your site properly, please share your System Status Report that you can find via WooCommerce > Status. Select Get system report and then Copy for support. Once you’ve done that, you can paste it into your reply here.

    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Thanks!

    Plugin Support dougaitken

    (@dougaitken)

    Automattic Happiness Engineer

    Hey @techpik – thanks to your screenshot, it looks like you’re experiencing this Issue: Selecting Apple Pay / Google Pay from the New Checkout Experience payment options fails to take payment

    Please do read through that and confirm it matches your experience, if so then thumbs up the main message on that Issue. The team are aware of this and investigating. We’re unsure of the root cause but are looking for workarounds.

    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Apple Pay not working inside “New checkout experience”’ is closed to new replies.