Skip to content

Commit

Permalink
Add gateway suggested field to braintree 3ds flow
Browse files Browse the repository at this point in the history
remove unnecessary debugger statement

Add challengeRequested key to test
  • Loading branch information
isaacvance1027 authored and smagdicatrecurly committed Apr 29, 2022
1 parent 9e86d8d commit 93f1d25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/recurly/risk/three-d-secure/strategy/braintree.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export default class BraintreeStrategy extends ThreeDSecureStrategy {
amount: amount,
nonce: nonce,
bin: bin,
challengeRequested: true,
onLookupComplete: (data, next) => {
next();
}
Expand Down
1 change: 1 addition & 0 deletions test/unit/risk/three-d-secure/strategy/braintree.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ describe('BraintreeStrategy', function () {
amount: 50,
nonce: "test-braintree-nonce",
bin: "test-braintree-bin",
challengeRequested: true,
onLookupComplete: sinon.match.func
}));

Expand Down

0 comments on commit 93f1d25

Please sign in to comment.