When trying to use 7.x-1.0-alpha2 version of code, found some settings are incorrect and documentation was incorrect.

Initially got issues with Payment type but no call was ever made to Worldpay. Checked Worldpay settings with Worldpay support and all correct. Issue thus with module code.

A working version exists so this issue will merge patches from that working version to hopefully create a new working version of this module.

Comments

TechnoTim2010 created an issue. See original summary.

sakadava’s picture

StatusFileSize
new2.63 KB

Hi @technotim I've uploaded a patch which is actually to 7.x-1.0-alpha2. I could rework this to 7.x-dev if necessary but I'm just bunging it up here for speed.

Bear in mind I don't know whether this specifically targets your issue which may be due to configuration.

This patch addresses two issues:

- The secret key size is increased to 30 characters (our secret key was too large to fit the original 16 characters)
- Card method selection is presented only if 'Select payment method locally' is checked

These were done ages ago so it's difficult for me to remember the exact issues although clearly these were considered useful at the time. I can separate the two issues if you like.

I'm also happy to continue helping you with this by referencing my working version, in the event these do not resolve the issue.

  • aburrows committed dea57a0 on 7.x-1.x authored by sakadava
    Issue #2941100 by sakadava: Problems using Alpha-2 version
    
aburrows’s picture

Patch applied and tested correctly, we should keep a check on WP API as it has vastly changed.

technotim2010’s picture

StatusFileSize
new1.21 KB

There are changes required to change the code and the messages for a successful payment

Specifically changing "WorldPay excepted the user's transaction. " to "Worldpay accepted the user's transaction"

and "The user canceled the payment." to "The user cancelled the payment."

aburrows’s picture

Status: Active » Fixed

Great stuff @TechnoTim2010 and @sakadava - I will deem this issue fixed, but any other issues please open a new issue so this can be investigated.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.