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

WorldPay Module for ZenCartv1.3x

Locked

Views: 137,079

Results 181 to 200 of 464
This thread is locked. New replies are disabled.
10 Oct 2007, 3:21 PM
#181
wojtekk avatar

wojtekk

New Zenner

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

WorldPay Module for ZenCartv1.3x

clydejones:

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

No, but I have used the javascript to display the necessary logos. Shouldn't that do?

Thanks for help!
W

10 Oct 2007, 3:55 PM
#182
simonv74 avatar

simonv74

New Zenner

Join Date:
Jul 2004
Posts:
20
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

Has anyone got any updates, I get to the 'Thank you, your payment was successful' page and no further, despite following the advice in this thread.

Thanks

17 Oct 2007, 9:54 AM
#183
wojtekk avatar

wojtekk

New Zenner

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

Re: WorldPay Module for ZenCartv1.3x

wojtekk:

No, but I have used the javascript to display the necessary logos. Shouldn't that do?

Thanks for help!
W

Any news guys? I'd really appreciate your help... Thanks!
Wojtek

23 Oct 2007, 2:16 AM
#184
tigerbalm avatar

tigerbalm

New Zenner

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

Re: WorldPay Module for ZenCartv1.3x

Many thanks to duncanad for your invaluable contributions to this thread and module. Your help and advice has helped me out no end in the past :o)

Is anyone reading this qualified to comment on the technical changes to Worldpay systems? Will this have any impact on the workings of the Worldpay module for Zen Cart?

To the best of my limited ability, I can't see how it could have any impact at a glance - but don't take this as read - my knowledge is severely limited!

many thanks

26 Oct 2007, 5:43 PM
#185
knighs2 avatar

knighs2

New Zenner

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

Re: WorldPay Module for ZenCartv1.3x

Hi Guys

Ive installed the WP mod but when you get diverted from WP back to zencart i get the following error:

Fatal error: Cannot redeclare class order in /home/sites/1body1life.biz/public_html/Shop/includes/classes/order.php on line 20

Anyone know what it is ?

Thanks

6 Nov 2007, 3:57 PM
#186
crazycucumber avatar

crazycucumber

Zen Follower

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

Re: WorldPay Module for ZenCartv1.3x

Billing and Shipping address on worldpay seem to be mixed up ! maybe it has always been like this , but 6000 orders and this is the first person to call me and say its wrong ! im sure i would have tested it .

If you use a different billing address , zen-cart seems to send the shipping address to worldpay ! I have not changed anything on the site in 6 months and the server has not been upgraded or changed in anyway !

Any clues grateful , i get about 5 orders a day where the address's are different , this will soon annoy the hell out of the customers !

thanks

6 Nov 2007, 4:21 PM
#187
crazycucumber avatar

crazycucumber

Zen Follower

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

Re: WorldPay Module for ZenCartv1.3x

After a little more testing , worldpay actually ignores Delivery / billing address's altogether and seems to take whatever is your primary address.

in other words if I have an account set up with Primary address A
and then want to ship it elsewhere ( Address B ) and also have it billed to a 3rd address ( address C ) very rare I know , but it goes to prove a point .

Worldpay only ever takes address A !

I need to fix this .. Help.

6 Nov 2007, 4:38 PM
#188
duncanad avatar

duncanad

Zen Follower

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

Re: WorldPay Module for ZenCartv1.3x

If you use a different billing address , zen-cart seems to send the shipping address to worldpay !

It doesn't use the shipping address. It always uses the 'Primary' address set by the customer. The customer can change their primary address by logging in and clicking 'My Account'.

If you set either or both of the shipping and billing addresses to other than the primary address it will be the primary address which is sent to WorldPay.

The way the WorldPay module is set up the customer can change the billing address on the WorldPay payment pages. This address must match the billing address for the credit card being used. I would imagine most customers billing address will be fairly static which is why no one has noticed this before. Delivery address is more likely to change as customers may be ordering goods as a gift. In this which the billing address will be the purchaser's anyway.

I don't think it is a big issue but it might be worth considering a change at the next release.

Regards,

Alan

6 Nov 2007, 4:45 PM
#189
crazycucumber avatar

crazycucumber

Zen Follower

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

Re: WorldPay Module for ZenCartv1.3x

Thanks , now I've calmed down and had time to think about it , I agree , it must be a very rare case , possibly 1 in 6000 for me !

Also I See why its never flagged before. Like you say , might be a nice addition to any new release.

( its all seemed to gone quiet on the major worldpay upgrade they scared us with ! )

Thanks again

9 Nov 2007, 8:02 PM
#190
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: WorldPay Module for ZenCartv1.3x

Apparently there is going to be a Major Upgrade in December by Worldpay and " some changes may affect your connection to the payment service".

Does anyone know if this is going to affect the ZenCart Worldpay module?

9 Nov 2007, 8:49 PM
#191
duncanad avatar

duncanad

Zen Follower

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

Re: WorldPay Module for ZenCartv1.3x

Ryk,

Where are you getting your information that a major upgrade is on the cards?
I can't see anything about it on the WorldPay site.

Alan

9 Nov 2007, 9:49 PM
#193
duncanad avatar

duncanad

Zen Follower

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

Re: WorldPay Module for ZenCartv1.3x

Ryk,

It's OK I found the link on the Account Login page.

I've had a quick read through and I think most of the changes are at the WorldPay end, some to provide a better service for merchants and some to meet new security standards.

For example an organisiation will now not have a single login identity but each authorised admin within an organisation will have their own login and profile. This will achieve two things

  1. Organistaions will be able to decide which areas within the WorldPay Control Panel each login has access to. i.e. access can be tailored to function.
  2. Any transaction carried out on the control panel can be traced to an individual.

Merchants need to be aware of this and should set up a separate login and profile for each of their authorised operatives. My reading of this is that this will not be optional but a mandatory requirement. Failure to do this will constitute a breach of regulatory requirements. There will be a requirement to to cross reference all transactions to login ID.

The above will have no impact on the current ZenCart WorldPay module.

There will be a change in the way Test transactions are handled. Currently these are directed according to the 'testMode' value. In future, if an order is processed using a testMode value of '100' or '101' and the URL for the live environment (the way test transactions are typically submitted on the current system), you will be presented with a page asking you if you want to redirect the submission to the (new) test environment (https://select-test.worldpay.com/wcc/purchase.) If you do not take this option, the transaction the test order will be directed to the live environment (https://select.worldpay.com/wcc/purchase). If your account is not live you will receive an error. If the installation is live, the result will depend on the card you used:

Test card: if you used a known test card number WorldPay will block the transaction.

Live card: WorldPay will submit the card details to the card-issuing bank, where it will be processed like any other payment - they decide if the transaction should be authorised or refused. In the case where the transaction is authorised, funds will be debited from the card and you would have to perform a cancellation or a refund to recover those funds.

If you do opt to send the test transaction to the test environment, the transaction is sent to the test environment, processed and reported (in the test environment) according to what you specified in the Shopper Name field.

The above means that the current ZenCart module will still work OK after the upgrade but Users will need to be careful how they respond to the choices they will now be offered.

A better solution will require a minor change to the module so that in 'Test' mode the module directs to the test environment URL and avoids any confusing choices being presented. This shouldn't be a big issue except that WorldPay don't seem to have set a date for the upgrade to be implemented.

There are also some installation specific issues which merchants should be aware of so those who have a WorldPay account should read the section on the upgrade themselves to ensure that they understand any procedural changes they require to make.

If anyone thinks there are any further technical changes that may be required to the module please post details here.

Regards,

Alan

9 Nov 2007, 10:04 PM
#194
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: WorldPay Module for ZenCartv1.3x

Thanks for that - you've explained clearly.

I believe this was due to happen, but the client who queried me has been told it will be 8 December

12 Nov 2007, 11:35 AM
#195
craigfer avatar

craigfer

New Zenner

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

Re: WorldPay Module for ZenCartv1.3x

Does anyone know how to delete some of the credit card images on World Pay?

12 Nov 2007, 11:41 AM
#196
tigerbalm avatar

tigerbalm

New Zenner

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

Re: WorldPay Module for ZenCartv1.3x

Hi Craig

Edit includes/templates/template_default/sideboxes/tpl_wp_cc_accept.php

and comment out / delete the required lines

ta

19 Nov 2007, 3:59 PM
#197
johneemac avatar

johneemac

New Zenner

Join Date:
Sep 2006
Posts:
65
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

Im getting this error

[B] ... your payment has been cancelled!    [/B]

            Response from WorldPay:          

This is a TEST TRANSACTION. No money has changed hands

Your payment has been cancelled.  Please contact us for alternative methods of payment. If you have experienced any problems with your payment please contact WorldPay immediately.

Our ref: 
          
You will find WorldPay contact information here

I have it in livemode - 0
MD5 is switched off an pre auth is false.

Iv tried this : http://www.zen-cart.com/forum/showpost.php?p=248440&postcount=41

But it didnt seem to help.

19 Nov 2007, 4:46 PM
#198
duncanad avatar

duncanad

Zen Follower

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

Re: WorldPay Module for ZenCartv1.3x

JohneeMac,

Firstly you shouldn't be testing in live mode. Get it working in test mode first. In fact this might just be your problem. You can't go live until WorldPay has tested your installation and made it live. If this hasn't been done then the result is correct. WorldPay are cancelling the transaction because your installation is not yet live.

For testing successful transactions you should set the module transaction mode in admin to '100'

Use visa card number '4111111111111111' for testing.

If this doesn't do the trick see this post:

http://www.zen-cart.com/forum/showpost.php?p=289677&postcount=77

Hope this helps.

Alan

20 Nov 2007, 5:47 PM
#199
johneemac avatar

johneemac

New Zenner

Join Date:
Sep 2006
Posts:
65
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

Thanks for that.

I am still getting the same error in test mode and WorldPay have apparently validated the account.

Before i go and look at those links can someone confirm i should still get the error in test mode? Or should it work ok and return the order as confirmed and give success message?

20 Nov 2007, 8:58 PM
#200
duncanad avatar

duncanad

Zen Follower

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

Re: WorldPay Module for ZenCartv1.3x

JohneeMac

In test mode:

transaction mode = "100" all transactions should be authorised provided you use a valid card number and a valid expiry date. No funds will be transferred.

transaction mode = "101" all transactions will be declined. No funds will be transferred.

transaction mode = "0" transactions will be sent to the bank for the standard authorisation process. Successful transactions will result in funds being transferred.

When a transaction fails at WorldPay no callback takes place. WorldPay returns the customer to the card details screen with an error message. The customer can then choose to re-enter their card details, enter the details of a different card or cancel the transaction. It is only if the customer clicks on 'Cancel' in the WorldPay pages that a 'Transaction Cancelled' message is returned to the ZenCart WorldPay module.

In includes/templates/template_default/tpl_wpcallback_default.php
at around line 47 there is this code:

  if($transStatus == "Y")

Basically if the value of $transStatus is 'Y' then the order is completed within ZenCart and the Checkout Success message is displayed on screen. If the value of $transStatus is anything else the order is not completed and the 'Transaction Cancelled' message is displayed.

It is very unlikely that WorldPay will have returned a value other than 'Y' unless the 'Cancel' button has been clicked, in which case the value will be 'C'.

The first thing to do is check that in the above code the 'Y' is contained within double quotes. If the double quotes is missing the test fails and the 'Cancelled
Transaction' message is displayed.

The next thing to do is to login to your WorldPay account and look at a statement for your test account. Any test transaction details will be detailed there and you will be able to see whether your test transaction was successful or failed.

Now add this line of code just above line 47

 echo "Transaction Status = " . $transStatus;

When you complete a test transaction you should see the value of $transStatus returned by WorldPay i.e, "Transaction Status = Y" for a successful transaction and "Transaction Status = C" for a cancelled transaction. If what you see is "Transaction Status = " then the problem is that the WorldPay module is not seeing the value returned by WorldPay.

If this is the case post back here with the version of PHP running on your server.

Hope this helps.

Alan