@mazidkhan,
First error is:
Google Pay is not enabled for this merchant. Please enable Google Pay within your Braintree control panel. That one is self explanatory.
Second issue is you have a JS error on your checkout page:
Uncaught TypeError: Cannot read property 'toFixed' of undefined
at (index):739
Kind Regards,
so if i solve Uncaught TypeError: Cannot read property ‘toFixed’ of undefined
at (index):739 this error apple pay work fine ?
still i got error There was an error processing your payment. Reason: Customer does not have any credit cards. when i use apple pay also i got error in console
wc-braintree.min.js?ver=3.1.10:1 Uncaught TypeError: Cannot read property ‘show’ of undefined
at ApplePay.wc_braintree.CheckoutGateway.payment_gateway_changed (wc-braintree.min.js?ver=3.1.10:1)
at ApplePay.wc_braintree.CheckoutGateway.checkout_error (wc-braintree.min.js?ver=3.1.10:1)
at HTMLBodyElement.dispatch (jquery.js?ver=1.12.4-wp:3)
at HTMLBodyElement.r.handle (jquery.js?ver=1.12.4-wp:3)
at Object.trigger (jquery.js?ver=1.12.4-wp:3)
at Object.a.event.trigger (jquery-migrate.min.js?ver=1.4.1:2)
at HTMLBodyElement.<anonymous> (jquery.js?ver=1.12.4-wp:3)
at Function.each (jquery.js?ver=1.12.4-wp:2)
at a.fn.init.each (jquery.js?ver=1.12.4-wp:2)
at a.fn.init.trigger (jquery.js?ver=1.12.4-wp:3)
which is i think in braintree
all the issues are solved but i am getting one issue while making payments Apple pay is not enabled for this merchant and gpay same how to enable that
-
This reply was modified 5 years, 12 months ago by
mazidkhan.
@mazidkhan,
On every page of the plugin, there is a link to our documentation. It walks you through the GPay signup process.
GPay Docs
@mrclayton when i try to pay through the gpay you can see in above link it says ‘This merchant is not enabled for Google Pay.’ how to enable the merchant please help
@mazidkhan,
In my previous reply I provided a link to our step by step configuration guide.
https://docs.paymentplugins.com/wc-braintree/config/#/braintree_googlepay
Follow those directions to setup Google Pay. If you have already completed the steps and have been issued a merchant ID then make sure you entered your domain correctly in the GPay Console.
Merchants often times enter “www” for the domain when that qualifier isn’t needed.