We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 933085b commit 9d83c0dCopy full SHA for 9d83c0d
PaymentTransactions/charge-tokenized-credit-card.js
@@ -13,6 +13,8 @@ function chargeTokenizedCreditCard(callback) {
13
var creditCard = new ApiContracts.CreditCardType();
14
creditCard.setCardNumber('4242424242424242');
15
creditCard.setExpirationDate('0822');
16
+ // Set the token specific info
17
+ creditCard.setIsPaymentToken(true);
18
creditCard.setCryptogram('EjRWeJASNFZ4kBI0VniQEjRWeJA=');
19
20
var paymentType = new ApiContracts.PaymentType();
@@ -183,4 +185,4 @@ if (require.main === module) {
183
185
});
184
186
}
187
-module.exports.chargeTokenizedCreditCard = chargeTokenizedCreditCard;
188
+module.exports.chargeTokenizedCreditCard = chargeTokenizedCreditCard;
0 commit comments