Post by 78 Design » Wed Dec 07, 2011 1:16 am

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 ;D

thanks

Pete

Newbie

Posts

Joined
Wed Dec 07, 2011 1:05 am

Post by jeoob » Sun Jan 08, 2012 5:40 pm

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 ?

Newbie

Posts

Joined
Tue Dec 27, 2011 3:47 am

Post by Qphoria » Mon Jan 09, 2012 4:29 am

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

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by jeoob » Mon Jan 09, 2012 6:39 am

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.

Newbie

Posts

Joined
Tue Dec 27, 2011 3:47 am
Who is online

Users browsing this forum: No registered users and 31 guests