Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Google Pay through Braintree #894

Merged
merged 2 commits into from
Sep 4, 2024
Merged

Conversation

cbarton
Copy link
Member

@cbarton cbarton commented Aug 23, 2024

Best viewed without whitespace

To use Google Pay through Braintree, ensure that you have enabled
Google Pay on a Braintree gateway in the Recurly Admin UI and on your
Braintree account.

Then, initialize recurly.GooglePay(...) with the
braintree.clientAuthorization option:

const googlePay = recurly.GooglePay({
  ...options,
  gatewayCode: '<Recurly Braintree gateway code>',
  braintree: {
    clientAuthorization: '<Braintree client authorization key>',
  },
})

To use Google Pay through Braintree, ensure that you have enabled
Google Pay on a Braintree gateway in the Recurly Admin UI and on your
Braintree account.

Then, initialize `recurly.GooglePay(...)` with the
`braintree.clientAuthorization` option:

```js
const googlePay = recurly.GooglePay({
  ...options,
  gatewayCode: '<Recurly Braintree gateway code>',
  braintree: {
    clientAuthorization: '<Braintree client authorization key>',
  },
})
```
@cbarton cbarton force-pushed the google-pay-braintree branch from 75deaa8 to ebc0429 Compare August 26, 2024 22:19
@chrissrogers chrissrogers merged commit e65823f into master Sep 4, 2024
49 of 50 checks passed
@chrissrogers chrissrogers deleted the google-pay-braintree branch September 4, 2024 21:30
recurly-integrations pushed a commit that referenced this pull request Sep 18, 2024
[Full Changelog](v4.29.4...v4.30.0)

**Merged Pull Requests**

- Adds Checkout session token fixture [#897](#897) ([chrissrogers](https://github.com/chrissrogers))
- feat: Add Google Pay through Braintree [#894](#894) ([cbarton](https://github.com/cbarton))

##### Minified MD5 Checksum
```
14f2a7293b8ae5db7c824e86d037e6a6 ./build/recurly.min.js
```
##### [SRI Hash](https://www.srihash.org/)
```
cWW1ulxWFHkKw+AEwbqsGWs0A1xYv5U4tobdlYnnQ566XtP15A/kM7EJyQ+2aP6D
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants