Have been trying for ages to get Worldpay working on my installation. First I tried it on a site with a few extensions - It would allow me to enter the Service Key, Client Key etc. But it would not let me save it as "Enabled".
When I set to Enabled and press save, it says " Success: You have modified Worldpay account details!"
But the extension stays disabled.
I assumed it was incompatibility, so I set up a fresh install of Opencart 3.0.2.0, and tried setting up the worldpay extension again. Same problem.
What can I do? I've contacted Worldpay who've confirmed everything is as it should be on their end, and that i'm doing it right at my end.
Worldpay don't supply extensions, it comes with Opencart already ready to install.
Please help!
In admin/controller/extension/payment/worldpay.php file,When I set to Enabled and press save, it says " Success: You have modified Worldpay account details!"
But the extension stays disabled.
find:
Code: Select all
$this->session->data['success'] = $this->language->get('text_success');
Code: Select all
echo "<pre />\n";
print_r($this->request->post);
echo "</pre>\n";
exit;
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
The troubleshooting solution has been posted ... right on the above and still the same question remains.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I'm having the same issue. I've followed the steps that straightlight has asked for, please see my debug paragraph below (without my Service or Client keys):
Array
(
[payment_worldpay_service_key] => xxxxxxxxxx
[payment_worldpay_client_key] => xxxxxxxxxx
[payment_worldpay_total] => 1
[worldpay_card] => 0
[worldpay_secret_token] =>
[worldpay_order_status_id] => 7
[worldpay_geo_zone_id] => 0
[worldpay_debug] => 1
[worldpay_status] => 1
[worldpay_sort_order] =>
[worldpay_entry_success_status_id] => 7
[worldpay_entry_failed_status_id] => 7
[worldpay_entry_settled_status_id] => 7
[worldpay_refunded_status_id] => 7
[worldpay_entry_partially_refunded_status_id] => 7
[worldpay_entry_charged_back_status_id] => 7
[worldpay_entry_information_requested_status_id] => 7
[worldpay_entry_information_supplied_status_id] => 7
[worldpay_entry_chargeback_reversed_status_id] => 7
)
Is anybody able to help?
find:
Code: Select all
if (isset($this->request->post['worldpay_status'])) {
$data['worldpay_status'] = $this->request->post['worldpay_status'];
} else {
$data['worldpay_status'] = $this->config->get('worldpay_status');
}
Code: Select all
if (isset($this->request->post['payment_worldpay_status'])) {
$data['payment_worldpay_status'] = $this->request->post['payment_worldpay_status'];
} else {
$data['payment_worldpay_status'] = $this->config->get('payment_worldpay_status');
}
Cheers
Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here
Before you upload it, make backup of old your files of the Worldpay extension in case if something goes wrong.
Worldpay extension attached.
I can't check it all functionality because I don't have account on Worldpay, but now this payment option can be enabled.
Cheers
Attachments
Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here
Thanks for that! I've installed the updated WorldPay extension that you offered and it seems to be working - the extension is active and I can see the payment screen. However, in the back end, I still can't pick the Order Statuses - they all stay as 'cancelled' no matter what I do, apart from 'Refunded' which is set to 'refunded'.
Any ideas?
Hi,Harry_Ray wrote: ↑Tue Jul 17, 2018 3:39 pmHey kestas,
Thanks for that! I've installed the updated WorldPay extension that you offered and it seems to be working - the extension is active and I can see the payment screen. However, in the back end, I still can't pick the Order Statuses - they all stay as 'cancelled' no matter what I do, apart from 'Refunded' which is set to 'refunded'.
Any ideas?
I have checked again and I able to change order statuses. Try upload again all files.
Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here
Can you debug again like @straightlight explained? and post your result.
Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here
Sure thing, see below:
Code: Select all
Array
(
[payment_worldpay_service_key] =>
[payment_worldpay_client_key] =>
[payment_worldpay_total] => 1
[payment_worldpay_card] => 0
[payment_worldpay_secret_token] =>
[payment_worldpay_order_status_id] => 5
[payment_worldpay_geo_zone_id] => 0
[payment_worldpay_debug] => 1
[payment_worldpay_status] => 1
[payment_worldpay_sort_order] =>
[payment_worldpay_entry_success_status_id] => 5
[payment_worldpay_entry_failed_status_id] => 7
[payment_worldpay_entry_settled_status_id] => 7
[payment_worldpay_refunded_status_id] => 11
[payment_worldpay_entry_partially_refunded_status_id] => 7
[payment_worldpay_entry_charged_back_status_id] => 7
[payment_worldpay_entry_information_requested_status_id] => 7
[payment_worldpay_entry_information_supplied_status_id] => 7
[payment_worldpay_entry_chargeback_reversed_status_id] => 7
)
Those key names in the array do not exists out of the box of worldpay. You are either using an extension you did improperly followed my instructions from the bug reports section of the forum if using OC v3.0.2.0. As for the payment_world_refunded_status_id … status 11 ? Where is this status ID originating from?[payment_worldpay_refunded_status_id] => 11
[payment_worldpay_entry_success_status_id] => 5
[payment_worldpay_entry_failed_status_id] => 7
[payment_worldpay_entry_settled_status_id] => 7
[payment_worldpay_entry_partially_refunded_status_id] => 7
[payment_worldpay_entry_charged_back_status_id] => 7
[payment_worldpay_entry_information_requested_status_id] => 7
[payment_worldpay_entry_information_supplied_status_id] => 7
[payment_worldpay_entry_chargeback_reversed_status_id] => 7
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Where from in key names word:Harry_Ray wrote: ↑Wed Jul 18, 2018 10:51 pmHey kestas! Really appreciate the help so far.
Sure thing, see below:
Array
(
[payment_worldpay_service_key] =>xxxxxxxxxxxxxxx
[payment_worldpay_client_key] => xxxxxxxxxxxxxxx
[payment_worldpay_total] => 1
[payment_worldpay_card] => 0
[payment_worldpay_secret_token] => c1895f4cee636ac332b1d5ab204dd547cbadf3e4
[payment_worldpay_order_status_id] => 5
[payment_worldpay_geo_zone_id] => 0
[payment_worldpay_debug] => 1
[payment_worldpay_status] => 1
[payment_worldpay_sort_order] =>
[payment_worldpay_entry_success_status_id] => 5
[payment_worldpay_entry_failed_status_id] => 7
[payment_worldpay_entry_settled_status_id] => 7
[payment_worldpay_refunded_status_id] => 11
[payment_worldpay_entry_partially_refunded_status_id] => 7
[payment_worldpay_entry_charged_back_status_id] => 7
[payment_worldpay_entry_information_requested_status_id] => 7
[payment_worldpay_entry_information_supplied_status_id] => 7
[payment_worldpay_entry_chargeback_reversed_status_id] => 7
)
In fixed module this keys does not exist. Maybe you do not replaced your all old files with new one, or maybe use some another worldpay module. By the way, in OC 3.0.x when you make some changes of your shop you should clear all cache in your admin main dashboard blue gear icon and refresh modifications. After all you should clear all cache and cookies of your browser..._entry
If you facing some difficulties for upgrading and debugging your shop you can place request for the help in commercial forum.
Cheers
Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Cheers
Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here
Users browsing this forum: nonnedelectari and 231 guests