_

WorldPay Sample Code
Following you will find some sample HTML and other code which can be used to send transactions from your website to WorldPay.

Quicksale Credit Card HTML Post Form
The simplest method for integrating with our gateway is by collecting consumer data via an HTML form and submitting the transaction to the gateway via an HTTPS Post. This form shows you all of the data fields that can be collected for a credit card transaction. This form is also a good starting point if you are going to use one of the other integration methods because it demonstrates the data fields that will be required regardless of the method used to connect to the gateway. Use this test form to familiarize yourself with the WorldPay gateway, then implement the integration that best fits your application.
Note: Hosting your own payment form requires that you install an SSL certificate on your server to ensure that card data transmissions are secure.
Quicksale ACH HTML Post Form
This is a sample form that demonstrates how to submit an Electronic Check (ACH) transaction to the payment gateway. ACH transactions are almost identical to credit card transactions, except an ABA account number and Routing Number are submitted rather than a credit card number and expiration date. An image of a check is displayed to help consumers locate the account number and routing number for their accounts. We recommend incorporating this (or a similar) image on your pages to minimize data entry errors.
QuickSale Form for Recurring Payments
The WorldPay payment gateway supports processing of automated (scheduled) recurring payments. Setting up a new recurring payment requires just a few fields (in addition to the standard consumer payment information). Once the transaction information is sent to WorldPay, the system will automatically take care of all future payments based on start date, end date and payment period (e.g. weekly, monthly, twice-yearly, etc.). This sample HTML form demonstrates how to submit a transaction to the payment gateway that will be automatically billed for the amount and frequency you specify.
Sample Web Cart Shopping Cart and Online Store

Web Cart Modes There are two different Web Cart shopping cart modes that you can use. In the shopping cart only mode, you host your own product catalog on your web site and we handle the checkout and payment options. If you enable the Catalog option, we'll host your Online Store including product catalog which you can link to from your web site using a "Click here to view our Online Store" link. Which mode you select is up to you --- there are no additional fees to enable the catalog. And you can easily switch between the two modes to decide which one best suits your situation.

  • Shopping Cart Demo - View our Shopping Cart Demo to see an example of how the shopping cart can be integrated into your existing web site.
     
  • Online Store Demo - View our Online Store Demo to see an example of the same store but this time with the Online Store with product catalog mode enabled.
     
Sample Web Link Hosted Shopping Cart option
The WorldPay payment gateway offers a simple hosted shopping cart solution that can be incorporated into an existing web site. This option is still available, but we recommend using the newer and more capable Web Cart service described above. This sample page shows several ways of displaying a "Buy It" link on your web site. Clicking on any of the payment buttons will transfer you to our secure check-out screen to complete the check-out and payment steps. To configure your tax and shipping criteria, use the Tax and Shipping Manager sections within Online Merchant Center under the Merchant Configuration Menu. For detailed instructions, refer to the Online Commerce Suite Integration Guide.

Click here to use our Web Link Wizard to automatically generate the HTML for your order form.