Posting to a secure generic form on our serverThis method offers several advantages over other methods. It relieves you of the need to create the receipts and does not require an SSL server for you or your client as the credit card information will all be collected once the visitor is on our secure server. As our CGI will be generating the receipts we do need a certain amount of information to be passed to the form, such as subtotal, taxes, the name, quantity and the price of each product ordered. The order number is automatically generated by the CGI based on epoch time. Getting StartedFirst and foremost, in order to begin processing payments using any of our methods you must have an Internet merchant bank account and a payment processing account with us. If you are unsure that you have these, or if you need them set up, please contact our sales department at 1-604-684-5671. If you intend to accept payment in both Canadian and US dollars, you must use separate merchant accounts and payment forms for each currency. Once you have been assigned a merchant ID and password for the payment processing account we can begin configuring the payment form to process your payments. Our sales department will contact you to determine the exact parameters you will be using to communicate between your server and the payment system. You can save time by determining these parameters in advance. The structure of the configuration requires the following: Merchant InformationThis is the company name/address information for receipts and for display to the customer when using the payment form and the confirmation screen. The plain text and formatted addresses can be sent to our sales department in an email message to eliminate errors in entering the information.
Payment MethodsAlthough this is determined when setting up your payment account, you still need to show your customers which payment methods are available on the payment form. Our sales department needs to know each specific payment method you will be accepting using the payment form. The current payment methods are:
Please note: you cannot use a payment method for which you are not authorized in your payment account configuration (ie; you can't process Discover Card transactions without being authorized by your bank). For more information on processing various card brands, please contact our sales department. Design InformationThis is the look and feel of the payment page. These items allow you to completely customize the look of the payment page so that its design matches the design of your site. It is also where you specify what information is being collected from the customer on the payment form and what information will be passed to the payment form from your site. It consists of:
We wrap the page header HTML and page footer HTML around the actual payment form. The background of the payment form takes on the background specification in the header. The best way to convey the design you want to us is to do an HTML mockup page of the payment form in the style of your site and send it to us. Any graphics or style sheets used in the page should be referenced by URLs pointing to files on our server under a directory called images/[yourstorename]/. For example, if your storename is sp123, the logo on your page would be referred to in the page as "images/sp123/logo.jpg" instead of just "/images/logo.jpg". Customer Address InformationThese items determine what fields will be shown on the payment form for data collection. They are:
Receipt ParametersThis describes the link displayed on the receipt which will take the user back to your site and information to be sent back to you. The parameters are:
Background Post InformationAfter payment has been processed, the customer is displayed the receipt and an optional link to return to your site. There is an additional option that posts payment information to a CGI script on your server in the background (a "backpost") while displaying the receipt to the customer. This is extremely useful to developers who want to program an automatic order fulfillment or payment reconciliation system. These parameters tell the payment system how to communicate with that CGI script:
The last two parameters tell the payment server what to do with the response that comes back from the background post CGI. The communication is a two-way process. Once the payment system posts it's information to your background post CGI, your script can process it however it wants and can reply with text that can be included in the receipts. This could be used for information like giving the customer an estimated date of delivery, putting special handling instructions in the merchant receipt, etc... Note: If you anticipate using seperate development environment, please submit the data for both live and test environment from the start. Please identify each environment clearly (TEST or PRODUCTION). After development period is over, TEST environment data will be removed from our system. Configuring Your ApplicationNow that the payment system is configured to begin accepting information from your server and processing your customers payments, it's time to configure your application to pass the appropriate processing parameters. The basis for all processing is the URL for the payment script, which is: https://www.strategicprofitsinc.com/generic_form/payment_form.php NOTE! The URL must begin with HTTPS. This initiates a Secure Socket Layer (SSL) connection between the payment form and your customer, protecting your customer's information from being intercepted. If you send the customer to the page without using HTTPS, the customer will not be presented with the payment form, but will instead be presented with a security warning message. Getting Your Customer to the Payment FormTo get your customer to the payment script and begin payment processing, you must present your customer with a way to get to our payment form from your site. This can be accomplished by:
Required ParametersThe minimum required parameters (fields) that you must pass to the payment system for processing a transaction are:
The products list can be thought of a continuous stream of records with each record separated by the characters "||". Each field in the record is separated by the characters "::". The product record fields are:
Example products list: Left-Handed Catchers Mitt::120.00::1||Softball::7.99::5 Note that the extended price (price times quantity) is not included in the record. The extended price is automatically calculated by the payment system for display on the receipt. Optional ParametersIf you choose to send the billing address and shipping address information to the payment system, you must use the following field names to denote the parameters
Beyond the required and optional parameters, you may send any parameters to the payment system that you want and have them returned to you through the background post CGI and receipt. Return ValuesBesides the values you send to the payment system and the values that are collected on the payment system, one more variable is sent back to you. The variable "status" returns the final status of the credit card transaction. The possible values returned in this variable are:
Unavailable ValuesThe following values are never made available to merchants or customers under any circumstances:
|