-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed readme and added fix for backward compability when M_INFO is not
filled
- Loading branch information
Showing
3 changed files
with
16 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,10 +76,14 @@ $saleRequest = (new SaleRequest()) | |
->setTerminalID('<TID - V*******>') | ||
->setMerchantId('<MID - 15 chars>') | ||
->setPrivateKey('\<path to certificate.key>', '<password / or use method from bottom>') | ||
->setMInfo(array( | ||
'email'=>'[email protected]', | ||
'cardholderName'=>'Ivan Ivanov', | ||
'mobilePhone'=>'359888123456' | ||
->setMInfo(array( // Mandatory cardholderName and ( email or MobilePhone ) | ||
'email'=>'[email protected]', | ||
'cardholderName'=>'CARDHOLDER NAME', // Max 45 chars | ||
'mobilePhone'=> array( | ||
'cc'=>'359', // Country code | ||
'subscriber'=>'8939999888', // Subscriber number | ||
), | ||
'threeDSRequestorChallengeInd'=>'04', // Optional for Additional Authentication | ||
)) | ||
//->setSigningSchemaMacGeneral(); // use MAC_GENERAL | ||
//->setSigningSchemaMacExtended(); // use MAC_EXTENDED | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters