Skip to content

Commit

Permalink
Update Demo/src/main/java/com/braintreepayments/demo/CardFragment.java
Browse files Browse the repository at this point in the history
Co-authored-by: sshropshire <[email protected]>
  • Loading branch information
sarahkoop and sshropshire authored Oct 18, 2023
1 parent 59d9083 commit a8a0d40
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ public void onPurchase(View v) {
card.setExpirationMonth(cardForm.getExpirationMonth());
card.setExpirationYear(cardForm.getExpirationYear());
card.setCvv(cardForm.getCvv());
card.setShouldValidate(
false); // TODO GQL currently only returns the bin if validate = false
// TODO: GQL currently only returns the bin if validate = false
card.setShouldValidate(false);
card.setPostalCode(cardForm.getPostalCode());

cardClient.tokenize(card, (cardNonce, tokenizeError) -> {
Expand Down

0 comments on commit a8a0d40

Please sign in to comment.