Hi,
I am having problems with Worldpay in opencart 1.5.
The callback doesn't seem to be working. The test transaction goes through but I don't end up back at the site and it doesn't remove the products from cart or show orders in admin.
I have searched on this topic but can only find unanswered queries or 1.4x queries.
Anyone got any ideas.
The website URL is http://www.ispytoys.co.uk/store/
Cheers
Evan
I am having problems with Worldpay in opencart 1.5.
The callback doesn't seem to be working. The test transaction goes through but I don't end up back at the site and it doesn't remove the products from cart or show orders in admin.
I have searched on this topic but can only find unanswered queries or 1.4x queries.
Anyone got any ideas.
The website URL is http://www.ispytoys.co.uk/store/
Cheers
Evan
Hi, this is still proving a problem and all parties involved are claiming it not to be their problem.
Anyone have any ideas?
Anyone have any ideas?
Add the following
1. EDIT: catalog/controller/payment/worldpay.php
2. FIND:
3. AFTER, ADD:
Try to checkout again and this time when it comes back, it should generate a log file in the system/logs directory with all the data being passed back.
PM that data to me.
1. EDIT: catalog/controller/payment/worldpay.php
2. FIND:
Code: Select all
public function callback() {
Code: Select all
file_put_contents(DIR_LOGS . 'worldpay_debug.txt', print_r($_REQUEST, 1));
PM that data to me.
The issue turned out to be that evan had the wrong callback password in his settings. I will be adding code to the extension to alert this error properly. But that is likely your issue too. You can see in the message you PM'd me what the callbackPW they expect is. If it doesn't match the one set in the admin area exactly, it will do what you are seeing.
I've updated svn now with a change.
Now if the callbackPW doesn't match, but the payment was successful, the order is placed into the store default order status id (usually pending) and noted that it needs to be manually verified
If the callbackPW matches, then it updates to the order status set in the worldpay admin area.
Now if the callbackPW doesn't match, but the payment was successful, the order is placed into the store default order status id (usually pending) and noted that it needs to be manually verified
If the callbackPW matches, then it updates to the order status set in the worldpay admin area.
thanks for reply me, but I checked the "log file", the callbackPW is empty, how does it happened? where can I tweak it to make it same as I setup in backend of Opencart?
and where can I got the "updated svn(sorry, what's this?)"?
please advise me.
and where can I got the "updated svn(sorry, what's this?)"?
please advise me.
you need to set the callbackpw in your worldpay account
Then set the same password in your worldpay admin area in opencart.
When Worldpay sends back a notification message, it checks that the 2 passwords match. If they don't match, then no good.
Updated SVN means that if you know how to use SVN, you can get the updated version from the source code repository on http://code.google.com/p/opencart
Otherwise you will have to wait for the next version of opencart to be released
Then set the same password in your worldpay admin area in opencart.
When Worldpay sends back a notification message, it checks that the 2 passwords match. If they don't match, then no good.
Updated SVN means that if you know how to use SVN, you can get the updated version from the source code repository on http://code.google.com/p/opencart
Otherwise you will have to wait for the next version of opencart to be released
Who is online
Users browsing this forum: No registered users and 8 guests