1 Attachment(s)
Re: 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
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:
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
Re: WorldPay Module version 2.0 - Support thread
I don't quite understand the question
Thank you
Philip.
Re: WorldPay Module version 2.0 - Support thread
Quote:
Originally Posted by
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
Re: WorldPay Module version 2.0 - Support thread
There's a line 141 in includes/modules/shipping/worldpay.php
Code:
$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.
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.
Re: WorldPay Module version 2.0 - Support thread
Quote:
Originally Posted by
philip_clarke
There's a line 141 in
includes/modules/shipping/worldpay.php
Code:
$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
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.
Re: WorldPay Module version 2.0 - Support thread
Quote:
Originally Posted by
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???)