Incorporating a payment page
In order to use the Optimal Payments Secure Payment Page, all you have to do is include a payment page in your own Web site that links to the Optimal Payments payment server. For example, when your customer "checks out", your payment page would open, and when they click the "Pay Now" button or link, they would be transparently taken to the Optimal Payments page.

You can configure your payment page to your requirements, but you must include two elements:
  • Parameters to send to Optimal Payments
  • URL to which these parameters are sent


PARAMETER DESCRIPTION REQUIRED / OPTIONAL
ACCOUNTID This is your Merchant Account number with Optimal Payments. Required
AMOUNT This is the amount of the customer's purchase. Include decimal points in this value. For example, 10 dollars would be "10.00". NOTE: If the Amount value is provided, the customer will not be able to modify the payment amount in the resulting payment page. Otherwise, the customer will be able to modify the payment amount field in the resulting payment page. Optional
CURRENCY This is the currency code. It must be the same currency as that of the Merchant Account used. Possible values are: CAD / EUR / GBP / USD Required
ERRORURL This is the URL and path to the page you want to display to the customer if an error occurs. NOTE: If this parameter is not provided and an error occurs, Optimal Payments will display a generic error page to the customer. Optional
INVNUMBER This is your invoice number. Optional
MERCHANTID This is the Optimal Payments merchant store ID. Required
SUCCESSURL This is the URL and path to the page you want to display to the customer when the transaction is processed successfully. This page will be displayed to the customer after they leave the Secure Payment Page confirmation page. NOTE: If this parameter is not provided, no page is displayed after the confirmation page. Optional