• Resolved seoitblogger

    (@seoitblogger)


    Hello,

    I am using the Official AMP plugin with Woo Commerce and I am having trouble while checking out using a mobile device on amp pages.

    On a desktop amp page (with amp url) I am able to checkout successfully and land on the thank you/order-received page after checkout and the order shows up in the woo orders queue wp-admin.

    However if I use a mobile device to checkout on amp page. i am able to check out but instead I see the following screen shot message and the completed order DOES NOT show up in woo order wp-admin order list and I dont arrive to the “Thank you” (order-received url) page after checkout. I see this screen shot.

    https://prntscr.com/tqltoc

    I few things to note:

    1. I tried working from both a clean barebones WordPress 2020 and Storefront theme with no other plugins besides Official amp plugin and woo commerce installed.

    2.Tested it as “AMP in desktop browser ” and “AMP in mobile browser” and used same form fields data in both variants on same IP address.

    3. I tested it using COD (cash on delivery method) so it doesn’t need to use any payment gateway plugin to return a successful order.

    I can’t understand what the issue is and why I see this screen shot instead of successful checkout thank you page.

    Please help explain when you can and advice is greatly appreciated.

    Thank you,
    Anthony

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

Viewing 1 replies (of 1 total)
  • Thanks for your topic!

    It’s best to disable AMP for the cart and checkout pages of WooCommerce as they require JavaScript to function. The AMP specification restricts the use of custom JS, so the plugin might be stripping this from the AMP page.

    You can disable AMP using the toggle in the editor of the corresponding pages: https://jmp.sh/Vz564wN

    WooCommerce is not yet fully AMP-compatible, but this tweak should help.

Viewing 1 replies (of 1 total)
  • The topic ‘Amp checkout not working on mobile device’ is closed to new replies.