Skip to content

Commit 0240a99

Browse files
authored
Merge pull request #51 from Dringho/main
fix service code for amex
2 parents b944345 + 80a9eca commit 0240a99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python_sdk_example/cvv-csc/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def validate_amex_cvv2(key, pan, expiryDate, cvv):
2424
response = dataplane_client.verify_card_validation_data(
2525
KeyIdentifier=key,
2626
PrimaryAccountNumber=pan,
27-
VerificationAttributes={"AmexCardSecurityCodeVersion2" : {"CardExpiryDate":expiryDate, "ServiceCode":"999"}},
27+
VerificationAttributes={"AmexCardSecurityCodeVersion2" : {"CardExpiryDate":expiryDate, "ServiceCode":"000"}},
2828
ValidationData=cvv
2929
)
3030
print("CVV %s is correct" % cvv)

0 commit comments

Comments
 (0)