WorldPay Hosted

The WorldPay Hosted add-on for Shopp uses the WorldPay payment system to process payments. WorldPay processes millions of payments everyday for businesses all over the world safely, securely and very fast. The WorldPay Hosted add-on for Shopp uses an offsite payment page hosted by WorldPay.

Getting Started

You will need a WorldPay account before you can use the WorldPay Hosted add-on for Shopp.

WorldPay Account Setup

To setup a new account, call WorldPay at 1-866-505-5965.

Installation

  • Uncompress the add-on files
  • Upload the folder (directory) and all its contents to your Shopp add-ons folder (directory) under: .../wp-content/shopp-addons

Settings

To setup Shopp to use WorldPay Hosted, login to your website’s WordPress admin and navigate to ShoppSetupPayments.

  • Payment Gateway
    Select WorldPay Hosted from the Payment Gateway menu and click the Add Payment Option button.
  • Option Name
    Enter a custom label for the payment option as you would like it to appear on your store front (such as * WorldPay Payment)

  • WorldPay Installation ID
    Enter the WorldPay installation ID you received from WorldPay.

  • Copy this URL into your WorldPay account settings to receive payment responses
    Login to your WorldPay account settings and copy the return URL from your Shopp install’s WorldPay settings to your WorldPay account settings. Enable the ‘Payment Response enabled?’ checkbox.
  • Enable Test Mode.
    By toggling on this setting, you will be able to run test transactions using WorldPay Hosted without any money changing hands or accounts being debited. This will allow you to test that your setup is working correctly before going live. Test transactions will appear in your Shopp order management screen as a regular order. You may simply disregard or delete any test orders you create. Note that your WorldPay account will start in test mode automatically before your account is allowed to go live.
  • Hide the customer contact details (on the payment page)
    Mark this setting to hide customer contact information while the customer is completing a payment using the WorldPay Hosted payment gateway.
  • Generate secure signatures to protect transactions
    Enable this setting and enter the secret key from your WorldPay account setting to protect your website.

Redirect your customers back to your webshop

By default your customers are not redirected back to your website, instead they are presented with a Worldpay ‘Thank You’-page. To redirect your customers back to your webshop you need to create some files inside your Worldpay account.

  • Creating the files
    You can use any code editor, or Notepad, but don’t use something like Word or OpenOffice.org to create these files.
    Copy and paste the code below into your code editor. Change the ‘nameofyourwebsite’ phrase to the (domain)name of your webshop. Save the file as resultY.html, this page is used when payment is successful.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<meta http-equiv="refresh" content="3;url=http://nameofyourwebsite/shop/thanks/" /> <!--please add the website address you want to be taken back to-->
</HEAD>
<BODY>
<br/>


<h2>Payment Successful</h2>




<h2>Please wait a moment while we bring you back to nameofyourwebsite</h2>

 <!--please add the website address you want to be taken back to-->


<p>If nameofyoursite does not automatically load, please <a href="http://nameofyourwebsite/shop/thanks/" rel="nofollow">click here</a>.</p>


</BODY>
</HTML>

Do the same with the code below. Save it as resultC.html, this page is used when payment is cancelled.

<HTML>
<HEAD>
<meta http-equiv="refresh" content="3;url=http://nameofyourwebsite/shop/checkout " /> <!--automatic refresh section please add the website address you want to be taken back to-->
</HEAD>
<BODY>
<br/>


<h2>Payment Cancelled</h2>




<h2>Please wait a moment while we bring you back to nameofyourwebsite</h2>




<p>If nameofyoursite does not automatically load, please <a href="http://nameofyourwebsite/shop/checkout " rel="nofollow">click here</a>.</p>

 <!--please add the website address you want to be taken back to-->
</BODY>
</HTML>
  • Upload the files
    Login to your WorldPay account settings
    Click Setup
    Click Payment Page Editor
    File Management
    Choose File
    Upload resultY.html & resultC.html
    test the redirection to ensure you are satisfied
    Copy to production this can take up to six hours

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar