Home > PHP Version Help > Payment Processors > Optimal Payments

Optimal Payments and Ecommerce Templates
Once you have created your account with Optimal Payments the first thing you will need to do is download the file optimalphp.zip from our downloads page. The zip file contains two files, customppsend.php and customppreturn.php. These contain all the information you need for the Optimal Payments Dynamic Link integration for the ecommerce templates. Unzip the download and place the two files in your vsadmin/inc/ folder, overwriting the existing files - agree to overwrite if prompted.
Make sure you have uploaded these two files to your server and open your ecommerce template admin payment providers page. Locate the payment provider listed as "Custom" and click on the Modify button. Fill in the details as shown below:

In the box Data1 you will need to place your Optimal Payments Account Number and in Data2 the merchantId that was sent to you.
IMPORTANT NOTE
For the dynamic link method there are no variables passed
back to the store. This means that no email will be sent out
on purchase so you will need to check your orders admin page to see if there
has been an order at your store. Orders will always been shown with an authorize
button rather than an authorize code. The authorize code can be viewed in your
Optimal Payments admin section - make sure that the order has been
successful before shipping.
Please do read our guide here on credit card fraud.
That's all there is to it really - any comments on the set up can be posted on our Support Forum.
