support

Worldpay extension NOT working

Started by Ruddog, August 24, 2017, 09:58:52 AM

Previous topic - Next topic

Ruddog

The payemnt extension WORLDPAY does not work. If anybody in the community can assist in correcting this error would be appreciated. Looks like the extension module does not direct you to the correct website for secure payments.
Going to worldpay's website also show NO option for Abantecart as being compatible.

Basara

Hello.

What error you see?
What is your AbanteCart version?
Do you have an account with worldpay?

abantecart

Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

featurespoon

#3
I've successfully made the Worldpay extension work in Abantecart 1.2.9.  I had to make a few changes to the code, and compose some new templates (and some dummy files) but it is now working.

abantecart

featurespoon, can you please share what you have done? Should we consider this changes in the core?
Feel free to create a pull request in github with your changes.

Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

featurespoon

I'm happy to do so, even though I'm new to github.  However the Worldpay extension was dropped in 1.2.11.  So does this mean that I have put into the Pull Request the entire (amended) extension?

featurespoon

I have raised an issue in github relating to Worldpay, asking for Worldpay to be reinstated in Abantecart core. I'm not bothering with github any further.  Please find attached a zip file with the revised Worldpay extension. I have not updated the russian and spanish languages as I have no knowledge of them, but otherwise I think it is complete, with some help on how to set up in Worldpay Business Manager.

I don't know how you're going to test this, but I'd be interested in how you get on.

abantecart

Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Mint Online

Hi, can anyone confirm if the replacement extension works?

We are struggling with WorldPay too and the extension that is part of the core still direct to the wrong submission URL. WorldPay have confirmed the submission URL should be secure.worldpay.com/wcc/purchase as opposed to select.worldpay.com/wcc/purchase

Alternatively, can I just change the submission URL in the extension code without any adverse affects?

Thanks

featurespoon

Yes, make that change. You should find that it works, now.
We need to record that change with Abantecart.  Can someone tell me how to do that?

Mint Online

Thanks featurespoon, should I look to make the change in the Abantecart files, or in the version you made available to download?

featurespoon

Can you make the change to the files you have and are using?   That is

in Storefront/controller/responses/extension/default_worldpay.php
line 40 change
$this->data['action'] = 'https://select.worldpay.com/wcc/purchase';
to
$this->data['action'] = 'https://secure.worldpay.com/wcc/purchase';

Hopefully Abantecart will make the updated extension available at some point.  By the way, I don't know what version of Abantecart you are using but I have only tested it on version 1.2.9.
If you still have problems let me know.

Mint Online

Yes I can make changes to those files, although I still need to make a few changes to get the Installation activated in Business Manager.

I'm using version 1.2.13 and it seems like they updated the URL for test transactions but not production.

What should the URL format be for the payment response?

Thanks

featurespoon

The response of the gateway is to invoke the callback in the extension.  So the URL is your online shop!  The return data indicates whether the payment was successful or not. If so the order is recorded and the appropriate page in the rest of the online shop is brought up.

Mint Online

I appreciate the URL is the online shop, but I assume it has to be a specific URL that is part of the WorldPay extension?

Forum Rules Code of conduct
AbanteCart.com 2010 -