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
curl https://certtransaction.elementexpress.com \ | |
-H "Content-Type: text/xml; charset=UTF-8" \ | |
-X POST \ | |
-d \ | |
'<?xml version="1.0"?> | |
<CreditCardReturn xmlns="https://transaction.elementexpress.com"> | |
<Credentials> | |
<AccountID> as obtained in step 2</AccountID> | |
<AccountToken> as obtained in step 2</AccountToken> | |
<AcceptorID> as obtained in step 2</AcceptorID> |
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
<CreditCardReturnResponse xmlns='https://transaction.elementexpress.com'> | |
<Response> | |
<ExpressResponseCode>0</ExpressResponseCode> | |
<ExpressResponseMessage>Approved</ExpressResponseMessage> | |
<HostResponseCode>000</HostResponseCode> | |
<HostResponseMessage>AP</HostResponseMessage> | |
<ExpressTransactionDate>20151021</ExpressTransactionDate> | |
<ExpressTransactionTime>070404</ExpressTransactionTime> | |
<ExpressTransactionTimezone>UTC-05:00:00</ExpressTransactionTimezone> | |
<Batch> |
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
curl --tlsv1.2 https://www.testlitle.com/sandbox/communicator/online \ | |
-H "Content-Type: text/xml" \ | |
-d \ | |
'<litleOnlineRequest version="9.4" xmlns="http://www.litle.com/schema" merchantId="default"> | |
<authentication> | |
<user>MyTestStore</user> <!--substitute with your username --> | |
<password>MyPa$$word</password> <!--substitute with your password --> | |
</authentication> | |
<authorization id="auth-id" reportGroup="IQRptGrp" customerId="12345"> | |
<orderId>1</orderId> |
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
[ec2-user@ip-172-31-21-85 curl]$ . ./auth_litle_curl.sh | |
<litleOnlineResponse version='10.1' response='0' message='Valid Format' xmlns='http://www.litle.com/schema'> | |
<authorizationResponse id='auth-id' reportGroup='IQRptGrp' customerId='12345'> | |
<litleTxnId>771643925628630000</litleTxnId> | |
<orderId>1</orderId> | |
<response>000</response> | |
<responseTime>2015-11-22T08:14:53</responseTime> | |
<message>Approved</message> | |
<authCode>77673</authCode> | |
</authorizationResponse> |
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
[ec2-user@ip-172-31-21-85 curl]$ . ./auth_litle_curl.sh | |
<litleOnlineResponse version='10.1' response='0' message='Valid Format' xmlns='http://www.litle.com/schema'> | |
<authorizationResponse id='auth-id' reportGroup='IQRptGrp' customerId='12345'> | |
<litleTxnId>460269071422121110</litleTxnId> | |
<orderId>1</orderId> | |
<response>110</response> | |
<responseTime>2015-11-22T08:41:01</responseTime> | |
<message>Insufficient Funds</message> | |
</authorizationResponse> | |
</litleOnlineResponse> |
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
<?php | |
namespace litle\sdk; | |
?> | |
<html> | |
<head> | |
<title>Vantiv Demo</title> | |
</head> | |
<body> | |
<h2>Authorization Example</h2> | |
<?php |
OlderNewer