Author Topic: Worldpay extension NOT working  (Read 22046 times)

Offline Ruddog

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Worldpay extension NOT working
« on: August 24, 2017, 09:58:52 AM »
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.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5993
  • Karma: +284/-2
    • View Profile
Re: Worldpay extension NOT working
« Reply #1 on: August 25, 2017, 03:53:44 AM »
Hello.

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

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4363
  • Karma: +301/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Worldpay extension NOT working
« Reply #2 on: August 27, 2017, 02:51:59 PM »
I think this is trolling post.
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

Offline featurespoon

  • Newbie
  • *
  • Posts: 24
  • Karma: +5/-1
    • View Profile
Re: Worldpay extension NOT working
« Reply #3 on: October 20, 2017, 06:55:14 PM »
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.
« Last Edit: October 20, 2017, 07:01:15 PM by featurespoon »

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4363
  • Karma: +301/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Worldpay extension NOT working
« Reply #4 on: October 20, 2017, 07:10:24 PM »
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

Offline featurespoon

  • Newbie
  • *
  • Posts: 24
  • Karma: +5/-1
    • View Profile
Re: Worldpay extension NOT working
« Reply #5 on: October 21, 2017, 12:55:53 AM »
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?

Offline featurespoon

  • Newbie
  • *
  • Posts: 24
  • Karma: +5/-1
    • View Profile
Re: Worldpay extension NOT working
« Reply #6 on: October 21, 2017, 06:47:41 AM »
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.

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4363
  • Karma: +301/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Worldpay extension NOT working
« Reply #7 on: October 21, 2017, 10:11:30 AM »
Thank you. We will take a look.
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

Offline Mint Online

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Worldpay extension NOT working
« Reply #8 on: March 20, 2019, 07:27:42 AM »
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

Offline featurespoon

  • Newbie
  • *
  • Posts: 24
  • Karma: +5/-1
    • View Profile
Re: Worldpay extension NOT working
« Reply #9 on: March 20, 2019, 11:37:46 AM »
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?

Offline Mint Online

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Worldpay extension NOT working
« Reply #10 on: March 20, 2019, 11:45:03 AM »
Thanks featurespoon, should I look to make the change in the Abantecart files, or in the version you made available to download?

Offline featurespoon

  • Newbie
  • *
  • Posts: 24
  • Karma: +5/-1
    • View Profile
Re: Worldpay extension NOT working
« Reply #11 on: March 20, 2019, 11:59:47 AM »
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.

Offline Mint Online

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Worldpay extension NOT working
« Reply #12 on: March 20, 2019, 12:23:45 PM »
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

Offline featurespoon

  • Newbie
  • *
  • Posts: 24
  • Karma: +5/-1
    • View Profile
Re: Worldpay extension NOT working
« Reply #13 on: March 20, 2019, 12:42:21 PM »
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.

Offline Mint Online

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Worldpay extension NOT working
« Reply #14 on: March 21, 2019, 04:42:06 AM »
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?

 

Powered by SMFPacks Social Login Mod