I have just set up a new site and used this module for the first time. I have found two problems:
1. You initially get a number of re-direct pages when transfering to the worldpay site.
2. When a transaction is completed, you are not automaticly redirected back to the store.
The first problem I have already solved, in the worldpay module, the code calls an old RBS URL, this needs to be updated as follows to "https://secure.wp3.rbsworldpay.com/wcc/purchase"
The second issue, not getting an automatic redirect back to the site I have currently not resolved, if you press the manual redirect on the final RBS conformation page it works fine, just does not redirect back automaticly within the 10 seconds stated.
Does anyone know how to fix this second issue
1. You initially get a number of re-direct pages when transfering to the worldpay site.
2. When a transaction is completed, you are not automaticly redirected back to the store.
The first problem I have already solved, in the worldpay module, the code calls an old RBS URL, this needs to be updated as follows to "https://secure.wp3.rbsworldpay.com/wcc/purchase"
The second issue, not getting an automatic redirect back to the site I have currently not resolved, if you press the manual redirect on the final RBS conformation page it works fine, just does not redirect back automaticly within the 10 seconds stated.
Does anyone know how to fix this second issue
We have already contacted world pay and they responded with the following:
Thank you for your email.
May I know for the below callback script:
http://www.celiaskitchen.co.uk/store/in ... y/callback
Are you using the Javascript method to redirect your shoppers back to your website? If that is the case, I am afraid that this can no longer be done due to security reasons after our technical change last year. However, you may use HTML meta refresh method to redirect your shoppers back to your website. Please kindly find attached sample code on how to use HTML meta refresh for your reference.
Please do not hesitate to contact us should you require our further assistance or clarification.
Best Regards,
Dennis Lee
Tech Support
And the following sample code
<html>
<title>Testing HTML meta refresh</title>
<head>
<!-- Page will refresh and redirect in 5 seconds -->
<meta http-equiv="refresh" content="5;url=http://www.yourwebsite.com/script.exten ... er2=value2" />
</head>
<body>
<html>
<body>
<wpdisplay item=banner> ....you will be redirected in 10 seconds. If not, please click <A HREF="http://www.mysite.com/">here</A>
</body>
</html>
However this is a bit beyond my understanding, and to me it does not make sense, Like the first comment by Qphoria, I think this is an 'RBS site' issue, I don't see how the opencart code has any control at that stage.
Thank you for your email.
May I know for the below callback script:
http://www.celiaskitchen.co.uk/store/in ... y/callback
Are you using the Javascript method to redirect your shoppers back to your website? If that is the case, I am afraid that this can no longer be done due to security reasons after our technical change last year. However, you may use HTML meta refresh method to redirect your shoppers back to your website. Please kindly find attached sample code on how to use HTML meta refresh for your reference.
Please do not hesitate to contact us should you require our further assistance or clarification.
Best Regards,
Dennis Lee
Tech Support
And the following sample code
<html>
<title>Testing HTML meta refresh</title>
<head>
<!-- Page will refresh and redirect in 5 seconds -->
<meta http-equiv="refresh" content="5;url=http://www.yourwebsite.com/script.exten ... er2=value2" />
</head>
<body>
<html>
<body>
<wpdisplay item=banner> ....you will be redirected in 10 seconds. If not, please click <A HREF="http://www.mysite.com/">here</A>
</body>
</html>
However this is a bit beyond my understanding, and to me it does not make sense, Like the first comment by Qphoria, I think this is an 'RBS site' issue, I don't see how the opencart code has any control at that stage.
Yea, that doesn't make sense to me.
I don't have worldpay, but I assume it works like Paypal
Checkout->Goto Worldpays site to pay->Get Worldpay success->Redirect back to your site.
The Worldpay success page is what would need to do the redirect based on that design. There is nothing to script as it is their site.
Unless they allow you to have a custom success page and allow you to add redirect code, but redirecting back to the callback seems like basic functionality that all offsite payment gateways should have.
I don't have worldpay, but I assume it works like Paypal
Checkout->Goto Worldpays site to pay->Get Worldpay success->Redirect back to your site.
The Worldpay success page is what would need to do the redirect based on that design. There is nothing to script as it is their site.
Unless they allow you to have a custom success page and allow you to add redirect code, but redirecting back to the callback seems like basic functionality that all offsite payment gateways should have.
I will go back to worldpay support, now I have a little more confidence that their first answer was incorrect.
I will post their response once I receive it.
Thanks
I will post their response once I receive it.
Thanks
Just spoken to worldpay again, they claim that although the URL of the final page is theirs, it is generated by the opencart call back script. It is this script that must be changed they claim.
I have attached below a copy of the page, as its just the text, its not formatted correctly, but this should be sufficent to identify if its from the opencart code:
Thank you for shopping with Celia's Kitchen Store ....
Response from WorldPay:
Thank you, your payment was successful
Merchant's Reference: 24
RBS WorldPay Transaction ID: 1084405565
Please contact RBS WorldPay immediately if there has been a problem making your payment.
... your payment was successfully received.
Please wait... whilst we finish processing your order.
If you are not automatically re-directed in 10 seconds, please click here.
I will take a look at this myself later today, but if anyone now recognises the problem, please let me know.
I have attached below a copy of the page, as its just the text, its not formatted correctly, but this should be sufficent to identify if its from the opencart code:
Thank you for shopping with Celia's Kitchen Store ....
Response from WorldPay:
Thank you, your payment was successful
Merchant's Reference: 24
RBS WorldPay Transaction ID: 1084405565
Please contact RBS WorldPay immediately if there has been a problem making your payment.
... your payment was successfully received.
Please wait... whilst we finish processing your order.
If you are not automatically re-directed in 10 seconds, please click here.
I will take a look at this myself later today, but if anyone now recognises the problem, please let me know.
Found the problem...
opencart_v1.4.7\upload\catalog\view\theme\default\template\payment
The two worldpay modules 'success' and 'failure' are using Javacode for the redirect. I will fix the problem shortly and post the new PHP on this forum.
opencart_v1.4.7\upload\catalog\view\theme\default\template\payment
The two worldpay modules 'success' and 'failure' are using Javacode for the redirect. I will fix the problem shortly and post the new PHP on this forum.
In both the worldpay 'success' and 'failure' scripts, remove the following javacode lines:
<script type="text/javascript"><!--
setTimeout('location = \'<?php echo $continue; ?>\';', 2500);
//--></script>
And then add within the <head> section, just after the <title> definition the following line:
<meta http-equiv="refresh" content="5;url=<?php echo $continue; ?>">
This will then automaticly redirect the final worldpay page back to your store after 5 seconds.
This change is required as Worldpay no longer allow java script to be run on the redirect page.
<script type="text/javascript"><!--
setTimeout('location = \'<?php echo $continue; ?>\';', 2500);
//--></script>
And then add within the <head> section, just after the <title> definition the following line:
<meta http-equiv="refresh" content="5;url=<?php echo $continue; ?>">
This will then automaticly redirect the final worldpay page back to your store after 5 seconds.
This change is required as Worldpay no longer allow java script to be run on the redirect page.
Hi all,
I have instlled worldpay however I have a problem when a customer makes a purchase;
1. The order cannot be seen in my admin area
2. The customer cannot view "previous order history in their account"
Can anyone please advise what this could be?
Thank you
I have instlled worldpay however I have a problem when a customer makes a purchase;
1. The order cannot be seen in my admin area
2. The customer cannot view "previous order history in their account"
Can anyone please advise what this could be?
Thank you
Am I correct in thinking that the only Worldpay module is the one which Q maintains?
http://theqdomain.com/ocstore/worldpayx ... d=worldpay
http://theqdomain.com/ocstore/worldpayx ... d=worldpay
Who is online
Users browsing this forum: Amazon [Bot] and 3 guests