Jump to content
sue3005

Help with Worldpay

Recommended Posts

Could anyone please help with the following. I have been using Worldpay for a number of years and just recently realised that I wasn't having any orders paying by worldpay and when I looked into it, the page that should allow buyers to put in their card details doesn't exist. I called Worldpay and they told me that the particular page is old and it should have been updated to the address that they gave me but i have no idea how to change this. I have looked in oscommerce in my admin but I can't see anything there that is changeable.

I know how to edit filed on the server but dont know which file to look in if it has to be changed there.

Any help much appreciated

Thank you

Sue

 

Share this post


Link to post
Share on other sites

If you post a bit more information like which version of osc you are using? what worldpay mod version you have installed?, what address have you been asked to change? then I'm sure someone here will be in a better position to help if they can.


 

Share this post


Link to post
Share on other sites

In includes/modules/payment/rbsworldpay_hosted.php find line 36 approx

        if ( MODULE_PAYMENT_RBSWORLDPAY_HOSTED_TESTMODE == 'True' ) {
          $this->form_action_url = 'https://secure-test.worldpay.com/wcc/purchase';
        } else {
          $this->form_action_url = 'https://secure.worldpay.com/wcc/purchase';

Change the bottom URL keeping it between the ' ' to the new one supplied by worldpay. The top one is the test site, have they supplied one for that?


OsC 2.3.4.1 CE Frozen   PHP 7.2   MySQL 10.1.36-MariaDB-cll-lve. Phoenix in development

Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix 1.0.2.0) here.

Share this post


Link to post
Share on other sites

Thank you sooooo much mhsuffolk. I found the file easily once you directed me and then edited it. Worldpay now works again.

Thank you once again

Sue

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×