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 181 to 200 of 738
This thread is locked. New replies are disabled.
21 May 2009, 11:30 AM
#181
philip_clarke avatar

philip_clarke

Suspended

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

WorldPay Module version 2.0 - Support thread

First thing to do is always to not buy anything, hit cancel when you get to worldpay to check that it is sending you back to your site.

Attached is a picture of a faked up module, and you should have payment response password, if you do not, then remove and install your module again as something is incorrect with that image since there are a lot of fields missing.

Thank you
Philip

21 May 2009, 11:34 AM
#182
out2lunch avatar

out2lunch

New Zenner

Join Date:
Jul 2008
Posts:
64
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

Thanks for that, as there are lots of boxes to fill in but nothing telling you what to put in them, I will remove it all and re-intall the modules then.

That must be the problem I guess.

Thanks for the amazingly speedy reply.

:hug:

21 May 2009, 1:32 PM
#183
suekay avatar

suekay

New Zenner

Join Date:
Jul 2008
Posts:
90
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

I'd like to add the credit card logos at step 2 of the payment process. I can take the code from the sidboxes that displayes the logos, but I'm not too sure where abouts to put it

Thank you
Suekay

21 May 2009, 1:40 PM
#184
philip_clarke avatar

philip_clarke

Suspended

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

Re: WorldPay Module version 2.0 - Support thread

I don't quite understand the question
Thank you
Philip.

21 May 2009, 1:43 PM
#185
suekay avatar

suekay

New Zenner

Join Date:
Jul 2008
Posts:
90
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

philip_clarke:

I don't quite understand the question
Thank you
Philip.

Hi Philip,

At the checkout payment stage at step 2 I have these options with radio buttons but no credit card logos next to them. How can I add them?

Credit Card via WorldPay
I'll select a card later
Master Card
Solo
Maestro
Visa
Visa Delta
Visa Electron

Thanks
suekay

21 May 2009, 2:36 PM
#186
philip_clarke avatar

philip_clarke

Suspended

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

Re: WorldPay Module version 2.0 - Support thread

There's a line 141 in includes/modules/shipping/worldpay.php

                        $string .= ' id="' . strtolower($key . '-paymentType"').  ' onclick="document.getElementById(\'pmt-worldpay\').checked=\'true\';"><label for="'.strtolower($key . '-paymentType').'" class="radioButtonLabel" onclick="document.getElementById(\'pmt-worldpay\').checked=\'true\';">' . $val . '</label></li>';

you would to have the images mapped to an array in PHP mapped to the credit card names and then put them between the </label></li>. I could do it, but it's a little beyond most people's PHP skills, the "issue" is that the array is dynamic as people can choose to remove carsd they don't accept through the admin interface.

Philip.

21 May 2009, 2:45 PM
#187
philip_clarke avatar

philip_clarke

Suspended

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

Re: WorldPay Module version 2.0 - Support thread

Has it worked yet ? I reckon something went wrong with the SQL connection to the database when it was installing as each box should have a description. The number of boxes is in the PHP code, but the descriptions are in the database.

Philip.

21 May 2009, 4:36 PM
#188
suekay avatar

suekay

New Zenner

Join Date:
Jul 2008
Posts:
90
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

philip_clarke:

There's a line 141 in includes/modules/shipping/worldpay.php

                    $string .= ' id="' . strtolower($key . '-paymentType"').  ' onclick="document.getElementById(\'pmt-worldpay\').checked=\'true\';"><label for="'.strtolower($key . '-paymentType').'" class="radioButtonLabel" onclick="document.getElementById(\'pmt-worldpay\').checked=\'true\';">' . $val . '</label></li>';
> 
> you would to have the images mapped to an array in PHP mapped to the credit card names and then put them between the </label></li>. I could do it, but it's a little beyond most people's PHP skills, the "issue" is that the array is dynamic as people can choose to remove carsd they don't accept through the admin interface.
> 
> Philip.

Wow!  That does look hard and beyond my php.  I could work out how to do an array, could I fudge it and fix it to the cards I use rather than dynamic, I guess that would make it a whole lot easier??

Or perhaps a better way to add all the logos at the title: Credit Card via WorldPay?
 
Thanks 
suekay
21 May 2009, 4:41 PM
#189
philip_clarke avatar

philip_clarke

Suspended

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

Re: WorldPay Module version 2.0 - Support thread

It would make it easier, but by the magic of updating your installation, you'd overwrite it and lose all of your work, I could have a go if you send me the images and a token sum, though it would have to be "switchable" so that people could choose whether they wanted the images displayed.

Thank you
Philip.

21 May 2009, 4:50 PM
#190
suekay avatar

suekay

New Zenner

Join Date:
Jul 2008
Posts:
90
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

philip_clarke:

It would make it easier, but by the magic of updating your installation, you'd overwrite it and lose all of your work, I could have a go if you send me the images and a token sum, though it would have to be "switchable" so that people could choose whether they wanted the images displayed.

Thank you
Philip.

Sounds good, but first, what do you think about the other way of having all the images at the title ( I edited my post and you may not have seen that bit???)

21 May 2009, 4:54 PM
#191
out2lunch avatar

out2lunch

New Zenner

Join Date:
Jul 2008
Posts:
64
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

Woo fantastic the reinstall worked its now doing its thing and sending a payment response back to the site.

My final question for now, (im sure it wont be the last), is after :-

Thank You.
This was NOT a live transaction - no money has changed hands
Thank you, your payment was successful
Merchant's Reference: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
RBS WorldPay Transaction ID: xxxxxxxxxxxxxxxxxxxxxx
Please contact RBS WorldPay immediately if there has been a problem making your payment.

How do I get the customer to come back to my site to a thank you for ordering page etc??? Is this possible?

21 May 2009, 5:45 PM
#192
philip_clarke avatar

philip_clarke

Suspended

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

Re: WorldPay Module version 2.0 - Support thread

The problem with the images in the title are twofold,

a) some people may not accept the cards on display (in the UK we have a card called Meastro/ Solo or Switch)
b) people would click on the pictures.

21 May 2009, 5:48 PM
#193
philip_clarke avatar

philip_clarke

Suspended

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

Re: WorldPay Module version 2.0 - Support thread

Out2lunch:

Woo fantastic the reinstall worked its now doing its thing and sending a payment response back to the site.

My final question for now, (im sure it wont be the last), is after :-

Thank You.
This was NOT a live transaction - no money has changed hands
Thank you, your payment was successful
Merchant's Reference: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
RBS WorldPay Transaction ID: xxxxxxxxxxxxxxxxxxxxxx
Please contact RBS WorldPay immediately if there has been a problem making your payment.

> 
> How do I get the customer to come back to my site to a thank you for ordering page etc??? Is this possible?

It should have gone back to your site automatically, if the cancel is returning you then so shoud the rest which means either 2 things normally, a) your site is not publicly accessible and password protected, b) you didn't fill out the http://<wpdisplay item="MC_callback"> or https://<wpdisplay item="MC_callback"> over a worldpay.

Did you get a transaction appear in Admin in your worldpay reporting ?

Thank you
Philip.
21 May 2009, 6:03 PM
#194
out2lunch avatar

out2lunch

New Zenner

Join Date:
Jul 2008
Posts:
64
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

Yes all transactions now report in the admin section, and get changed to my custom tag - Worldpay - Authorized...

So I guess it should be working, I must have missed something small...

21 May 2009, 6:54 PM
#195
philip_clarke avatar

philip_clarke

Suspended

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

Re: WorldPay Module version 2.0 - Support thread

Probably ticking a box or something at worldpay to do with the payment response URL, I do not have an account, so on that side of things I can only provide educated guesses. One thing I have noted is that if everything is working, save the settings and transfer them to your production environment. Then wait about 10 minutes before doing anything else, because worldpay has some kind of caching mechanism that takes a little while to filter through

If everything is appearing in the worldpay reporting on your zen cart site (Admin section > Customers > Worldpay Payment), then worldpay is communicating with your machine it just isn't doing the final "pull" where it displays your website and that's an area where I have no control.

Philip.

21 May 2009, 10:58 PM
#196
out2lunch avatar

out2lunch

New Zenner

Join Date:
Jul 2008
Posts:
64
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

philip_clarke:

Probably ticking a box or something at worldpay to do with the payment response URL, I do not have an account, so on that side of things I can only provide educated guesses. One thing I have noted is that if everything is working, save the settings and transfer them to your production environment. Then wait about 10 minutes before doing anything else, because worldpay has some kind of caching mechanism that takes a little while to filter through

If everything is appearing in the worldpay reporting on your zen cart site (Admin section > Customers > Worldpay Payment), then worldpay is communicating with your machine it just isn't doing the final "pull" where it displays your website and that's an area where I have no control.

Philip.

Thanks for your work on this, as soon as I get paid for this job, I will chuck you a few golden chocolate buttons for your work.

FYI - The check box that needs to be checked to boot you back to zen cart is -

Enable the Shopper Response      -    (Tick)
22 May 2009, 6:26 AM
#197
philip_clarke avatar

philip_clarke

Suspended

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

Re: WorldPay Module version 2.0 - Support thread

Enable the Shopper Response - (Tick)

Thanks, that deserves to be in bold just in case anyone else had a fully working shop but doesn't get the clients sent back to their shop.

22 May 2009, 6:45 AM
#198
suekay avatar

suekay

New Zenner

Join Date:
Jul 2008
Posts:
90
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

philip_clarke:

The problem with the images in the title are twofold,

a) some people may not accept the cards on display (in the UK we have a card called Meastro/ Solo or Switch)
b) people would click on the pictures.

Hi Philip,

I'll cross your palm with silver to do the mod then as this seems the the most sensible option. Can you send the details?

As an aside I had an email from Worldpay about going live and they advised that I should change the URL in the code and some other codes stuff. I'll pm you as I'm not sure how sensitive the info is.

Thanks
Suekay

22 May 2009, 8:36 AM
#199
philip_clarke avatar

philip_clarke

Suspended

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

Re: WorldPay Module version 2.0 - Support thread

Suekay has just sent me a very important piece of information, Worldpay are changing the address used for accepting payment, this means that Everyone will need to upgrade when I release a new module shortly.

Thank you
Philip.

22 May 2009, 7:32 PM
#200
philip_clarke avatar

philip_clarke

Suspended

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

Re: WorldPay Module version 2.0 - Support thread

There is now a new version of the worldpay module available at:

http://exploitingit.co.uk/versions/WorldPay_ZC1.3.x_v2.08.zip

until it becomes available in the download area. This version changes the URL that WorldPay payments are submitted to, for both test and live transactions. This is a very important upgrade as there is no timescale for when RBS will turn off the old worldpay websites.