102 lines
3.3 KiB
Plaintext
102 lines
3.3 KiB
Plaintext
username: LIH2731
|
|
password: dinner87
|
|
Merchant ID Number: 273100555138
|
|
|
|
Key ID: 4223596
|
|
Key: 5P2eNmzWWd3QhtyW5G752eP7B2sPWwyW
|
|
|
|
action: process_fixed
|
|
|
|
order_description: <school_name> Order
|
|
currency: USD (CAD)
|
|
language: en
|
|
url_finish:
|
|
return_link:
|
|
return_method: redirect
|
|
merchant_receipt_email:
|
|
|
|
amount:
|
|
|
|
POST URL: https://secure.merchantservicegateway.com/cart/cart.php
|
|
|
|
|
|
TESTING
|
|
--------
|
|
Key ID: 3785894
|
|
username: demo
|
|
|
|
Visa: 4111111111111111
|
|
MasterCard: 5431111111111111
|
|
Credit Card Expiration: 10/25
|
|
|
|
|
|
To cause a declined message, pass an amount less than 1.00.
|
|
To trigger a fatal error message, pass an invalid card number.
|
|
To simulate an AVS match, pass 888 in the address1 field, 77777 for zip.
|
|
To simulate a CVV match, pass 999 in the cvv field.
|
|
|
|
<form action="https://secure.merchantservicegateway.com/cart/cart.php" method="POST">
|
|
<input type="hidden" name="key_id" value="4223596" />
|
|
<input type="hidden" name="action" value="process_fixed" />
|
|
<input type="hidden" name="amount" value="120.00" />
|
|
<input type="hidden" name="order_description" value="LKNYC Lunch Order" />
|
|
<input type="hidden" name="language" value="en" />
|
|
<input type="hidden" name="url_finish" value="https://lknyc.lunchinhand.net/admin/payment_thanks.php" />
|
|
<input type="hidden" name="customer_receipt" value="true" />
|
|
<input type="hidden" name="hash" value="action|amount|order_description|5c98ad2ae6d79331aeb5d8ccb6675dfe" />
|
|
<input type="submit" name="submit" value="Buy Now" />
|
|
</form>
|
|
|
|
|
|
|
|
RESPONSE MESSAGE:
|
|
|
|
Array
|
|
(
|
|
[type] => sale
|
|
[response] => 1
|
|
[responsetext] => SUCCESS
|
|
[authcode] => 123456
|
|
[avsresponse] => N
|
|
[transactionid] => 2366989979
|
|
[orderid] => 2366989979
|
|
[amount] => 1094.44
|
|
[cvvresponse] => M
|
|
[first_name] => Mark
|
|
[last_name] => Fester
|
|
[address_1] => 990 Balsam Street
|
|
[address_2] =>
|
|
[company] =>
|
|
[city] => White Rock
|
|
[state] => BC
|
|
[country] => CA
|
|
[phone] => (604)996-7181
|
|
[postal_code] => V4B 4J1
|
|
[email] => mark@hotlunches.net
|
|
[website] =>
|
|
[shipping_first_name] => Mark
|
|
[shipping_last_name] => Fester
|
|
[shipping_company] =>
|
|
[shipping_address_1] => 990 Balsam Street
|
|
[shipping_address_2] =>
|
|
[shipping_city] => White Rock
|
|
[shipping_state] => BC
|
|
[shipping_country] => CA
|
|
[shipping_postal_code] => V4B 4J1
|
|
[shipping_email] => mark@hotlunches.net
|
|
[ip_address] => 70.70.128.143
|
|
[merchant_defined_field_1] => 199175
|
|
[merchant_defined_field_2] => 1
|
|
[customer_receipt] => false
|
|
[key_id] => 4223596
|
|
[url_finish] => http://lknyc.lunchinhand.net/admin/thanks.php
|
|
[province] => NY
|
|
[action] => process_fixed
|
|
[order_description] => Lyceum Kennedy Lunch Payment
|
|
[shipping] => fixed|0.00
|
|
[hash] => type|response|responsetext|authcode|avsresponse|transactionid|orderid|amount|cvvresponse|first_name|last_name|address_1|address_2|company|city|state|country|phone|postal_code|email|website|shipping_first_name|shipping_last_name|shipping_company|shipping_address_1|shipping_address_2|shipping_city|shipping_state|shipping_country|shipping_postal_code|shipping_email|ip_address|merchant_defined_field_1|merchant_defined_field_2|customer_receipt|key_id|url_finish|province|action|order_description|shipping|submit|referrer_url|322712daf27996fe310dbb8ad5c17c3b
|
|
[submit] => Credit Card Payment
|
|
[referrer_url] => http://lknyc.lunchinhand.net/admin/
|
|
)
|
|
|