Worldpay - changing website to run in live mode

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
i have a site which is set up to take payments via world pay. it has been running in test mode fine, but has now been set live by worldpay. they have sent me the following email to get my site live:

"I am pleased to inform you that your account has now been set live.

To start accepting live transactions using the RBS WorldPay Payment Gateway, you will need to change your website to run in LIVE mode.

To do this, either:
- Remove the testMode variable from your Purchase Token code
or
- Change the testMode value to 0 (zero).

For example:
<input type=hidden name="testMode" value="100">
to
<input type=hidden name="testMode" value="0">

And ensure that <form action> URL is set to "https://secure.wp3.rbsworldpay.com/wcc/purchase"
For example:
<form action="https://secure-test.wp3.rbsworldpay.com/wcc/purchase" method=POST>
to
<form action="https://secure.wp3.rbsworldpay.com/wcc/purchase" method=POST>"

Where would i go to make these changes? or am i missing something here?
13 years ago
This is in WorldpayPaymentProcessor.cs. Think you may just have to click the sandbox switch in admin setup for this gateway off.
13 years ago
Yidna wrote:
This is in WorldpayPaymentProcessor.cs. Think you may just have to click the sandbox switch in admin setup for this gateway off.


Thanks for this - tghe site was originally designed in 1.4 - where abouts is this file? i can't find it anywhere?

once again thanks for your help
13 years ago
Hiya i've not used 1.4 but assuming it similar have you got the source code version. It's is a project in the  top level Payments directory called Nop.Payment.Worldpay.

But not sure you have to change anything in the code. Maybe just need to change the switch in the Admin section -> Configure Payment Methods -> Worldpay -> Use Sandbox
13 years ago
sure - i have got it switched on ok where you suggested, but USD is hard coded into the file you mentioned - i need to change it to GBP so that it works with worldpay rbs which operates in £sterling
13 years ago
Switch on for test - off for live mode. There is no hard code to USD in the lastest version.
Now changed to remotePostHelper.Add("currency", CurrencyManager.PrimaryStoreCurrency.CurrencyCode);
If you wanted to change that hardcoded value in 1.4 you will need to edit and rebuild the solution
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.