Created
November 24, 2011 17:55
-
-
Save YutaWatanabe/1391921 to your computer and use it in GitHub Desktop.
Array exemplo da operação SALE
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
// Array exemplo da operação SALE | |
$sale = array( | |
"verification" => array( | |
"merchantId" => "100", | |
"merchantKey" => "NotAValidKey21g8u6gh6szw1", | |
), | |
"order" => array( | |
"sale" => array( | |
"referenceNum" => "123456789", | |
"ipAddress" => "123.123.123.123", | |
"transactionDetail" => array( | |
"payType" => array( | |
"creditCard" => array( | |
"number" => "4111********1111", | |
"expMonth" => "12", | |
"expYear" => "2020", | |
"cvvInd" => "", | |
"cvvNumber" => "***", | |
"eCommInd" => "eci" | |
) | |
) | |
), | |
"payment" => array( | |
"chargeTotal" => "10.00", | |
"creditInstallment" => array( | |
"numberOfInstallments" => "1", | |
"chargeInterest" => "N" | |
) | |
) | |
) | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment