Reputation: 1826
I'm just getting started with Google Pay API and I planned to use Braintree as the gateway. According to the Google Pay API Doc here, we have to specify the sdkversion
number of braintree.client.VERSION
:
"gateway": "braintree"
"braintree:apiVersion": "v1"
"braintree:sdkVersion": "braintree.client.VERSION"
"braintree:merchantId": "YOUR_BRAINTREE_MERCHANT_ID"
"braintree:clientKey": "YOUR_BRAINTREE_TOKENIZATION_KEY"
My questions:
braintree.client
and what would be the syntax to specify the version number? According to the Braintree's doc here, there are so many version numbers and seems like 3.40.0
is the latest. Shall we put braintree.client.3.40.0
?braintree:apiVersion
on the other hand?braintree.clientKey
, it should be the Braintree SDK Credential that I've generated with PayPal, am I right?It's kind of confusing, hope someone can shed me some light, thanks!
Upvotes: 0
Views: 1286
Reputation: 111
Firstly, signup for the Braintree Sandbox:
https://www.braintreepayments.com/sandbox
Configure Google Pay on the Braintree Sandbox account,
https://developers.braintreepayments.com/guides/google-pay/configuration/javascript/v3
Get the JavaScript SDK See the client SDK setup guide for JavaScript v3.
Use Drop-In type of integration which is easy one.
Then, go onto Server Side integration,
https://developers.braintreepayments.com/guides/google-pay/server-side/node
To obtain a tokenization key, follow these steps:
To find your merchant ID:
Your merchant ID can also be found when logged into your Control Panel, as the string of letters and numbers following /merchants/ in the URL.
Note: You cannot use PayPal Merchant Id here in the Braintree integration.
Upvotes: 1