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

WorldPay Module for ZenCartv1.3x

Locked

Views: 137,079

Results 301 to 320 of 464
This thread is locked. New replies are disabled.
06 May 2008, 07:05
#301
apovey avatar

apovey

New Zenner

Join Date:
Jul 2007
Posts:
29
Plugin Contributions:
0

WorldPay Module for ZenCartv1.3x

We are currently using WorldPay as out payment gateway on our Zen Cart and all has been going well until now.

Yesterday someone purchased an order on our website and we received the email email back from WorldPay saying how much the order was for etc, but we never received an email from Zen Cart (as we normally do) detailing exactly what the order was.

Can anyone please help?

This is what error message we get when people use WorldPay.

Home :: WorldPay
Warning: Cannot modify header information - headers already sent by (output started at /home/london/public_html/shop/includes/templates/template_default/common/html_header.php:22) in /home/london/public_html/shop/includes/functions/functions_general.php on line 44

Here is the offending line 44 in functions_general.php

header('Location: ' . $url);

08 May 2008, 12:08
#302
apovey avatar

apovey

New Zenner

Join Date:
Jul 2007
Posts:
29
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

apovey:

We are currently using WorldPay as out payment gateway on our Zen Cart and all has been going well until now.

Yesterday someone purchased an order on our website and we received the email email back from WorldPay saying how much the order was for etc, but we never received an email from Zen Cart (as we normally do) detailing exactly what the order was.

Can anyone please help?

This is what error message we get when people use WorldPay.

Home :: WorldPay
Warning: Cannot modify header information - headers already sent by (output started at /home/london/public_html/shop/includes/templates/template_default/common/html_header.php:22) in /home/london/public_html/shop/includes/functions/functions_general.php on line 44

Here is the offending line 44 in functions_general.php

header('Location: ' . $url);

Can anyone possibly help me with this?

08 May 2008, 14:50
#303
aeisecurity avatar

aeisecurity

New Zenner

Join Date:
Feb 2008
Posts:
10
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

duncanad:

Sarah,

Relatively simple solution - just one line of code.

In includes/modules/payment/worldpay.php at around line 123 find this section of code:

  $process_button_string = 
  zen_draw_hidden_field('instId', MODULE_PAYMENT_WORLDPAY_ID) .
> 
> Add a new line immediately below this as follows:
> ```
zen_draw_hidden_field('accId1', 'x') .

Replace the 'x' with the appropriate account number.

That's it!

I haven't tested this so test it out first yourself before using live. Please report back here whether it works or not.

Regards,

Alan

Hello, i have this problem and this did not solve it, do you have another suggestion?

15 May 2008, 11:27
#304
bigbadboy avatar

bigbadboy

Totally Zenned

Join Date:
Apr 2008
Location:
London
Posts:
557
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

apovey:

Can anyone possibly help me with this?
Normally 'headers already sent' means there is an extra line in the file.

Open the mentioned files, scroll to the bottom of them and see if there is an exra return after the final ?>.
Delete the extra spaces.

15 May 2008, 11:28
#305
bigbadboy avatar

bigbadboy

Totally Zenned

Join Date:
Apr 2008
Location:
London
Posts:
557
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

I have the same problem as sharper, on final checkout page there is no "pay" button.

Any pointers?

17 May 2008, 17:05
#306
marcps avatar

marcps

Zen Follower

Join Date:
Feb 2005
Posts:
92
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

I have the same problem as sharper130 & bigbadboy...

I have this working on other sites for months - but a new install has not worked from the start.

If I select Cheque as a payment i get a confirmation button
If I select worldpay as payment the page loads up to.....

<form name="checkout_confirmation" action="https://select.worldpay.com/wcc/purchase" method="post" id="checkout_confirmation" onsubmit="submitonce();">

and then stops.

Any ideas????

Marc

21 May 2008, 04:42
#307
pazaz avatar

pazaz

New Zenner

Join Date:
May 2007
Posts:
47
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

I have the same issue. No final submit order button???

24 May 2008, 21:05
#308
andrie avatar

andrie

New Zenner

Join Date:
May 2008
Posts:
3
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

Please help. I am live but now see the Callback function not working. WorldPay completes the transaction and returns the user to a blank template of my store with no info. The url is shown as

https://select.worldpay.com/wcc/card

Also the order does not get updated into Zen Cart.

I have double-check and triple-checked my installation and have clearly missed something. Other data points to know:

  • Payment reponse URL set to http://<wpdisplay item="MC_callback"> with the enable response box ticked.
  • enable Shopper response is ticked
  • ZenCart shows the module set to live

What have I done wrong?

02 Jun 2008, 08:41
#309
digimac avatar

digimac

New Zenner

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

Re: WorldPay Module for ZenCartv1.3x

Hi I am also having an issue with the callback from worldpay.
Worldpay takes the payment and sends the payment notification and transfers to the zen cart site. When this happens I get the following error:
Warning: Cannot modify header information - headers already sent by (output started at /home//public_html/includes/templates/ZC03C00094/common/html_header.php:22) in /home//public_html/includes/functions/functions_general.php on line 44

I have posted in this thread but still have the issue despite following the advise given: http://www.zen-cart.com/forum/showthread.php?t=79162

I have tried the above template and the classic template and get the same error.

Any help would be much appreciated

Cheers
Brian

03 Jun 2008, 21:25
#310
swalka avatar

swalka

New Zenner

Join Date:
Jan 2006
Location:
UK
Posts:
38
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

Alan

Can you help please! I've tried all the options in this thread and still none the wiser. installing SSL on the hosting is not an option currently.

I have a live site ppekit co uk. all has been working fine since feb until the WP update and a new junior Id was given to my client payments into a separate merchant account.
Prior to this it all seemed to be working fine with an alternative Junior ID. New ID was activated may 15th.

The problem it seemed was intermittant orders not appearing on the backend. The first time it happened it was attributed by worldpay to being a session or time out error. Today we had three payments accepted and no orders on the backend.

After extensive testing in test mode the intermittent problem might be attributed to this.

If the client is using IE7 and goes through with a sucessfull worldpay transaction. a pop up diaglue appers with (you guessed it) secure and insecure items with the csshover.htc error. sometimes a no click can result in no order being added to the backend but this doent not appear to be consistent.

firefox is fine.

Any heko would be greatly appreciated, my client is very concearned as he has to contact the customer directly and it appears unproffessional.

many thanks

Sarah

05 Jun 2008, 15:24
#311
afterhour avatar

afterhour

Zen Follower

Join Date:
Dec 2007
Posts:
92
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

How do I check what items are non secure on my checkout pages, everything was working fine until I installed this mod :(

I tried the debug plugin but that doesn't help..

http://www.allgoodideas.co.uk

Any help appreciated

Kind Regards
AfterHouR

05 Jun 2008, 16:40
#312
afterhour avatar

afterhour

Zen Follower

Join Date:
Dec 2007
Posts:
92
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

Problem sorted :)

For some reason with the sidebox Reviews enabled it kicked out the error...

Anyone else having the same problems with unsecure items being displayed check these first..

I hope that helps.

Kind Regards
AfterHouR
http://www.allgoodideas.co.uk

05 Jun 2008, 16:46
#313
afterhour avatar

afterhour

Zen Follower

Join Date:
Dec 2007
Posts:
92
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

Oh, sorry just remembered..

I had another error too

entering the following script to display the worldpay logos gave me a w3c validation error..

<script language="JavaScript" src="https://www.worldpay.com/cgenerator/cgenerator.php?instId=XXXXX"></script>

if you change the above to

<script type="text/javascript" src="https://select.worldpay.com/wcc/logo?instId=XXXXX"></script>

It then passes w3c validation

(replace xxxxx with your worldpay id)

Regards
AfterHouR
http://www.allgoodideas.co.uk

05 Jun 2008, 17:20
#314
afterhour avatar

afterhour

Zen Follower

Join Date:
Dec 2007
Posts:
92
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

AfterHouR:

Problem sorted :)

For some reason with the sidebox Reviews enabled it kicked out the error...

Anyone else having the same problems with unsecure items being displayed check these first..

I hope that helps.

Kind Regards
AfterHouR
http://www.allgoodideas.co.uk

Sorry problem not sorted, I still have unsecure items on the page and cannot figure out where :frusty:

09 Jun 2008, 14:59
#315
digimac avatar

digimac

New Zenner

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

Re: WorldPay Module for ZenCartv1.3x

Hi I posted this problem a few days ago concerning the worldpay module. I am still no further forward in fixing the issue. Any help would be greatly appreciated.

Worldpay takes the payment and sends the payment notification and transfers to the zen cart site. When this happens I get the following error:
Warning: Cannot modify header information - headers already sent by (output started at /home//public_html/includes/templates/ZC03C00094/common/html_header.php:22) in /home//public_html/includes/functions/functions_general.php on line 44

I have posted in this thread but still have the issue despite following the advise given: http://www.zen-cart.com/forum/showthread.php?t=79162

I have tried the above template and the classic template and get the same error.

Any help would be much appreciated

Cheers
Brian

11 Jun 2008, 11:04
#316
swuk avatar

swuk

New Zenner

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

Re: WorldPay Module for ZenCartv1.3x

I've had a few sites running Zen Cart v1.3.7 and the World Pay module succesfully for some time.

My hosting company upgraded to PHP v5 at the weekend and it seems this has broken the World Pay module. Other payment modules are still working fine, but when a customer selects the World Pay option the page doesn't fully load so there's no button to press to continue with the order.

It sounds similar to what some other people are reporting (are they also running on PHP v5?), although I haven't investigated this fully yet. I will report back when I find out what the problem / solution is. But I thought I'd post here just in case someone else has already run into problems with the World Pay module when upgrading to PHP 5 and figured out the solution!

Are there any known incompatibilities between the World Pay module and PHP v5?

Is anyone using the World Pay module succesfully with PHP 5 and Zen Cart v1.3.7?

11 Jun 2008, 17:22
#318
trevorsantiagp avatar

trevorsantiagp

New Zenner

Join Date:
Jun 2008
Posts:
1
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

hello, i am new to this forum, and i am looking for a a merchant account. I guess i am cosidered high risk. I own a land based pharmacy, and i also have it online. Does anyone have any information that would be useful?

12 Jun 2008, 19:54
#319
swalka avatar

swalka

New Zenner

Join Date:
Jan 2006
Location:
UK
Posts:
38
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

swalka:

Alan

Can you help please! I've tried all the options in this thread and still none the wiser. installing SSL on the hosting is not an option currently.

I have a live site ppekit co uk. all has been working fine since feb until the WP update and a new junior Id was given to my client payments into a separate merchant account.
Prior to this it all seemed to be working fine with an alternative Junior ID. New ID was activated may 15th.

The problem it seemed was intermittant orders not appearing on the backend. The first time it happened it was attributed by worldpay to being a session or time out error. Today we had three payments accepted and no orders on the backend.

After extensive testing in test mode the intermittent problem might be attributed to this.

If the client is using IE7 and goes through with a sucessfull worldpay transaction. a pop up diaglue appers with (you guessed it) secure and insecure items with the csshover.htc error. sometimes a no click can result in no order being added to the backend but this doent not appear to be consistent.

firefox is fine.

Any heko would be greatly appreciated, my client is very concearned as he has to contact the customer directly and it appears unproffessional.

many thanks

Sarah

This Css error has not been resolved but I have been contacted by world pay who have finally owned up to having some transaction errors on their server last week that can be attributed to this sort of error.

Alan - if you are around can you advise on the CSS issue please. thanks in advance.

12 Jun 2008, 23:36
#320
duncanad avatar

duncanad

Zen Follower

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

Re: WorldPay Module for ZenCartv1.3x

This is a reply to those who have reported issues with this module running on PHP 5.

Firstly - I don't as yet Have PHP 5 running on my server so I have not been able to do any testing on PHP 5

Secondly the existing WorldPay module is based on ZenCart 1.2x code so it is really past it's sell by date and this may be the core of the PHP issues.

I have completely re-written the module based on v 1.3x code and this works well on my test site. I suspect this may well work OK on PHP 5 but I don't know. There is still a little tidying up of templates to so but I am willing to release my current fileset on the basis that anyone installing it should do so on a test installation only and that they provide feedback via this forum. I am particularly interested to know if this solves the PHP 5 issues.

If you have the previous version of this module installed this must be uninstalled and the fileset completely removed from the server. The new version has an almost completely new fileset.

You can download my new version - at your own risk - from my website at http://www.workingit.co.uk/ZenCart/WorldPay/WorldPay_ZC1.3x_v1.0_beta.zip

I await feedback with bated breath.

Regards,

Alan