Re: WorldPay Module version 3.0 - Support thread
Hi all,
Just as an update to get shipping tax to work with this module in v1.5.5a, you'll need to make an amendment similar to the one DrByte mentions in the following post (https://www.zen-cart.com/showthread....61#post1312461), in the includes/modules/wp_checkout_process.php file:
Lines 24-41:
Code:
// load selected payment module
require(DIR_WS_CLASSES . 'payment.php');
// $payment_modules = new payment($_SESSION['payment']);
$payment_modules = new payment('worldpay');
// load the selected shipping module
require(DIR_WS_CLASSES . 'shipping.php');
$shipping_modules = new shipping($_SESSION['shipping']);
require(DIR_WS_CLASSES . 'order.php');
$order = new order;
// prevent 0-entry orders from being generated/spoofed
if (sizeof($order->products) < 1) {
zen_redirect(zen_href_link(FILENAME_SHOPPING_CART));
}
require(DIR_WS_CLASSES . 'order_total.php');
$order_total_modules = new order_total;
Change to:
Code:
// load selected payment module
require(DIR_WS_CLASSES . 'payment.php');
// $payment_modules = new payment($_SESSION['payment']);
$payment_modules = new payment('worldpay');
require(DIR_WS_CLASSES . 'order.php');
$order = new order;
// load the selected shipping module
require(DIR_WS_CLASSES . 'shipping.php');
$shipping_modules = new shipping($_SESSION['shipping']);
// prevent 0-entry orders from being generated/spoofed
if (sizeof($order->products) < 1) {
zen_redirect(zen_href_link(FILENAME_SHOPPING_CART));
}
require(DIR_WS_CLASSES . 'order_total.php');
$order_total_modules = new order_total;
I hope this helps.
Re: WorldPay Module version 3.0 - Support thread
Is anyone else suffering with the callback timeout issue still? I'm trying to get this to work on a site and have failed miserably!! Each time I try a transaction the callback fails returning the following in the response data report:
Location: http://domain/store/index.php?main_page=time_out
I've tried this on the main site using ZC 1.5.1a, a clean installation with classic template 1.5.1a and a clean installation with classic template 1.5.5a all with fresh download of the Worldpay 3.0 module.
This has also been tested with ZC 1.5.5a with PHP 5.3.28, 5.4.45 and 5.5.38
And module reports - Diagnostic: Recreate Session Check Verified: Session's can be recreated by worldpay in this shop.
Thanks
Mat
Re: WorldPay Module version 3.0 - Support thread
In the WorldPay-ReadMe.html file in the WorldPay_3.0 > _docs folder, I cannot access any of the pages other than the 'Purpose' page in Google Chrome. However, it works fine in Firefox.
Has anyone else noticed this?
1 Attachment(s)
Re: WorldPay Module version 3.0 - Support thread
Hi All.
I have this setup and all was fine in the test environment. I moved server and all appears to be fine with the store but now I can't get the callback to work which means you are left on the worldpay site after the transaction & obviously payment is collected successfully but nothing appears in zen cart.
Please help
Zen v1.54 & WP v3.0
Email message:
Error reported: Callback to https://######.com/index.php?main_page=wp_callback NOT OK, recevied HTTP status: 302
Response.txt
HTTP/1.1 302 Moved Temporarily
Date: Thu, 17 Nov 2016 09:46:23 GMT
Server: Apache
X-Powered-By: PHP/5.6.24
Set-Cookie: cookie_test=please_accept_for_session; expires=Sat, 17-Dec-2016 09:46:23 GMT; Max-Age=2592000; path=/; domain=#####.com
Location: https://#####.com/index.php?main_pag...acker_response
Strict-Transport-Security: max-age=0
Connection: close
Content-Type: text/html; charset=utf-8
Worldpay Control panel:
Attachment 16793
I have read much of the WP2 posts and all of this one but still not had much luck.
If you need more info just ask.
Thanks in advance for any help received.
Re: WorldPay Module version 3.0 - Support thread
Hi I have the same problem. The callback feature doesn't work. Did this get resolved and do you have an answer?
Re: WorldPay Module version 3.0 - Support thread
No answer and not resolved. I have tried loads of troubleshooting and no answer as yet. Will be working it through again in the next couple of days and I will post if I get this done.
Re: WorldPay Module version 3.0 - Support thread
I have managed to get this fixed.
Just follow the instructions here EXACT:
WorldPay Account Section.
Login to your WorldPay admin screen http://www.worldpay.com/us
In the WorldPay Control Panel screen click 'Configuration Options' for the installation i.d. Enter the Callback URL exactly as follows (including case):
https://<wpdisplay item="MC_callback">
If SSL is not enabled on your website the Callback URL should be:
http://<wpdisplay item="MC_callback">
Enter the Shopper Redirect URL: If you have SSL enabled USE... https://
Change Your-Web-site to your domain name.
https://www.Your-Web-Site.com/index....eckout_success
Enter the Shopper Redirect URL: If SSL is not enabled USE... http://
Change Your-Web-site to your domain name.
http://www.Your-Web-Site.com/index.p...eckout_success
Also in the Configuration Options set the following if not done already:
Payment Response enabled? - ensure this is ticked.
Enable Recurring Payment Response? - ensure this is ticked.
Enable the Shopper Response? - ensure this is ticked.
Suspension of Payment Response? - ensure this is NOT ticked (it automatically selects if callback fails).
Click 'Payment Response Password - enter your password. (and then again to validate, do not tick use default as it will reset password fields) Make this secure using numbers and letters. You only have to remember it long enough to enter it in your Zen Cart Worldpay module configuration.
MD5 secret for transactions - enter a pass phrase which can be up to 16 characters long and include spaces. (and then again to validate, do not tick use default as it will reset password fields).
Click on update installation (You don't have to contact WorldPay technical support anymore for MD5 as this is now done from Worldpay dashboard).
That's it you now have WorldPay Installed..
Re: WorldPay Module version 3.0 - Support thread
I will be working this again later so will let you know.
I'm reasonably confident the instructions were followed exactly and call back URL etc has be checked lots of times but I will be looking again.
Good luck with your store and I will post again later. 🙂
Re: WorldPay Module version 3.0 - Support thread
Quote:
Originally Posted by
Nick1973
I have managed to get this fixed.
Just follow the instructions here EXACT:
WorldPay Account Section.
Login to your WorldPay admin screen
http://www.worldpay.com/us
In the WorldPay Control Panel screen click 'Configuration Options' for the installation i.d. Enter the Callback URL exactly as follows (including case):
https://<wpdisplay item="MC_callback">
If SSL is not enabled on your website the Callback URL should be:
http://<wpdisplay item="MC_callback">
Enter the Shopper Redirect URL: If you have SSL enabled USE... https://
Change Your-Web-site to your domain name.
..................
This seems to be the same notes copied from the installation notes. I have followed these exactly.
I have tonight installed a new copy of Zen v1.54 & installed WorldPay v3, I have used the default template and made no additional changes......... Still the same error!
This plugin worked fine on my last host but has become unusable on my new host. I have asked them and they suggested to disable mod_sec and remove .htaccess but still no joy.
Anyone able to help?
Regards
Re: WorldPay Module version 3.0 - Support thread
Me again,
Anyone got any suggestions of a good developer who might be able to help? This is beyond me and need to hire help in. PM me if you have any suggestions.
If I don't hear from anyone I will be posting this as a job on Freelancer in the next couple of days. I have been struggling with this for nearly 2 months now and not getting anywhere. :sadwalk: :frusty:
Any help appreciated from anyone. :please: