To switch CactuShop to use WorldPay, you must edit the
paymentsystem
config setting (see 7.4.14.4) to include `worldpay' (lower case).
8.1.2
Config settings WorldPay
8.1.2.1 WP_AuthCode
This can be set to `A' for a full authorization (card is authorized and billed
immediately) or `E' for a pre authorization (the card is authorized but payment
is not taken until you choose to bill the card from WorldPay's back end). Pre
authorization is used when you will need to manually check whether stock is
available or the order passes extra fraud detection measures you may have in
place, for example. To use pre authorization, you will need to contact
WorldPay and request that this facility is set up at their end.
8.1.2.2 WP_CallbackPassword
This is an added security measure. Set a password or phrase here and then
set up the corresponding phrase in the WorldPay merchant management
system. WorldPay passes this back to CactuShop after the transaction has
completed.
8.1.2.3 WP_EmailCustomer
Whether you want CactuShop to email the customer when an order goes
through. Alternatively you can get WorldPay to send the emails (see
WorldPay s Merchant Management System).
8.1.2.4 WP_EmailMerchant
Whether you want CactuShop to email you when an order goes through.
Alternatively you can get WorldPay to send the emails (see WorldPay s
Merchant Management System).
8.1.2.5 WP_InstallID
The Install ID given to you by WorldPay
8.1.2.6 WP_ProcessCurrency
If you wish all orders to be processed in one currency as opposed to the
currency that the customer was viewing the site in, enter the ISO code for the
currency here, e.g. GBP. If you leave this blank, the orders will be processed
in the currency that the user selected to view the site in. Note that not all
currencies you set up on CactuShop may be supported by this gateway.
8.1.2.7 WP_ReturnURL
This is where you want the user to return after the transaction has completed
(most likely your homepage). The purchaser will be given a hyperlink to
return to this location. Do not confuse this with the callback set up at
WorldPay's site (which will be the full URL to
WORLDPAY_callback.asp
.
8.1.2.8 WP_testmode
If this is set to 100 whilst you are testing, then all transactions will succeed. If
set to 101 all transactions will fail. See WorldPay's documentation for more
information.
68
New Page 1