File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55// Using Composer-generated autoload file.
66require __DIR__ . '/../vendor/autoload.php ' ;
77// Or, uncomment the line below if you're not using Composer autoloader.
8- // require_once(__DIR__ . '/../lib/CybsSoapClient.php');
8+ //require_once(__DIR__ . '/../lib/CybsSoapClient.php');
99
1010
1111// Before using this example, you can use your own reference code for the transaction.
3535$ card = new stdClass ();
3636$ card ->accountNumber = '4111111111111111 ' ;
3737$ card ->expirationMonth = '12 ' ;
38- $ card ->expirationYear = '2020 ' ;
38+ $ card ->expirationYear = '2021 ' ;
3939$ request ->card = $ card ;
4040
4141$ purchaseTotals = new stdClass ();
Original file line number Diff line number Diff line change 55// Using Composer-generated autoload file.
66require __DIR__ . '/../vendor/autoload.php ' ;
77// Or, uncomment the line below if you're not using Composer autoloader.
8- // require_once(__DIR__ . '/../lib/CybsNameValuePairClient.php');
8+ //require_once(__DIR__ . '/../lib/CybsNameValuePairClient.php');
99
1010
1111// Before using this example, you can use your own reference code for the transaction.
2626$ request ['billTo_email ' ] = 'jsmith@example.com ' ;
2727$ request ['card_accountNumber ' ] = '4111111111111111 ' ;
2828$ request ['card_expirationMonth ' ] = '12 ' ;
29- $ request ['card_expirationYear ' ] = '2019 ' ;
29+ $ request ['card_expirationYear ' ] = '2021 ' ;
3030$ request ['purchaseTotals_currency ' ] = 'USD ' ;
3131$ request ['item_0_unitPrice ' ] = '12.34 ' ;
3232$ request ['item_1_unitPrice ' ] = '56.78 ' ;
Original file line number Diff line number Diff line change 3939$ card = new stdClass ();
4040$ card ->accountNumber = '4111111111111111 ' ;
4141$ card ->expirationMonth = '12 ' ;
42- $ card ->expirationYear = '2020 ' ;
42+ $ card ->expirationYear = '2021 ' ;
4343$ request ->card = $ card ;
4444
4545$ purchaseTotals = new stdClass ();
Original file line number Diff line number Diff line change 3434$ card = new stdClass ();
3535$ card ->accountNumber = '4111111111111111 ' ;
3636$ card ->expirationMonth = '12 ' ;
37- $ card ->expirationYear = '2020 ' ;
37+ $ card ->expirationYear = '2021 ' ;
3838$ card ->cardType ='001 ' ;
3939$ request ->card = $ card ;
4040
Original file line number Diff line number Diff line change 3535 <card >
3636 <accountNumber >4111111111111111</accountNumber >
3737 <expirationMonth >12</expirationMonth >
38- <expirationYear >2020 </expirationYear >
38+ <expirationYear >2021 </expirationYear >
3939 </card >
4040 <ccAuthService run =" true" >
4141 </ccAuthService >
You can’t perform that action at this time.
0 commit comments