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

Update to latest version of Braintree JS Client #839

Merged
merged 1 commit into from
Jul 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/recurly/paypal/strategy/braintree.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { PayPalStrategy } from './index';

const debug = require('debug')('recurly:paypal:strategy:braintree');

export const BRAINTREE_CLIENT_VERSION = '3.76.0';
export const BRAINTREE_CLIENT_VERSION = '3.96.0';

/**
* Braintree-specific PayPal handler
Expand Down
4 changes: 2 additions & 2 deletions lib/recurly/venmo/strategy/braintree.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import after from '../../../util/after';
import { VenmoStrategy } from './index';
import { normalize } from '../../../util/normalize';

export const BRAINTREE_CLIENT_VERSION = '3.76.0';
export const BRAINTREE_CLIENT_VERSION = '3.96.0';

const debug = require('debug')('recurly:paypal:strategy:braintree');

Expand Down Expand Up @@ -85,7 +85,7 @@ export class BraintreeStrategy extends VenmoStrategy {
const nameData = normalize(this.form, ['first_name', 'last_name']);
this.recurly.request.post({
route: '/venmo/token',
data: { type: 'braintree', payload: { ...payload, ...nameData } },
data: { type: 'braintree', payload: { ...payload, values: nameData.values } },
done: (error, token) => {
if (error) return this.error('venmo-braintree-tokenize-recurly-error', { cause: error });
this.emit('token', token);
Expand Down
Loading