Skip to content

Commit 435abec

Browse files
authored
Merge pull request #27 from jaaufauvre/main
Fix "INVALID_PAN" error
2 parents 50eff62 + 707f267 commit 435abec

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

csharp/Acme.App.MastercardApi.Client.Tests/TokenizeApiTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ private static CardAccountDataInbound BuildCardAccountDataInbound() =>
111111
new CardAccountDataInbound(
112112
"5123456789012345",
113113
"09",
114-
"21",
114+
"25",
115115
"123");
116116

117117
private static BillingAddress BuildBillingAddress() =>

java/src/test/java/com/mastercard/developer/mdes_digital_enablement_client/api/TokenizeApiTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ private static CardAccountDataInbound buildCardAccountDataInbound() {
115115
return new CardAccountDataInbound()
116116
.accountNumber("5123456789012345")
117117
.securityCode("123")
118-
.expiryYear("21")
118+
.expiryYear("25")
119119
.expiryMonth("09");
120120
}
121121

nodejs/test/api/TokenizeApi.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ const forge = require("node-forge");
165165
cardAccountData: {
166166
accountNumber: "5123456789012345",
167167
expiryMonth: "09",
168-
expiryYear: "21",
168+
expiryYear: "25",
169169
securityCode: "123"
170170
},
171171
source: "ACCOUNT_ON_FILE"

php/test/Api/TokenizeApiTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ static function buildCardAccountDataInbound(): CardAccountDataInbound
203203
$data = [
204204
'account_number' => '5123456789012345',
205205
'security_code' => '123',
206-
'expiry_year' => '21',
206+
'expiry_year' => '25',
207207
'expiry_month' => '09'
208208
];
209209
return new CardAccountDataInbound($data);

python/test-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
pytest~=4.6.7 # needed for python 2.7+3.4
22
pytest-cov>=2.8.1
33
pytest-randomly==1.2.3 # needed for python 2.7+3.4
4-
mastercard-oauth1-signer >= 1.1.3
4+
mastercard-oauth1-signer >= 1.4.0
55
mastercard-client-encryption >= 1.1.2

python/test/test_tokenize_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def create_body(self):
7575
"cardAccountData": {
7676
"accountNumber": "5123456789012345",
7777
"expiryMonth": "09",
78-
"expiryYear": "21",
78+
"expiryYear": "25",
7979
"securityCode": "123"
8080
},
8181
"source": "ACCOUNT_ON_FILE"

ruby/spec/api/tokenize_api_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def create_req
6363
cardAccountData: {
6464
accountNumber: "5123456789012345",
6565
expiryMonth: "09",
66-
expiryYear: "21",
66+
expiryYear: "25",
6767
securityCode: "123"
6868
},
6969
source: "ACCOUNT_ON_FILE"

0 commit comments

Comments
 (0)