Lateral Payment Solutions HPS LPS Payment Gateway (HPS) Magento Payment Gateway allows you to accept payment on your Magento connect. LPS Payments supports Credit & Debit Cards on VISA & MASTERCARD card schemes. LPS also supports 3dsecure for enhanced transaction authentication. Installation Go to System->Configuration->payment methods->lps HPS payment gateway Features: Credit Cards Debit Cards VISA, MASTERCARD 3dSecure MultiCurrency LPS Account setup process here In order to setup an LPS merchant processing account, the following details needs to be filled in and submitted to LPS. The following information is required: Username & Password Username: Password: The username and password used for authentication on the return post from the LPS server to the merchant server IP address of server The IP address of the merchant web server needs to be provided. Please notify LPS before changing your IP address. Posting Domain & Page The full url of the page (including the domain) which will post details to LPS HPS system. Please notify LPS before changing your posting page. Technical Contact Technical contacts details. Currencies Required Processing Currency Details Website URL of the website (will be shown on customer email receipt)
Secret Key The secret key is used for hashing important transaction fields due to inherent risks of "man in the middle" attacks. Please specify strong secret key. Do not use any special characters. Process URL URL on merchant website to which the result of the authorisation will be posted*** *** Customer will be redirected along with this post back to merchant site. The fields that are returned and its associated values are explained in next section "Post Fields". Cancel URL URL on merchant website to which the customer must be returned when customer opts out of the payment process (by clicking the cancel button***) *** The fields that are returned and its associated values are explained in next section. Notify URL URL on merchant server to which the transaction status should be notified as soon as transaction is completed ***. This is independent of customer redirection and happens server to server synchronously. *** The fields that are returned and its associated values are explained in next section. Company Name Merchant Company Name (will be shown on customer email receipt) Email address for Sending Email receipts Please provide the "send from" e-mail address for e-mails sent to customers for purchase recept Email Address for Receipt of Email receipts The merchant is BCC'd on all receipts sent to customers. Please provide an e-mail address for these mails to be sent to. Email Address for Reporting System login username Please provide list of user's email addresses who'll need access to the LPS Reporting System. The passwords will be sent directly to the specified email addresses. Email Address for Billing System login username Please provide list of user's email addresses who'll need access to the LPS Billing System to download statements. The passwords will be sent directly to the specified email addresses.
POST FIELDS: The following response fields are returned back on both the "Process URL" and "Cancel URL" along with customer redirection. The same set of fields is also sent as a callback notification to "Notify URL". Merchant_User_Id Merchant_ref_number Lpsid Lpspwd Transactionid Requestid bill_firstname bill_lastname Purchase_summary currencydesc amount CardBin CardLast4 CardType merchant_ipaddress TransDateTime CVN_Result AVS_Result Status CardToken LPS Response codes validation: The "Status" parameter holds the key to identifying the transaction status and it can carry the following values and the corresponding description of each code is also provided. 00-Transaction Approved 05-Transaction Rejected 90-Communication Failure *** 92-Customer cancelled before payment
If you have any queries get in touch: (info@lateralpaymentsolutions.com) Handling responses Merchants must rely on call back to "notify URL" as the valid transaction response and check the status of "Status" parameter and update the order accordingly. As the customer redirection to "Process URL" also carries the same response, the merchant can use it to cross check the notification and redirection response. A sample code to hook up callback function to handle post parameter is included as part of plugin code (please check sample code: ) Test Account Details We will be providing test account details. contact(info@lateralpaymentsolutions.com) Screenshots: screenshot-1.jpg screenshot-2.jpg Process&cancel url: Create page template below path (yourdomain) or magento/app/design/frontend/base/default/template/page/failed.phtml Select your cancel url and process url page <?php $Status = $_POST["Status"]; $Transactionid = $_POST["Transactionid"]; $id = $Merchant_ref_number = $_POST["Merchant_ref_number"]; if((int)$id>0){ if($status == 00) { echo "Transactionid: ".$Transactionid; echo "<br/>"; echo "Requestid: ".$Requestid; echo "<br/>";
else if($status == 05) { echo "LPS GATEWAY REJECTED"; Notification url: Create page template below path (yourdomain) or magento/app/design/frontend/base/default/template/page/notification.phtml Select your notification url page, this template. <?php $Status = $_POST["Status"]; $Transactionid = $_POST["Transactionid"]; $order_id = $Merchant_ref_number = $_POST["Merchant_ref_number"]; $Merchant_User_Id = $_POST["Merchant_User_Id"]; $bill_lastname = $_POST["bill_lastname"]; $Purchase_summary = $_POST["Purchase_summary"]; $CardBin = $_POST["CardBin"]; $TransDateTime = $_POST["TransDateTime"]; if((int)$order_id>0){ if($status=='00') { echo "Received Ok"; else{ echo "Received Failed";?>