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

WorldPay Module for ZenCartv1.3x

Locked
Results 1 to 20 of 464
This thread is locked. New replies are disabled.
22 Jun 2006, 23:05
#1
duncanad avatar

duncanad

Zen Follower

Join Date:
Nov 2004
Posts:
247
Plugin Contributions:
0

WorldPay Module for ZenCartv1.3x

I have at last got around to testing the WorldPay Payment Module on ZenCartv1.3.0.1 and it works as it should. I have renamed the module to 'WorldPay Module for Zencartv3.1x' and re-versioned it v0.1. It should however still work for 1.2x versions.

I have updated the template for the 'Checkout Success' page to capture more of the data included in the WordPay response giving designers greater control of the content, look and feel of this page. Read the install.txt file contained in the download for more information.

I would have placed this on the Downloads section but it appears to be unavailable at the moment. I'll try again later. In the meantime you can download it from my server here:

http://www.workingit.co.uk/ZenCart/WorldPay/WorldPay_ZC1_3x_v0_1.zip

I will provide support via this thread.

Hope this proves useful to some.

Alan
27 Jun 2006, 23:35
#2
duncanad avatar

duncanad

Zen Follower

Join Date:
Nov 2004
Posts:
247
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

UPDATE:

This module is now available in the Downloads Section.

Regards,

Alan
29 Jun 2006, 12:59
#3
davej avatar

davej

New Zenner

Join Date:
Jun 2006
Posts:
4
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

Alan,

Thanks for contributing this module. I am currently trying it out and I see that it takes the user to a WorldPay branded page hosted on their server. With other payment modules that I've used, the checkout scripts send & receive the transaction data to the payment gateway behind the scenes, so that the user only sees locally-hosted pages. (IIRC the first arrangement is called the callback model, not sure what the name is for the second).

Is your module capable of working in the non-callback way?
If not, any plans for it to do so and would it take a lot of modification?
Or would it be quicker to modify a module for another payment gateway that works in the desired way?
Does WorldPay Select Junior support the non-callback method?
If we have to use the callback method, is it possible to customise the Worldpay payment page ( https://select.worldpay.com/wcc/purchase ) with design & branding to match the rest of the site?

Sorry so many questions, thanks again for the module.

Dave
04 Jul 2006, 14:05
#4
duncanad avatar

duncanad

Zen Follower

Join Date:
Nov 2004
Posts:
247
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

Dave,

Sorry for the delay in replying - just recovering from my son's wedding at the weekend!

I think what you are looking for is WorldPay Invisible:

http://support.worldpay.com/integrations/invisible

The current WorldPay payment module does not support this method.

Xspringe some time ago was looking for someone to develop this for him on a commercial basis but I do not know if he was successful.

Personally I am not convinced that this is a route I would want to go down for reasons explained in the forum debate between Xpringe and myself to be found here:

http://www.zen-cart.com/forum/showthread.php?t=7300&page=14&highlight=worldpayWorldPay

My thoughts are summarised as follows:

1. This method requires the merchant to handle (and store?) customer credit card details. WorldPay Invisible puts a large responsibility for credit card security on the Merchant.

2. WordPay Select Junior places Credit Card security issues in WordPay's lap - the merchant never sees or handles credit card details. WorldPay is owned by the The Royal Bank of Scotland Group - a slightly bigger organisation (with deeper pockets) than most merchants using ZenCart and much better equiped to deal with security issues etc.

3. Using a reputable payment gateway such as WorldPay should give customers confidence that their online transaction will be secure. Being transparent about the fact that WorldPay is handling the transaction should encourage customers to shop with confidence.

It is possible to customise the Select Junior payment pages. You will find details here:

http://support.worldpay.com/customising/index.html

Hope this helps.

Regards,

Alan
06 Jul 2006, 09:42
#5
pauls avatar

pauls

Zen Follower

Join Date:
Feb 2006
Posts:
300
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

Hello,
I am using this module, thanks very much for the contribution. I have noticed this error within the Amin of the cart. Above the Products in a persons order page, this error is shown

Make selection to pay via WorldPay</td>  </tr>  </table></td>  </tr>  <tr>  <td><table border=


It doesn't appear to cause any problems, but obviously that HTML code shouldn't be there?
06 Jul 2006, 10:24
#6
duncanad avatar

duncanad

Zen Follower

Join Date:
Nov 2004
Posts:
247
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

Pauls,

I'm not seeing this and I'm not sure exactly which page you are seeing it on.

Could you send me a screenshot?

Regards,

Alan
06 Jul 2006, 11:01
#7
cplam999 avatar

cplam999

New Zenner

Join Date:
Jun 2006
Posts:
17
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

it is so happy to see there is new worldpay module comes up,:thumbsup: :thumbsup:

I am planing to have a worldpay account these day,
And I am currently running with ZENCART 1.3.0.2,

my concern is...Will this module work with V1.3.0.2?
I think it should work fine:wink2: right?
06 Jul 2006, 11:52
#8
pauls avatar

pauls

Zen Follower

Join Date:
Feb 2006
Posts:
300
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

I am using 1.3.02 Cplam999, and it functions very well.

Alan, here is a screen shot of the oddness, I have highlighted with a red rectangle.

http://www.buy-stephen-mackey.co.uk/images/worldpay_html_oddbits.jpg

The page is 'orders.php'
06 Jul 2006, 20:02
#9
michaelchild avatar

michaelchild

New Zenner

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

Re: WorldPay Module for ZenCartv1.3x

I have recently installed the worldpay module, and just had my first order.
the only problem is that it did not show up in the New orders section under the
admin home! it doesn’t appear in the reports either! can some one please help.


As well should the order show go through in test mode? i get an email saying the
card went through but its just a test, but zen-cart says Order Cancelled! and the order doesn’t
go through.

Thanks
06 Jul 2006, 20:45
#10
michaelchild avatar

michaelchild

New Zenner

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

Re: WorldPay Module for ZenCartv1.3x

Me again sorry no matter what i do i keep getting the same error in ZEN-CART

... your payment has been cancelled!
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


Please Help!
06 Jul 2006, 21:41
#11
pauls avatar

pauls

Zen Follower

Join Date:
Feb 2006
Posts:
300
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

It sounds like your settings are wrong in admin, you need to set your transaction mode to 0.

In admin > Modules > Payments > Credit Card via WorldPay

It sounds like you are currently running in test mode, click edit and set your transaction mode to 0 it is probably currently set at 100
06 Jul 2006, 22:22
#12
michaelchild avatar

michaelchild

New Zenner

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

Re: WorldPay Module for ZenCartv1.3x

I have tryed my shop in both test mode and live mode. it does the same thing.
i have narrowed the problem down though.
when i hit the make payment button in the world pay pages i get the same
message as i would if i clicked the cancel button. i just don't know how to fix it.
06 Jul 2006, 23:56
#13
duncanad avatar

duncanad

Zen Follower

Join Date:
Nov 2004
Posts:
247
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

when i hit the make payment button in the world pay pages i get the same
message as i would if i clicked the cancel button. i just don't know how to fix it.


There are several reasons why this might happen.

Firstly check your admin settings in:

Modules>Payment>Credit Card via WorldPay

Enable WorldPay Module - should be set to 'True'

Transaction Mode - 100 is test mode where all transactions will be accepted provided all the fields in the WorldPay payment page have valid values. For test purposes choose 'Visa' and use card number 4111111111111111 (that's one 4 and fifteeen 1s), any three digit security code and any valid expiry date (ie any date in the future within the next few years).

Transcation Mode - 101 is test mode where all transactions will fail even if all the information entered is perfectly valid. The information returned to Zencart for a failed transaction is always 'Transaction Cancelled'

Transaction Mode - 0 is 'Live' mode. You should not set to 'Live' until WorldPay have tested and approved your site. In 'Live' mode transactions will fail for all the reasons a transaction might fail - invalid card number, expiry date, security code etc or the bank may refuse the transaction for whatever bank-type reason e.g. insufficient funds. Whatever the reason this is not passed back to Zencart by WorldPay. The message will always be 'Transaction Cancelled'.

Use MD5? - set this appropriately. I have always set this to 'False' as I do not use MD5 encryption.

MD5 Secret Key - only required if MD5? is set to 'True'

Sort Order of Display - set the sort order!

Use Pre-Authorisation? - Should be set to 'False' unless you have a Pre-Authorisation arrangement with WorldPay.

Set Order Status - Best left as 'Default'.

Pre-Auth - Only set if using Pre-Authorisation.

Payment Zone - 'None' means that Payment by Credit Card via Worldpay will be available everywhere. If a Zone is selected then WorldPay will only be available in that Zone.

If all of the above settings are set correctly, you are using 'Live' mode ie Transaction Mode '0' and all of your transactions are being returned 'Cancelled' check that your Credit Card details are valid and that there are sufficient funds available. If you believe that all is well with the card details I'm afraid you will have to speak with WorldPay since it is they who are declining the transaction.

Hope this helps.

Regards,

Alan
07 Jul 2006, 00:07
#14
michaelchild avatar

michaelchild

New Zenner

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

Re: WorldPay Module for ZenCartv1.3x

when i am returned to

... your payment has been cancelled!
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

and then check my emails the payments have gone through! its just the shop isn't seeing it
try it for your self www.surewin.co.uk/shop

another question is in test mode would the orders still go onto the new order section in admin
07 Jul 2006, 00:39
#15
duncanad avatar

duncanad

Zen Follower

Join Date:
Nov 2004
Posts:
247
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

my concern is...Will this module work with V1.3.0.2?


I am using 1.3.02 Cplam999, and it functions very well.


That seems to answer that then!

As to your problem Pauls with the rogue html appearing on the orders page I suspect the answer is to be found in admin/orders.php around line 347. This is not a WorldPay module issue since the module does not include any changes to any of the files in the Admin folder. Have you installed any other mods such as one of the Admin Tools mods - or done some customising of your own that may have affected this file?

Hope this helps,

Alan
07 Jul 2006, 00:41
#16
michaelchild avatar

michaelchild

New Zenner

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

Re: WorldPay Module for ZenCartv1.3x

i will take a look, but world pay seen to think its a callback issue.
07 Jul 2006, 00:52
#17
duncanad avatar

duncanad

Zen Follower

Join Date:
Nov 2004
Posts:
247
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

Michaelchild

This is a TEST TRANSACTION. No money has changed hands


This indicates that your installation is set in 'Test' mode - Transaction Mode 100 or 101 - probably 101 as with this setting all transactions fail.

No failed transactions will appear as orders whether they are test transactions or live transactions and this is as it should be. If the transaction has failed then the deal is off, no order is created and the goods remain in the customer's cart.

All successful transactions, whether they be in test mode or live mode, will result in an order being created which will appear in Admin. The goods will be cleared from the customer cart.

Set your transaction mode to '100' and enter valid card details as per my previous post and you should see an order being created although the WorldPay response will still include the 'This is a TEST TRANSACTION' message.

Regards,

Alan
07 Jul 2006, 00:57
#18
michaelchild avatar

michaelchild

New Zenner

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

Re: WorldPay Module for ZenCartv1.3x

the shop is and has been for 2 days set to 100. and i only updated the shop an hour or so ago! just to see if it helped. is there any way to change the callback scripts?
07 Jul 2006, 01:41
#19
duncanad avatar

duncanad

Zen Follower

Join Date:
Nov 2004
Posts:
247
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

michaelchild,

I have had this module up and running on a busy live shop for the past 18 months. It works. What happens in ZenCart is entirely dependant upon the response from WorldPay. If WorldPay says 'Success' the order goes through and WorldPay proceed with the transaction. If WorldPay say 'cancelled' the order does not go through and the transaction is cancelled.

Have you made any mods to the downloaded WorldPay Module files?

I've tried to access your website to test but you have it Down for Maintenance.

Alan
07 Jul 2006, 08:33
#20
pauls avatar

pauls

Zen Follower

Join Date:
Feb 2006
Posts:
300
Plugin Contributions:
0

Re: WorldPay Module for ZenCartv1.3x

Michael, Things to note regarding your worldpay issues
1) If your shop is in maintenance mode the payment modules WILL NOT WORK as expected.

2) You state your shop is set to 100 for the last two days, it needs to be set to 0 as 100 is testing mode.

3) The worldpay module is telling you in no uncertain terms that your shop is in TESTING mode.


Alan, the code at line 347 is identical to the code from an untouched order.php form (v1.3.02), it looks like this ...
</td>
           <td class="main"><?php echo $order->info['payment_method']; ?></td>
        </tr>
<?php


However, i will endeavour to compare these two files using BeyondCompare to see what else might be different, in the mean time, any other places I might look for this issue, any other files that could cause this ?

Thanks for your help.