Authorize.Net prides itself on our flexible APIs and the many ways in which they can be used to create your own payment system. From time to time, we like to invite guest bloggers to talk about their real-world solutions. This way, you can see working examples of the many ways that our solutions can be implemented. We hope these perspectives will help you as you determine how best to approach designing your own solutions and applications.
Today’s post is by PrestaShop, a leading open-source e-commerce solution powering more than 115,000 stores worldwide. PrestaShop uses Authorize.Net’s Advanced Integration Method (AIM) to ensure easy online selling and is the winner of the Packt Publishing 2010 and 2011 award for Best Open-source Business Application. Whether you decide to create your own solution or to use a ready-to-go offering like PrestaShop, we hope this post will provide some good information and stimulate some ideas.
Hi everyone, my name is Bryan Shaw, and I work in the communications department at PrestaShop. Today I want to briefly share with you sample code for how PrestaShop integrates with Authorize.Net.
In order for PrestaShop’s free Authorize.Net module to be successful, developers had to utilize the Advanced Integration Method (AIM).
AIM is best described as a customizable payment processing solution that gives merchants control over all steps in processing transactions online.
AIM transactions are secured through a 128-bit Secure Sockets Layer (SSL) connection between any PrestaShop store and the Authorize.Net Payment Gateway. This level of security ensures all sensitive information is transferred and stored safely, securely andin accordance with the Payment Card Industry’s (PCI) Data Security Standard.
In order to integrate the Authorize.Net Payment Gateway to the PrestaShop store, our developers had to natively rewrite the source code.
The following is a sample of the code necessary to execute Authorize.Net’s basic payment processing solutions via PrestaShop:
'Payment with Authorize.net', $message, NULL, NULL, false, $customer->secure_key);
Note: This is a non-working code provided to offer a conceptualized example of how to execute basic payment processing solutions using Authorize.Net’s AIM module in your PrestaShop store.
The source code provided above also employs basic security features such as Card Code Verification (CCV), Address Verification, as well as ‘hold for review’ options.
The CCV filter simply allows merchants to compare the card code submitted with the card code on file with the bank. If necessary, the merchant can choose to hold a payment for review for security reasons.
The Address Verification Service (AVS) Filter allows merchants to verify a customer’s billing address with the billing address on file with the bank. Again, this filter grants merchants the option to hold payment processing should security concerns arise.
The most recent version of the free Authorize.Net module is available with PrestaShop’s newest v1.4.8 software, now available for download.