Page 1 of 1
Worldpay Payment Module Problem 1.4.7
Posted: Wed Dec 07, 2011 1:16 am
by 78 Design
Hi,
I am experiencing a problem with the Worldpay payment gateway, when a user creates an account with the site and uses the Worldpay payment method it doesnt send any information through to WorldPay the first time, if you reattempt the information is sent through correctly and payment can proceed I cannot see any reason why this would be the case and this is my first time using Worldpay as a payment my clients usually use SagePay or PayPal which works fine.
The problem is only happening on new accounts and is not a persistant problem once registered and been through the process or used another payment gateway.
Any suggestions on how to solve this or what it could be thats causing it will be greatly appreciated
thanks
Pete
Re: Worldpay Payment Module Problem 1.4.7
Posted: Sun Jan 08, 2012 5:40 pm
by jeoob
Hi - I got a similar issue - on 1.5.1.3, I installed WorldPay and put it in test mode. After the successfull test transaction, I got these errors on the screen, without being redirected back to my store :
Warning: require(./../prepare.php) [function.require]: failed to open stream: No such file or directory in /home/filigree/public_html/payments/worldpay.php on line 41
Warning: require(./../prepare.php) [function.require]: failed to open stream: No such file or directory in /home/filigree/public_html/payments/worldpay.php on line 41
Fatal error: require() [function.require]: Failed opening required './../prepare.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/filigree/public_html/payments/worldpay.php on line41
Any idea why this is happening? I seem to be missing a file called prepare.php ?
Re: Worldpay Payment Module Problem 1.4.7
Posted: Mon Jan 09, 2012 4:29 am
by Qphoria
jeoob wrote:Hi - I got a similar issue - on 1.5.1.3, I installed WorldPay and put it in test mode. After the successfull test transaction, I got these errors on the screen, without being redirected back to my store :
Warning: require(./../prepare.php) [function.require]: failed to open stream: No such file or directory in /home/filigree/public_html/payments/worldpay.php on line 41
Warning: require(./../prepare.php) [function.require]: failed to open stream: No such file or directory in /home/filigree/public_html/payments/worldpay.php on line 41
Fatal error: require() [function.require]: Failed opening required './../prepare.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/filigree/public_html/payments/worldpay.php on line41
Any idea why this is happening? I seem to be missing a file called prepare.php ?
First off, that isn't opencart. There is no path in opencart at public_html/payments/worldpay.php
Secondly, there are no outside requires in OpenCart core files. Not sure what you are running but it isn't opencart.
The 1.4.7 problem was fixed in 1.5.1.3 and will be in the core in 1.5.2.
That fix is here:
http://forum.opencart.com/viewtopic.php?f=113&t=43081
Re: Worldpay Payment Module Problem 1.4.7
Posted: Mon Jan 09, 2012 6:39 am
by jeoob
Of course, you're right. We are indeed running Opencart now, but have switched from CS-Cart recently and the Worldpay system must have an old response URL stored. I have contacted them.
Thanks, it was too obvious for me to notice.