Skip to content

Commit

Permalink
fix: Payment by Braintree
Browse files Browse the repository at this point in the history
  • Loading branch information
acasazza committed Dec 16, 2021
1 parent 03f88f9 commit 6dc171e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/BraintreePayment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,13 @@ const BraintreePayment: FunctionComponent<BraintreePaymentProps> = ({
paymentSourceId: paymentSource.id,
paymentResource: 'braintree_payments',
attributes: {
paymentMethodNonce: response.nonce,
payment_method_nonce: response.nonce,
options: {
id: response.nonce,
card: {
last4: response.details.lastFour,
expYear: response.details.expirationYear,
expMonth: response.details.expirationMonth,
exp_year: response.details.expirationYear,
exp_month: response.details.expirationMonth,
brand: response.details.cardType.toLowerCase(),
},
},
Expand Down

0 comments on commit 6dc171e

Please sign in to comment.