Zen Cart Logo
Forums / Addon Payment Modules / WorldPay Module version 2.0 - Support thread

WorldPay Module version 2.0 - Support thread

Locked

Views: 215,936

Results 261 to 280 of 738
This thread is locked. New replies are disabled.
20 Jul 2009, 3:44 PM
#261
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

WorldPay Module version 2.0 - Support thread

You do not have to use a drop down so you can turn it off in admin. The number of credit cards that you show the client is also solely dependent on which boxes you yourself have tickes in the worldpay admin side of your zencart shop. If you cannot change the amount of items selected then, have you hardcarded Khalil's code into your website. Historiically Khalil came up with the idea but it required hard coding the select box into the page. Then I coded the possibility or have either a select box or radio buttons into the payment page directly into the module. Like I mentioned t's only a possibility, if you are using the correct module then you should be able to turn it off.

With regards to your caching problems, have you remembered to transfer your settings from test to live at worldpay on rbsworldpay.com by clicking the button on the bottom ? If you turn on debugging emails you would see wordpay attempting to connect even in live mode and if you look down the email, you'd find whether it was sending the correct payment response password.

2 other things really don't use version 1 of worldpay, version 2 exists because version one lets people go to your store, buy whatever they want and then mark it up as paid when worldpay has not got any payment. You also should upgrade from 1.3.7 too, and then patch your installation and move the admin folder. Don't your webiste address here, as due to last month'spatch and exploits it would be like sticking a big sign on your lawn saying "come, gather, break in to my house"

Thank you
Philip.

20 Jul 2009, 5:00 PM
#262
swuk avatar

swuk

New Zenner

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

Re: WorldPay Module version 2.0 - Support thread

Thank you for your help!

I haven't hard-coded anything. I've quickly re-installed the module on the busy store to double check:

  1. "Display Accepted Cards" is set to false.
  2. Maestro, Solo, Visa, MasterCard etc are all selected in the ZenCart admin panel under "Accepted Credit Cards" but only Visa and MasterCard are showing on the list (All are selectable at the WorldPay end when in Test Mode).

Also, the list box is displayed beside PayPal instead of beside Worldpay, and even when I uninstall the module the list remains beside PayPal.

Previously I was using an older version of the WorldPay module and it was working fine. There was no list box displayed. So there was nothing hard-coded prior to installing the latest version of the WorldPay module.

Can you tell me what file contains the list box? And does it make any sense to you that it should display beside the PayPal option - even when the WorldPay module is uninstalled (via the admin panel - I haven't removed the files from the server)?

I'll double check to make sure the settings have been transferred from 'Test' to 'Live' at the WorldPay end and will see what's happening in debug mode.

I'm not using the old version of the module - I've disabled WorldPay altogether until I get it working.

As I said, I'm planning to install this module on another identical copy of the store. If there were any problems with files not uploading the first time around it should work fine this time around. If on the other hand it's some incompatibility then at least we'll know!

Thanks again.

20 Jul 2009, 5:41 PM
#263
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: WorldPay Module version 2.0 - Support thread

somehow you have Khalil's code on your system. and I can see why now, for some reason his code has appeared in the file

./includes/templates/template_default/templates/tpl_checkout_payment_default.php

which you should replace with a default one from zencart 1.3.7 while I work out why that file has got there ! That would be why there is no control through the module, and why it's playing up and in the wrong place, since Khalil hard coded it to a fixed position on the page with only 2 credit cards. I shall have to do another release without that file or at least with a default 1.3.8 file in it's place. I am guessing that while getting the module to replicate Khalil's code I had it in my development area and it got zipped and sent out by mistake. Once I've checked that there is not other reason why that code should be there, then I'll issue another release of the module.

Thank you for pointing it out
Philip.

20 Jul 2009, 6:23 PM
#264
swuk avatar

swuk

New Zenner

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

Re: WorldPay Module version 2.0 - Support thread

Superb! There's a good chance that the other part of the problem (caching) is an error at my end but I'll check it out and confirm.

Thanks so much for such excellent support.

21 Jul 2009, 6:09 AM
#265
dvdtitan avatar

dvdtitan

New Zenner

Join Date:
Apr 2007
Posts:
87
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

SWUK:

Superb! There's a good chance that the other part of the problem (caching) is an error at my end but I'll check it out and confirm.

Thanks so much for such excellent support.

Please see post 221 on page 23 of this thread to resolve this issue. As Philip says a piece of code is in the file from a guy called Khalid which works against the mod at the point of selecting a payment option.

You need to remove the drop down box (and my post 221 tells you how to do this) and all will be fine!

I have installed this mod on 9 sites and i have removed the drop down box on everyone without problem. It's easy!

21 Jul 2009, 10:35 AM
#266
brian500 avatar

brian500

New Zenner

Join Date:
Jun 2009
Location:
UK
Posts:
10
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

Hello Philip,

Well, everything was working OK in test mode. But now I've switched to live, if I cancel the process in the worldpay page, I am not re-directed to my site. The WP page says sorry, there was an error. It works fine in test mode and the settings are identical in both the test and production setup pages on worldpay.

Have I put the correct info in to WP? The payment response URL I used is:
http://<wpdisplay item="MC_callback">
Payment Response enabled? yes
Enable Recurring Payment Response no
Enable the Shopper Response yes
Suspension of Payment Response no
The Payment Response password and MD5 secret for transactions are exactly as setup in my WP module.

Thanks

Brian

21 Jul 2009, 11:24 AM
#267
brian500 avatar

brian500

New Zenner

Join Date:
Jun 2009
Location:
UK
Posts:
10
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

Hello Philip,

Well I've just spoken to Worldpay technical and they say they could find nothing wrong. And now it works!

So it's either their system is incredibly slow to update as I put in the info 24hrs ago ( I know you'e commented on that before), or they made an adjustment when I phoned.

I hope there are no more issues. Thanks anyway.

Brian

23 Jul 2009, 4:26 PM
#268
swuk avatar

swuk

New Zenner

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

Re: WorldPay Module version 2.0 - Support thread

Hi Phillip,

I'm still having difficulties getting the module working.

I followed DVDTitan's instructions (a couple of posts up) to remove the drop-down box (Thank you DVDTitan!). That bit worked fine.

That SHOULD have left me with only the problem of order info not being updated to the store whilst in live mode. However, there is now the added problem that the customer is returned to the wrong page in the store after making a purchase. This now happens in both live and test mode. The failure to return order info to the store has now started to occur in test mode as well as live mode. I don't want to post up a screenshot of the page being displayed, but it begins (in both live and test mode):

WP_TEXT_FAILURE

WP_TEXT_HEADING

If you click on the 'NEXT' button on this page you are taken back to stage 2 in the ordering process.

The WorldPay account isn't mine and I don't have access to it, so I'm reliant upon the account holder taking care of that side of things. I passed on your instructions regarding switching into live mode at the worldpay end. She claims that there is only a 'live' mode in her version of WorldPay - that there is no option to save information in test mode. She spoke to worldpay at length today and got them to check all of her settings. They are adamant that she has done everything correctly. They say everything is working fine and that the error is in the callback script. This makes no sense to me as it was working fine (in test mode) before and nothing has been changed. Also, others are using it without problem. The ONLY change made to the module was that outlined by DVDTitan - is there any way that this could lead to the problem we're now experiencing?

Also, we're having no luck with debug emails. It's been switched on, but what is supposed to happen? We aren't getting any emails. I can't find any details in the documentation.

Any help you (or anyone else) can give will be much appreciated as WorldPay is out of action if we can't resolve this problem.

23 Jul 2009, 5:31 PM
#269
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: WorldPay Module version 2.0 - Support thread

2 things.
a) all worldpay accounts have a test mode so your client is doing something wrong (and worldpay tech support are incredible if they cannot explain which bit is for testing and which is for live, go RBS go RBS, yeah).
b) debug only works if customers are sent to the correct page, so your customer has not set it up correctly or your server is not accesible to the outside world.

If anything (even a hacker) hits the page where zencart receives the worldpay information the a debug email is sent out. So look through you logs at find something like "worldpay java object" as the web browser and then tell you client that they are doing it wrong. Out of general interest where do you go if you hit cancel when you are first sent to worldpay, you should bounce straight back to the shop with cart id and ability to try again.

Philip.

24 Jul 2009, 1:35 AM
#270
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: WorldPay Module version 2.0 - Support thread

Here is the location for version 2.09 until it goes live in the zencart add-ins section

https://www.3xlock.com/versions/WorldPay_ZC1.3.x_v2.09.zip

This version is confirmed compatible with 1.3.7 and 1.3.8 and if you are experiencing probles with a credit card select box that won't disappear or will not change from mastercard and visa using the admin interface, then you should overwrite

includes/templates/template_default/templates/tpl_checkout_payment_default.php

with the file from the zip file

WorldPay_ZC1.3.x_v2.09/includes/templates/template_default/templates/tpl_checkout_payment_default.php

sorry for the late reply, I had to check it's compatibility and it appears that I was not receiving new messages to this thread.

Thank you
Philip.

24 Jul 2009, 10:46 AM
#271
swuk avatar

swuk

New Zenner

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

Re: WorldPay Module version 2.0 - Support thread

Hi Philip. Thanks again for being so helpful!

philip_clarke:

Out of general interest where do you go if you hit cancel when you are first sent to worldpay, you should bounce straight back to the shop with cart id and ability to try again.

A similar thing happens. The following page is displayed:

WP_TEXT_FAILURE 
WP_TEXT_HEADING 

Thank you, your payment has been cancelled
Merchant's Reference: xxxxxxxxxxxxxxxx
 
Please contact RBS WorldPay immediately if there has been a problem making your payment. 
 
WP_TEST_HEADING

WP_CANCELLED_HEADING

Our ref: 

WP_CONTACT_INFO  

When you click on the "NEXT' button it takes you back to step 2 in the ordering process.

So this is pretty much identical to when a payment is successful at the worldpay end. The only difference is that it says "Thank you, your payment was successful" and it also gives the RBS WorldPay Transaction ID. Again, with a successful order the 'Next' button takes you to page 2 in the ordering process.

So presumably we're going to the correct page, but for some reason it's not displaying properly?

24 Jul 2009, 10:51 AM
#272
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: WorldPay Module version 2.0 - Support thread

You are missing the file

./includes/languages/english/wp_callback.php

which will replace that TEXT in capitals, oryour server does not have the correct permissions to read it.

Thank you
Philip

24 Jul 2009, 11:50 AM
#273
swuk avatar

swuk

New Zenner

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

Re: WorldPay Module version 2.0 - Support thread

philip_clarke:

You are missing the file

./includes/languages/english/wp_callback.php

which will replace that TEXT in capitals, oryour server does not have the correct permissions to read it.

Thank you
Philip

wp_callback.php was there but the values weren't being picked up. BUT...

I've now installed version 2.09 and the extra list box is gone and we're getting a meaningful and complete page displayed upon cancellation. So far so good. I'm just waiting for the store owner to place a live order so we can see if everything is now working as it should. I've advised her that she must figure out how to switch between live and test mode at the worldpay end.

Thanks again for your help.

29 Jul 2009, 1:48 PM
#274
mattys avatar

mattys

Zen Follower

Join Date:
Sep 2006
Location:
North Devon, England, UK
Posts:
289
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

latest version of zen cart

latest worldpay module

hi

for some reason, when a customer completes and order, the thank you page displayed, with shopper response enabled, has CSS stripped and looks awful, it didn't used to do this

even uploading latest version of module hasn't helped.

you can see a screen grab of page attached

i have disabled shopper response for the moment until i can figure this out

anyone any ideas?

29 Jul 2009, 2:26 PM
#275
greenitcompany avatar

greenitcompany

New Zenner

Join Date:
Jul 2009
Location:
Hastings, UK
Posts:
4
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

Hi Philip,

I'm using Zen Cart version 1.3.8 and have recently installed the version 2.0 upgrade for the Worldpay addon.

Payments process fine via Worldpay but the order is not being recorded in ZenCart. Just wondered whether you were aware of this problem and whether anybody else had come across anything similar?

Any help would be appreciated and thank you once again for all your hard work on this project.

I also noticed that when visiting the RBS Worldpay website ZenCart is not listed as an accredited or unaccredited ecommerce product, which i must say i found quite odd.

Best regards,

Adam

29 Jul 2009, 3:36 PM
#276
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: WorldPay Module version 2.0 - Support thread

greenitcompany:

Hi Philip,

Payments process fine via Worldpay but the order is not being recorded in ZenCart. Just wondered whether you were aware of this problem and whether anybody else had come across anything similar?

what do the debug emails say ? if debugging is on and there are no emails then ZC is not being hit in the correct spot by worldpay. First way to test this is to put an order through and then hit cancel at worldpay and see where it sends you.

There is also a massive time lag between setting up things like passwords at worldpay and them finally being sent through, we have one guy above that took 24 hours for their system to update all of the while when worldpay tech support claimed it was the module not working. The guy made no changes to the module and suddenly worldpay started to send through the info.

greenitcompany:

I also noticed that when visiting the RBS Worldpay website ZenCart is not listed as an accredited or unaccredited ecommerce product, which i must say i found quite odd.

I find it quite odd too. For one thing Zen Cart themselves have to submit the whole shop and I asked Dr Byte to do so last year when the big hole was fixed, but also worldpay will not give me an account for development, and since I don't want to pay their charges for an account that I don't use I an stuck having to borrow people's merchant id's if I need to teset anything.

Philip.

29 Jul 2009, 4:26 PM
#277
greenitcompany avatar

greenitcompany

New Zenner

Join Date:
Jul 2009
Location:
Hastings, UK
Posts:
4
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

Hi Philip,

I have done as you advised and made a test purchase to the point of confirmation at Worldpay. I hit 'Cancel' and it just displayed a page that displayed the following information:

"Cancellation.
Thank you, your payment has been cancelled
Merchant's Reference: fvi92tqset6gqjo96fee1gfjj0
Please contact RBS WorldPay immediately if there has been a problem making your payment."

It did not return me to the clients website.

Best regards,

Adam

29 Jul 2009, 5:00 PM
#278
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: WorldPay Module version 2.0 - Support thread

Sorry my mistake I didn't mean go to the point of entering in numbers and things "cancellation", I meant as soon as you leave your shop hit cancel on the bottom left of the screen and it should send you straight back to the shop to a ZC template with details of the cancellation.

Philip.

29 Jul 2009, 10:20 PM
#279
greenitcompany avatar

greenitcompany

New Zenner

Join Date:
Jul 2009
Location:
Hastings, UK
Posts:
4
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

Hi Philip,

I tried this but i could no way of canceling as their was no cancel option in the bottom right hand corner of he screen.

It also happened way too quickly, so i wouldnt stand a chance/

Any ideas???

Thanks for your help on this.

29 Jul 2009, 11:46 PM
#280
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: WorldPay Module version 2.0 - Support thread

Can you privately message me with the domain so that I can try a few things out ? I'm not going to submit anything but it may be helpful if you keep the debug emails turned on.

Thank you
Philip.