• Resolved metrotomas

    (@metrotomas)


    We’re having an issue where Google Pay doesn’t work on the new WooCommerce checkout. we have it enabled to show up in the express checkout, however, it doesn’t allow us to test order and go to through to the TY page.

    We tested the same integration on the old checkout and it does allow the test orders to go through…

Viewing 15 replies - 1 through 15 (of 30 total)
  • Plugin Author Clayton R

    (@mrclayton)

    Hi @metrotomas

    Thank you for contacting Payment Plugins. Can you provide some more details about the issue you’re having?

    however, it doesn’t allow us to test order and go to through to the TY page

    Please provide any error messages and screenshots of the issue.

    Are you able to share a product page url to your site?

    Kind Regards

    Thread Starter metrotomas

    (@metrotomas)

    Here’s the dev site: https://tirechainsrus.metro-studios.com/product/twist-link-passenger-vehicle-tire-chains/

    If you try to place an order via Google Pay, it doesn’t work. It’s currently just set up to be sandbox mode.

    • This reply was modified 7 months, 3 weeks ago by metrotomas.
    Thread Starter metrotomas

    (@metrotomas)

    I’ll mention as well that PayPal is not appearing but is enabled. You can see the space for it actually on the cart page.

    Plugin Author Clayton R

    (@mrclayton)

    Hi @metrotomas

    This is the error being returned by the WooCoommerce checkout API:

    {
    "code": "woocommerce_rest_checkout_process_payment_error",
    "message": "There was an error processing your payment. Reason: Cannot determine payment method.",
    "data": {
    "status": 400
    }
    }

    You have the following Javascript errors on your checkout page which I believe are interfering with how the checkout block functions:

    react-dom.min.js?ver=18.3.1.1:10 Error: Minified React error #310; visit https://reactjs.org/docs/error-decoder.html?invariant=310 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at yt (react-dom.min.js?ver=18.3.1.1:10:46272)
    at Ft (react-dom.min.js?ver=18.3.1.1:10:49220)
    at Object.Dt [as useEffect] (react-dom.min.js?ver=18.3.1.1:10:49482)
    at e.useEffect (react.min.js?ver=18.3.1.1:10:9561)
    at b (index.js:108:5)
    at ht (react-dom.min.js?ver=18.3.1.1:10:45677)
    at vr (react-dom.min.js?ver=18.3.1.1:10:56342)
    at Qs (react-dom.min.js?ver=18.3.1.1:10:121002)
    at wl (react-dom.min.js?ver=18.3.1.1:10:88341)
    at bl (react-dom.min.js?ver=18.3.1.1:10:88269)

    ApplePayRequest.js:110 Could not create PaymentRequestAbstraction. Please verify the provided options are valid.

    Those are not JS errors that originate from the Braintree plugin.

    PayPal isn’t loading because of the following PayPal JS SDK error:

    throw new Error("SDK Validation error: 'Expected client-id to be passed'" );

    You need to make sure you have connected your Sandbox PayPal account to your Braintree sandbox account or PayPal will not work.

    Kind Regards

    Thread Starter metrotomas

    (@metrotomas)

    We setup a test WordPress site on local using the twenty twenty five theme and only installed WooCommerce 10.2.2  and Braintree and it did not work with the new react block checkout. We’re still getting the same error, but if I convert it back to the classic WooCommerce checkout, it does let the test order go through.

    No special code or anything of ours is running. We just need to prove it is possible in the NEW WooCommerce checkout to run this.

    Plugin Author Clayton R

    (@mrclayton)

    Hi @metrotomas

    We’ll have some more testing performed and see if there is a conflict with the latest version of Woo and the checkout block. Woo is constantly making changes to the blocks so it’s possible there’s an issue.

    Please try an earlier version of Woo like version 10.1 and see if you observe the same issue.

    Kind Regards

    Thread Starter metrotomas

    (@metrotomas)

    We noticed it says “Braintree CC Gateway does not yet support this block.” I’m guessing this is why we’re having so many issues.

    Is there any timeline to fix this?

    Thread Starter metrotomas

    (@metrotomas)

    also changing back to 10.1 still gives the same error

    { "code": "woocommerce_rest_checkout_process_payment_error", "message": "There was an error processing your payment. Reason: Cannot determine payment method.", "data":{ "status": 400 } }

    Plugin Author Clayton R

    (@mrclayton)

    We noticed it says “Braintree CC Gateway does not yet support this block.” I’m guessing this is why we’re having so many issues.

    That is not the reason for the issue. That’s a quirk of the WooCommerce code that incorrectly detects support for the blocks.

    Our developers have found the cause of the issue and a fix will be released today. If you would like to test before release, please create a support ticket via the plugin’s support widget in the WordPress Admin dashboard.

    Thank you for bringing this issue to our attention.

    Kind Regards

    • This reply was modified 7 months, 3 weeks ago by Clayton R.
    Plugin Author Clayton R

    (@mrclayton)

    Version 3.2.77 released.

    Thread Starter metrotomas

    (@metrotomas)

    That fixed it! Now we’re having issues with apple pay. It shows up but says we have to register the domain in our briantree account.

    I think we just have to download the certificate that was generated by your plugin and upload in braintree, but Im not sure how to find that?

    Plugin Author Clayton R

    (@mrclayton)

    Hi @metrotomas

    On the Apple Pay Settings page of the Braintree plugin, you need to click the Add Domain Association File button. That will register the domain automatically for you and add the domain association file to your webserver root directory.

    https://docs.paymentplugins.com/wc-braintree/config/#/braintree_applepay?id=instructions

    You don’t need to download or add any certificates.

    Kind Regards

    Thread Starter metrotomas

    (@metrotomas)

    Hmm that’s why I am confused. If you attempt to test purchase, it says “Make sure you have registered your domain name in the Braintree Control Panel”

    Plugin Author Clayton R

    (@mrclayton)

    Hi @metrotomas

    Did you follow the documentation and click the Add Domain Association File button on the Apple Pay Settings page?

    When that button is clicked, the plugin attempts to register your domain in both production and sandbox. If you’re trying to test in sandbox mode there are a few things to consider:

    1. You must have your sandbox API keys configured in the Braintree plugin’s API Settings page.
    2. You must use an Apple Sandbox account if sandbox mode is enabled. Here are instructions. https://developer.apple.com/apple-pay/sandbox-testing/. The section Create a Sandbox Tester Account is the one that matters here. You don’t need to generate any certs etc because that’s done by the plugin when you click the Add Domain Association File button.

    If you aren’t signed into an Apple sandbox account, you will get the error Make sure you have registered your domain name in the Braintree Control Panel.

    Kind Regards

    Thread Starter metrotomas

    (@metrotomas)

    Do you have to be part of the Apple Developer Program to use apple pay then? It says we cannot go through the steps of creating a sandbox account without it.

    We may just test this in production if the sandbox account is the issue.

Viewing 15 replies - 1 through 15 (of 30 total)

The topic ‘Google Pay Issue’ is closed to new replies.