Zen Cart Logo
Forums / Addon Payment Modules / WorldPay Module for ZenCartv1.3x

WorldPay Module for ZenCartv1.3x

Locked

Views: 137,079

Results 161 to 180 of 464
This thread is locked. New replies are disabled.
11 Jul 2007, 12:49 PM
#161
duncanad avatar

duncanad

Zen Follower

Join Date:
Nov 2004
Location:
Glasgow, Scotland
Posts:
247
Plugin Contributions:
0

WorldPay Module for ZenCartv1.3x

Slitter,

What you are getting is a PHP error which, since you haven't had this previously, would indicate that you have made some change to the code.

The two files mentioned in the error message are not part of the WorldPay module fileset.

The html_header.php file is called by every page in Zencart (I think!) so if there was an error there I would expect you would experience this error elsewhere and not just at checkout.

The functions_general.php file is also a common file which is called as required depending on where you are in Zencart. I would suspect that if there has been a recent change to the code this is where it will be.

Have you added any new modules to your Zencart recently? If so were any changes made to either of these two files?

Regards,

Alan

11 Jul 2007, 5:42 PM
#162
slitter avatar

slitter

New Zenner

Join Date:
Jun 2005
Posts:
39
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

Nothing had been changed everything was working fine.
I have other payment modules which work fine.
It just happened after a Worldpay outage on the 10th of july (yesterday) somewhere around 11.00 GMT but the Worldpay helpdesk said that this didn't cause any influence because the error occurs on my server.
I have read the thread: https://www.zen-cart.com/tutorials/index.php?article=87
What happens with <?php echo HTML_PARAMS; ?> in html_header.php?

thanks for helping me out so far
greetings, slitter

11 Jul 2007, 6:25 PM
#163
slitter avatar

slitter

New Zenner

Join Date:
Jun 2005
Posts:
39
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

I have been using the Time zone module (for 1.3.7 versions) which allows me to set a time zone offset . I dont know of any global time changes otherwise that could be the problem.

12 Jul 2007, 12:47 PM
#164
slitter avatar

slitter

New Zenner

Join Date:
Jun 2005
Posts:
39
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

Solved it by using a backup from a week ago.
thanks,
slitter

11 Aug 2007, 8:58 AM
#165
hiddink avatar

hiddink

New Zenner

Join Date:
Aug 2005
Posts:
45
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

Hello,

I am testing the WP-module. At the "checkout_confirmation"-page, I get the following PHP-error:
"Catchable fatal error: Object of class queryFactoryResult could not be converted to string in D:\domains\wwwroot\includes\functions\functions_general.php on line 660"

I am using PHP5 and guess it has something to do with this version. However, I can not see whether the code in "functions_general.php" should be adjusted or the code whithin the WP-module should be adapted.

Any suggestions?

Thanks in advance for your advice!!!

Best regards,

4 Sep 2007, 3:49 PM
#167
thieving_gypsy avatar

thieving_gypsy

New Zenner

Join Date:
May 2006
Posts:
87
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

Hello

I've had the problem in functions_general.php and got round it thanks to the post above.

However I'm now getting the same error in /includes/modules/payment/worldpay.php on line 153 which is as follows;

        $md5_signature = MODULE_PAYMENT_WORLDPAY_MD5KEY . ':'.$OrderAmt.':' . $language_code . ':' . $order->customer['email_address'];

Any ideas anybody?

Thanks

Andy

10 Sep 2007, 2:19 PM
#168
crazycucumber avatar

crazycucumber

Zen Follower

Join Date:
Jan 2006
Posts:
403
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

Worldpay are upgrading / changing something for worldpay customers soon , do you think it will have any impact on us ?

If so is someone available to make the changes needed .

Or are we all uncertain of the changes and awaiting worldpay's advice ont he 15th October ?

Some info here http://www.worldpay.com/support/upgrade/home.php

17 Sep 2007, 9:16 AM
#169
spottedhaggis avatar

spottedhaggis

Zen Follower

Join Date:
Dec 2005
Location:
Maidstone, Kent, UK
Posts:
310
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

Hi all.

I have installed this, and my client already has a live WP acount, though I have setup the Zen side to test only, and I have a few questions I need help with if possible.

  1. What is the actual calback url I need to put into worldpay?
  2. Can the Cart ID be a little friendlier than 2cc701ba65919e5b3da2e0ee534133a9 at all.

Thanks in advance.

17 Sep 2007, 10:50 AM
#170
spottedhaggis avatar

spottedhaggis

Zen Follower

Join Date:
Dec 2005
Location:
Maidstone, Kent, UK
Posts:
310
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

ok I figured out the callback URL is and also what needs to be enabledd at WP for the callback to work, and assume this information is correct

Callback URL: http://<wpdisplay item="MC_callback">

Callback Enabled: box ticked

Use callback response? : box ticked

Attach callback data to failure email? : box ticked

However, when using the module in test mode, I go through the checkout process, into WP, and the transaction is made without issue however I do not at any time rerturn to the Zencart.

I cant figure out why this is not happening.

I believe my host is using PHP5, however the one it will be installed on is PHP4, so if I am using PHP5 is their anything I ned to do.

I have tried replacing the parts as per ref in this thread a ways back, but it had no effect.

I dont seem to get any error message or error email telling me the calback has failed, it just simply does nothing, and the cart shows the product still in my basket and no order has been received in the cart.

Please help , thanks in advance

18 Sep 2007, 7:54 AM
#171
suffrinmick avatar

suffrinmick

New Zenner

Join Date:
Jun 2005
Posts:
19
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

Alan - you are very patient person! - i've just read through all the posts in this thread and see that you've repeated yourself quite a few times because people don't read all the posts.

Unfortunately I'm having problems with the worldpay module after upgrading a site to 1.3.7 and moving to a server with php 5.1.6.

I've tried all the suggestions in the forum re. php5 but still get the:

.. your payment has been cancelled!
Response from WorldPay:

This is a TEST TRANSACTION. No money has changed hands

and, of course, the order doesn't get processed in zencart.

We tried the site on a different server (PHP4) and it was fine.

Are there some ssl settings I need to look at?
After returning from worldpay; the url is: https://select.worldpay.com/aequitas/card?op-PMGetNextPage&PaymentID=1190100180110
I don't have any ssl on the domain.

Or does the module simply not work yet with php5?

I'm stuck!

Thanks
Paul

25 Sep 2007, 8:44 AM
#172
thieving_gypsy avatar

thieving_gypsy

New Zenner

Join Date:
May 2006
Posts:
87
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

Hello All...

I've not yet got the the bottom of the problem on my shop - we are running php5.2 and since the upgrade to that version the WorldPay mopdule has not worked.

I'm getting "Catchable fatal error: Object of class queryFactoryResult could not be converted to string " in /includes/modules/payment/worldpay.php on line 153

I think I may have to move the site to a server running php 4x until such time as the WorldPay module is compatible with php5.2

Has anybody actually got the Worldpay module to work on php5.2?

Thanks

Andy

25 Sep 2007, 9:19 AM
#174
thieving_gypsy avatar

thieving_gypsy

New Zenner

Join Date:
May 2006
Posts:
87
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

Hi CES

Thanks for the heads up on that solution - I've made those changes as that makes sense. However it still doesn't solve my problem which occurs on the checkout_confirmation page.

Catchable fatal error: Object of class queryFactoryResult could not be converted to string in /home/ukequipm/public_html/shop/includes/modules/payment/worldpay.php on line 153

Andy

25 Sep 2007, 10:08 AM
#175
thieving_gypsy avatar

thieving_gypsy

New Zenner

Join Date:
May 2006
Posts:
87
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

Hello

As an update on this - I have set the Use MD5 value to false - which prevents the error. Now to see what the implications of that are!

Andy

25 Sep 2007, 10:43 AM
#176
thieving_gypsy avatar

thieving_gypsy

New Zenner

Join Date:
May 2006
Posts:
87
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

I have investigated this problem and have found that the WorldPay module is failing to return the $language_id which is then causing teh MD5 command to fail.

Andy

5 Oct 2007, 1:18 PM
#177
craigfer avatar

craigfer

New Zenner

Join Date:
Sep 2007
Posts:
10
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

hi has anyone seen this error message

it happens when my cart is full and I go to pay for it via worldpay

Catchable fatal error: Object of class queryFactoryResult could not be converted to string in /home/fhlinux170/a/my_domain/user/htdocs/zen-cart/includes/functions/functions_general.php on line 660

8 Oct 2007, 8:48 AM
#178
ryanc avatar

ryanc

New Zenner

Join Date:
Mar 2005
Posts:
10
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

Catchable fatal error: Object of class queryFactoryResult could not be converted to string in /home/XXXXXXXXX/public_html/includes/modules/payment/worldpay.php on line 153

Got this problem too, via php 5.2 help!

10 Oct 2007, 10:28 AM
#179
wojtekk avatar

wojtekk

New Zenner

Join Date:
Oct 2007
Posts:
3
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

Hi guys

I am stuck... I have installed WorldPay module and configured it according to the information from the installation manual, but... It simply does not work, it's not even showing the WorldPay payment method in the checkout process (although I am not sure if it should be shown). I have activated only the CC payment and WorldPay payment method, but nothing happens and all the system does it is just taking standard CC payment. Please help :(

It's Zen Cart 1.3.7 on PHP Version 5.1.6. Settings are as follows:

Credit Card via WorldPay worldpay 1 default

Enable WorldPay Module - True
Worldpay Installation ID - xxxxx ;)
Transaction Mode - 100
Use MD5? - False
MD5 secret key -
Sort order of display - 1
Use Pre-Authorisation? - False
Set Order Status - default
Pre-Auth - A
Payment Zone - United Kingdom

There's even more to this; unfortunately, WorldPay - while trying to authenticate my installation - is sending me an email:

--
We are currently checking your website prior to activating your installation, and have found that the following problems that need correcting before we can complete the activation.


NOT LINKING TO WORLDPAY
We have been unable to make a test transaction through your site as it does not appear to be linking to the WorldPay payment gateway. [...]

So I assume it simply does not work, it's just not calling WorldPay at all... Can someone help me please? I am fighting with it for last two weeks :/

Cheers
Wojtek

10 Oct 2007, 3:19 PM
#180
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: WorldPay Module for ZenCartv1.3x

wojtekk:

Hi guys

I am stuck... I have installed WorldPay module and configured it according to the information from the installation manual, but... It simply does not work, it's not even showing the WorldPay payment method in the checkout process (although I am not sure if it should be shown). I have activated only the CC payment and WorldPay payment method, but nothing happens and all the system does it is just taking standard CC payment. Please help :(

It's Zen Cart 1.3.7 on PHP Version 5.1.6. Settings are as follows:

Credit Card via WorldPay worldpay 1 default

Enable WorldPay Module - True
Worldpay Installation ID - xxxxx ;)
Transaction Mode - 100
Use MD5? - False
MD5 secret key -
Sort order of display - 1
Use Pre-Authorisation? - False
Set Order Status - default
Pre-Auth - A
Payment Zone - United Kingdom

There's even more to this; unfortunately, WorldPay - while trying to authenticate my installation - is sending me an email:

--
We are currently checking your website prior to activating your installation, and have found that the following problems that need correcting before we can complete the activation.


NOT LINKING TO WORLDPAY
We have been unable to make a test transaction through your site as it does not appear to be linking to the WorldPay payment gateway. [...]

So I assume it simply does not work, it's just not calling WorldPay at all... Can someone help me please? I am fighting with it for last two weeks :/

Cheers
Wojtek

Have you activated the sidebox showing that you accept worldpay payments?