- Posts: 21
- Thank you received: 1
Worldpay Business Gateway: The test mode value is invalid
-- Joomla version -- : 4.2.9
-- PHP version -- : 8.1.17
-- Browser(s) name and version -- : Chrome 112.0.5615.121
Trying to set up the plugin for Worldpay Business. I have set the Test Mode switch to Yes. There are several problems:-
1. The page does not automatically redirect to Worldpay.
2. The button to manually go to Worldpay has no text or image.
3. The Worldpay page (attached) says the test mode is invalid.
Worldpay support says the test mode parameter should be 0 for a live transaction, or 100 for a test.
The Debug information produced by the plugin shows testMode with the value of CAPTURED. According to the Worldpay documentation, that is one value that can be put in the Name parameter if the test mode is set to 100.
Some of the above could be down to incorrect configuration on my part (eg the button image/text as I have just left the default value in there), but I think the test mode setting is likely to be a bug in the plugin. As Worldpay want to see successful test transactions before they will allow use of the live service, this needs to be sorted out before we can move forward.
Please Log in or Create an account to join the conversation.
In order to better understand the situation, we will need these elements :
- Url link (that allow us to experience your current issue)
- Your Worldpay Business settings screenshot
- A step by step process to reproduce your issue.
Note : If for a reason or another, you don't want to provide these elements directly in this topic, please us our Contact us form and don't forget to add an Url link to this topic.
Regards
Please Log in or Create an account to join the conversation.
I have just sent you a message using the Contact us form. The site is guncraftltd.uk.
Thanks!
Please Log in or Create an account to join the conversation.
Sorry for this return but for a reason or another we didn't receive your elements in our Contact us mail...
We have checked the spam box and nothing, can you process a new send please?
Once again, sorry for this return.
Regards
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please provide here the payment method setting screenshot to complete elements.
AND active the debug mode in your Worldpay method, this will allow to give us more clue in the log file .
Awaiting your returns.
Regards
Please Log in or Create an account to join the conversation.
Unfortunately the screen photos I have been sent are not of sufficient quality to be any use, I'll try to get some better ones.
I am unsure what you mean by "the debug mode in your Worldpay method" - is this the Debug setting in the Specific Configuration section of the Worldpay Plugin? If so, it is already set to Yes.
Thanks
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Then you can provide the log file via our Contact us (as attachment, email address : contact@hikashop.com), and we will need to see your Worldpay settings screenshot (payment method form) in HikaShop settings see my screenshot :
Don't forget to add an Url link to this topic in your Contact us message.
Regards
Please Log in or Create an account to join the conversation.
I emailed the requested information last night, any progress?
Please Log in or Create an account to join the conversation.
Sorry but once again we didn't receive your email... We don't really have any idea why this problem is repeated...
And so unfortunately we invite you to send again the email.
We are very sorry for this inconvenience, and in order not to waste time dealing with your subject, notify us by posting a message here in our forum.
Regards
Please Log in or Create an account to join the conversation.
I have just resent the email to contact@hikashop.com
Please Log in or Create an account to join the conversation.
For a reason or another, your email were received in our spam box, really sorry for this, but this should now be fixed.
This will therefore have better fluidity and less waste of time in our exchanges.
And now, we are going to have to go to the next step because unfortunately your elements do not allow us to progress, so provide via email :
- Url link to your backend access
- Backend user references (with maximum ACL)
Regards
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
It seems that your Worldpay plugin didn't received any notification from Worldpay server.
On your Worldpay Merchant account did your orders are validated?
Other idea, on the your Worldpay Merchant account maybe there is log error or support that can bring us some clues.
But first tell us if the orders are confirmed or not in your Merchant account.
Regards
Please Log in or Create an account to join the conversation.
As I said at the beginning, Worldpay support have confirmed this. Of the 3 problems I identified and told you about over a week ago now, 2 of them are before the plugin even sends the order to Worldpay. As a reminder,
1. The page does not automatically redirect to Worldpay.
2. The button to manually go to Worldpay has no text or image.
3. The Worldpay page (see original post) says the test mode is invalid.
Worldpay support says the test mode parameter should be 0 for a live transaction, or 100 for a test. I am trying to perform a test transaction, as Worldpay won't enable live transactions until they see a successful series of tests.
The Debug information produced by the plugin shows testMode with the value of CAPTURED. According to the Worldpay documentation, that is one value that can be put in the Name parameter IF the test mode is set to 100.
If I knew enough about how the plugin gets stuff done I'd see about changing the testMode parameter, but I don't.
Please Log in or Create an account to join the conversation.
File /plugins/hikashoppayment/bf_rbsbusinessgateway/bf_rbsbusinessgateway.php:
Lines 203-206:
However, this leaves the problems that the payment method doesn't automatically redirect to Worldpay, and the button to do it manually is just a grey box.
Also, it is now apparent that the Worldpay process doesn't return the user to the Hikashop site that called it.
Please Log in or Create an account to join the conversation.
OK, changed it now
Please Log in or Create an account to join the conversation.
The remaining problems are :-
1. The plugin page doesn't automatically redirect to the Worldpay page
2. The Worldpay page doesn't send the user back to our site.
However, the order status is updated from Created to Cancelled or Confirmed depending on the result of the Worldpay page.
This would indicate to me that the interface with Worldpay is probably working correctly, but there is still a problem or problems with the Hikashop processing around the payment plugin.
I need this to be sorted out quickly, now.
Please Log in or Create an account to join the conversation.
Regarding www.hikashop.com/forum/payment-methods/9...-invalid.html#351272 that's an unfortunate error on our end. We pushed the wrong package on our website a while back. Thanks for catching the issue. We've pushed the correct package now, which already includes this change.
The automatic redirection is deactivated when the "show parameters" setting is activated.
This is done on purpose so that you have the time you need to look at the parameters output by the plugin.
Turn off this setting and the automatic redirection will work again.
Regarding the return to the website, make sure the debug setting in the payment method is deactivated so that it can output to the user the HTML to go back to the shop during the payment notification (callback).
Please Log in or Create an account to join the conversation.