Difference between revisions of "WorldPay"

From WHMCS Documentation

(V5 Onwards)
(WorldPay FuturePay)
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
There are two modules for worldpay - one time invoices and FuturePay.  For FuturePay, we use the more versatile Limited Agreements payment system.  This offers the ultimate in flexibility and allows charges to be taken from the clients card whenever they are needed.  So with this, once the user has setup a FuturePay Agreement, any invoice can be charged to their card at any time.  This makes all invoice payments automated.  There are however some steps involved in configuring it and we'll go through these below.
+
== About this Module ==
  
==Setting up the gateway==
+
This module allows you to use WorldPay for one time invoices.
  
You first need to activate the WorldPay and/or WorldPay FuturePay module(s) in WHMCS by navigating to '''Setup > Payment Gateways''' and enter your details as requested.
+
For information on the WorldPay module in WHMCS 8.1 and earlier, see [[WorldPay Invisible]].
 +
{{gateways
 +
| onetime = yes
 +
}}
  
Next login to the WorldPay Merchant Administration Interface > System Settings > Integration Setup : PRODUCTION and set the Payment Response URL to:
+
== Adding the WorldPay Payment Gateway ==
<WPDISPLAY ITEM=MC_callback>
+
You should also tick the following items: Payment Response enabled?, Enable Recurring Payment Response and Enable the Shopper Response.
+
To set up the WorldPay payment gateway in WHMCS:
 +
 +
# Go to the appropriate location for your version of WHMCS:
 +
#* For WHMCS 8.0 and later, go to '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > Apps & Integrations''' or '''Addons > [[Apps and Integrations|Apps & Integrations]]'''.
 +
#* For WHMCS 7.10 and earlier, go to '''Setup > Products/Services > [[Payment Gateways]]''' and choose '''All Payment Gateways'''.
 +
# Click '''WorldPay'''.
 +
# Check '''Show on Order Form''' to display this payment method in the Client Area during checkout.
 +
# Enter your WorldPay credentials.
 +
# Click '''Save Changes'''.
 +
# Log in to the WorldPay Merchant Administration Interface.
 +
# Go to '''System Settings > Integration Setup : PRODUCTION'''.
 +
# Set the '''Payment Response URL''' to <tt><nowiki><WPDISPLAY ITEM=MC_callback></nowiki></tt>.
 +
# Check '''Payment Response enabled?''', '''Enable Recurring Payment Response''', and '''Enable the Shopper Response'''.
  
==FuturePay Specific Items==
+
=== Test Mode === 
  
If using FuturePay, in the Auth Password field, you'll need to enter the password that is setup to allow remote charges to be made.  This is also referred to as the Invisible Auth Password and requires that a Remote Admin installation is added to your WorldPay account. This can be achieved by emailing support [at] worldpay [dot] com with your company ID and requesting this (at no extra cost).
+
You can use test mode to simulate payment processing without actually causing a transaction to occur. This can be useful to test your configuration.
  
You should then go to '''Setup > Payment Gateways''' and setup the FuturePay gateway as show below:
+
==WorldPay FuturePay==
  
[[Image:Futurepay_setup.gif]]
+
This module allows you to use WorldPay with FuturePay.
 +
{{gateways
 +
| type = token
 +
| onetime = yes
 +
| recurring = yes
 +
| level = 3
 +
}}
 +
=== Adding the WorldPay FuturePay Payment Gateway ===
 +
 +
To set up the WorldPay FuturePay payment gateway in WHMCS:
 +
 +
# Go to the appropriate location for your version of WHMCS:
 +
#* For WHMCS 8.0 and later, go to '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > Apps & Integrations''' or '''Addons > [[Apps and Integrations|Apps & Integrations]]'''.
 +
#* For WHMCS 7.10 and earlier, go to '''Setup > Products/Services > [[Payment Gateways]]''' and choose '''All Payment Gateways'''.
 +
# Click '''WorldPay FuturePay'''.
 +
# Check '''Show on Order Form''' to display this payment method in the Client Area during checkout.
 +
# Enter your WorldPay FuturePay installation details:<br/>[[File:Wpfp2.png|800px|WorldPay FuturePay]]
 +
## In this example, '''Installation ID''' is '''12345''' in the first row of the '''Installation''' column.
 +
## In this example, '''Installation ID for Charges''' is '''67890''' in the second row of the '''Installation''' column.
 +
## In this example, '''Auth Password''' is '''examplepw''' in the second row of the '''Installation''' column.
 +
# Click '''Save Changes'''.
 +
# Log in to the WorldPay Merchant Administration Interface.
 +
# Go to '''System Settings > Integration Setup : PRODUCTION'''.
 +
# Set the '''Payment Response URL''' to <tt><nowiki><WPDISPLAY ITEM=MC_callback></nowiki></tt>.
 +
# Check '''Payment Response enabled?''', '''Enable Recurring Payment Response''', and '''Enable the Shopper Response'''.
  
===Pre v5===
+
=== FuturePay IDs ===
  
Next, you need to go to '''Setup > Client Custom Fields''' and setup a custom field with the name FuturePay ID.  This should be an admin only field and will store the futurepay id needed to submit charges in the future after the agreement has been setup.
+
Once a client makes the first payment (usually at the time of ordering) the FuturePay ID is stored in the database (<tt>tblclients.gatewayid</tt>).
  
Finally, you need to setup a cron job to run the futurepay charges file which automatically submits the charge requests for all due invoices each day.  This needs to be done the your Cron section of your control panel where the WHMCS cron should also be setup. The command you need to use is as follows:
+
The Futurepay ID is displayed to staff on the invoice page and also by clicking the '''Credit Card Information''' link on the client's Summary tab.
  
php -q /home/username/public_html/whmcs/modules/gateways/callback/worldpayfuturepaycharges.php
+
== Auth Mode A - Capture Delay ==
 
 
===V5 Onwards===
 
 
 
No special cron or custom field is required for the futurepay module, the FuturePay ID is stored in the database (tblclients.gatewayid). You should keep the above in place if you have previously used the custom field and cron method.
 
 
 
==Auth Mode A - Capture Delay==
 
  
 
The auth mode is used to turn on capture delay. A = on. You then configure the delay period in the WorldPay admin. This used to be called pre-auth mode. Capture Delay enables you to specify a delay between the authorisation of a payment and its capture. This can be helpful when determining whether you should fulfil an order since it allows you time to assess a transaction. You can cancel (void) a transaction through the WorldPay Merchant Interface before capture, thereby saving you time and money by avoiding making a refund.   
 
The auth mode is used to turn on capture delay. A = on. You then configure the delay period in the WorldPay admin. This used to be called pre-auth mode. Capture Delay enables you to specify a delay between the authorisation of a payment and its capture. This can be helpful when determining whether you should fulfil an order since it allows you time to assess a transaction. You can cancel (void) a transaction through the WorldPay Merchant Interface before capture, thereby saving you time and money by avoiding making a refund.   
Line 45: Line 78:
 
===To turn off automatic payment capture and manually capture all payments===
 
===To turn off automatic payment capture and manually capture all payments===
 
Set Capture Delay in your WorldPay account to OFF - set AuthMode on your Payment Gateway page to E.
 
Set Capture Delay in your WorldPay account to OFF - set AuthMode on your Payment Gateway page to E.
 +
 +
== Troubleshooting ==
 +
 +
''N/A''
  
 
{{modules}}
 
{{modules}}

Latest revision as of 10:45, 24 October 2022

About this Module

This module allows you to use WorldPay for one time invoices.

For information on the WorldPay module in WHMCS 8.1 and earlier, see WorldPay Invisible.

Supported Features

Type One Time Recurring Refunds Reversals
3rd Party Yes No No

No


Adding the WorldPay Payment Gateway

To set up the WorldPay payment gateway in WHMCS:

  1. Go to the appropriate location for your version of WHMCS:
    • For WHMCS 8.0 and later, go to Configuration () > Apps & Integrations or Addons > Apps & Integrations.
    • For WHMCS 7.10 and earlier, go to Setup > Products/Services > Payment Gateways and choose All Payment Gateways.
  2. Click WorldPay.
  3. Check Show on Order Form to display this payment method in the Client Area during checkout.
  4. Enter your WorldPay credentials.
  5. Click Save Changes.
  6. Log in to the WorldPay Merchant Administration Interface.
  7. Go to System Settings > Integration Setup : PRODUCTION.
  8. Set the Payment Response URL to <WPDISPLAY ITEM=MC_callback>.
  9. Check Payment Response enabled?, Enable Recurring Payment Response, and Enable the Shopper Response.

Test Mode

You can use test mode to simulate payment processing without actually causing a transaction to occur. This can be useful to test your configuration.

WorldPay FuturePay

This module allows you to use WorldPay with FuturePay.

Supported Features

Type One Time Recurring Refunds 3D Secure
Token Yes Yes No No
Remote Update Card Remote Delete Card AddPayMethod API
No No No

Adding the WorldPay FuturePay Payment Gateway

To set up the WorldPay FuturePay payment gateway in WHMCS:

  1. Go to the appropriate location for your version of WHMCS:
    • For WHMCS 8.0 and later, go to Configuration () > Apps & Integrations or Addons > Apps & Integrations.
    • For WHMCS 7.10 and earlier, go to Setup > Products/Services > Payment Gateways and choose All Payment Gateways.
  2. Click WorldPay FuturePay.
  3. Check Show on Order Form to display this payment method in the Client Area during checkout.
  4. Enter your WorldPay FuturePay installation details:
    WorldPay FuturePay
    1. In this example, Installation ID is 12345 in the first row of the Installation column.
    2. In this example, Installation ID for Charges is 67890 in the second row of the Installation column.
    3. In this example, Auth Password is examplepw in the second row of the Installation column.
  5. Click Save Changes.
  6. Log in to the WorldPay Merchant Administration Interface.
  7. Go to System Settings > Integration Setup : PRODUCTION.
  8. Set the Payment Response URL to <WPDISPLAY ITEM=MC_callback>.
  9. Check Payment Response enabled?, Enable Recurring Payment Response, and Enable the Shopper Response.

FuturePay IDs

Once a client makes the first payment (usually at the time of ordering) the FuturePay ID is stored in the database (tblclients.gatewayid).

The Futurepay ID is displayed to staff on the invoice page and also by clicking the Credit Card Information link on the client's Summary tab.

Auth Mode A - Capture Delay

The auth mode is used to turn on capture delay. A = on. You then configure the delay period in the WorldPay admin. This used to be called pre-auth mode. Capture Delay enables you to specify a delay between the authorisation of a payment and its capture. This can be helpful when determining whether you should fulfil an order since it allows you time to assess a transaction. You can cancel (void) a transaction through the WorldPay Merchant Interface before capture, thereby saving you time and money by avoiding making a refund.

When enabled, the client will not be able to tell whether you are using capture delay as it behaves exactly the same; invoices in WHMCS will still instantly be marked as paid and all automation will take place as normal.

For example; a customer makes a payment and you want to Worldpay to automatically debit this payment from the customers' card then you would turn off capture delay. If you want to delay the capture then turn it on.

To automatically capture all payments without any delay

Set Capture Delay in your WorldPay account to 0 (zero) - set AuthMode on your Payment Gateway page to A.

To automatically capture all payments with a delay of 1-14 days

Set Capture Delay in your WorldPay account to a number 1-14 - set AuthMode on your Payment Gateway page to A.

To turn off automatic payment capture and manually capture all payments

Set Capture Delay in your WorldPay account to OFF - set AuthMode on your Payment Gateway page to E.

Troubleshooting

N/A

Server Modules
cPanel/WHM - DirectAdmin - Plesk - Helm 3 - Helm 4 - Ensim - InterWorx - WebsitePanel - Cloudmin
Lxadmin - Virtualmin Pro - XPanel - HyperVM - SolusVM - Cloudmin - WHMSonic - VPS.Net
CentovaCast - SCPanel - MediaCP - GameCP - TCAdmin - Reseller Central - Auto Release - Heart Internet

Registrar Modules
Enom - ResellerClub - Nominet - OpenSRS - ResellOne - OnlineNIC - PlanetDomain - Affordable Domains
TPP Wholesale - TPPInternet - Stargate - Namecheap - NetEarthOne - Bizcn - InternetBS - GMO Internet
12Register - Registercom - DotDNS - WebNIC - Dot.TK - HexoNet - Realtime Register - Registereu
RRPProxy - ResellerCamp - TransIP - Heart Internet - IPMirror - NetRegistry - OVH - VentraIP Wholesale
Email - 101Domain

Fraud Modules
MaxMind - VariLogiX FraudCall - Telesign

Gateway Modules
2CheckOut - AsiaPay - Auth.net Echeck - Authorize.net - Authorize.net CIM - Bank Transfer - BidPay
BluePay - BluePay Echeck - BluePay Remote - Boleto - CashU - CC Avenue - ChronoPay - Direct Debit
EMatters - E-Path - eProcessingNetwork - eWAY Tokens - F2B - Finansbank - GarantiBank - Gate2Shop
Inpay - InternetSecure - IP.Pay - Kuveytturk - Modulo Moip - Mail In Payment - Merchant Partners
Merchant Warrior - IDEALMollie - Moneris - Moneris Vault - Skrill 1-Tap - NaviGate - NETbilling
Netregistry Pay - NoChex - Offline Credit Card - Optimal Payments - PagSeguro - Payflow Pro - Pay Junction
Paymate AU and NZ - Payment Express - PayPal - PayPal Card Payments - PayPal Express Checkout
PayPal Payments - PayPal Payments Pro - PayPoint.net (SecPay) - Payson - Planet Authorize - ProtX VSP Form
PSIGate - Quantum Gateway - Quantum Vault - SagePay - SagePay Tokens v2 - SecurePay
SecurePay AU - Secure Trading - TrustCommerce - USA ePay - WorldPay - WorldPay Invisible