Skip to content

Commit

Permalink
fix(payments): CHECKOUT-5324 Send hosted form nonce when paying with …
Browse files Browse the repository at this point in the history
…stored payment instrument
  • Loading branch information
davidchin committed Feb 11, 2021
1 parent 92561bb commit 7c2c257
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/payment/v1/payment-mappers/payment-mapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ export default class PaymentMapper {
verification_value: payment.ccCvv,
verification_nonce: payment.nonce,
three_d_secure: payment.threeDSecure,
hosted_form_nonce: payment.hostedFormNonce,
});
}

Expand Down
1 change: 1 addition & 0 deletions test/payment/v1/payment-mappers/payment-mapper.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ describe('PaymentMapper', () => {
verification_value: data.payment.ccCvv,
credit_card_number_confirmation: data.payment.ccNumber,
three_d_secure: data.payment.three_d_secure,
hosted_form_nonce: data.payment.hostedFormNonce,
},
}),
);
Expand Down

0 comments on commit 7c2c257

Please sign in to comment.