Results 1 to 10 of 730

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Posts
    605
    Plugin Contributions
    6

    Default 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.

  2. #2
    Join Date
    Jul 2008
    Posts
    90
    Plugin Contributions
    0

    Default Re: WorldPay Module version 2.0 - Support thread

    Quote Originally Posted by philip_clarke View Post
    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
    Last edited by suekay; 21 May 2009 at 05:40 PM. Reason: more info

  3. #3
    Join Date
    Sep 2008
    Posts
    605
    Plugin Contributions
    6

    Default 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.

  4. #4
    Join Date
    Jul 2008
    Posts
    90
    Plugin Contributions
    0

    Default Re: WorldPay Module version 2.0 - Support thread

    Quote Originally Posted by philip_clarke View Post
    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???)

  5. #5
    Join Date
    Jul 2008
    Posts
    64
    Plugin Contributions
    0

    Default 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 :-
    Code:
    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?
    Last edited by Out2lunch; 21 May 2009 at 05:54 PM. Reason: Terribly bad spelling...

  6. #6
    Join Date
    Sep 2008
    Posts
    605
    Plugin Contributions
    6

    Default Re: WorldPay Module version 2.0 - Support thread

    Quote Originally Posted by Out2lunch View Post
    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 :-
    Code:
    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.

  7. #7
    Join Date
    Jul 2008
    Posts
    64
    Plugin Contributions
    0

    Default 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...

  8. #8
    Join Date
    Sep 2008
    Posts
    605
    Plugin Contributions
    6

    Default 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.

  9. #9
    Join Date
    Jul 2008
    Posts
    90
    Plugin Contributions
    0

    Default Re: WorldPay Module version 2.0 - Support thread

    Quote Originally Posted by philip_clarke View Post
    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

  10. #10
    Join Date
    Sep 2008
    Posts
    605
    Plugin Contributions
    6

    Default 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.

 

 

Similar Threads

  1. v154 WorldPay Module version 3.0 - Support thread
    By countrycharm in forum Addon Payment Modules
    Replies: 116
    Last Post: 31 Dec 2025, 11:36 AM
  2. MultiSite Module Support Thread
    By Gerome in forum All Other Contributions/Addons
    Replies: 2246
    Last Post: 29 Dec 2025, 10:13 AM
  3. v151 Codetrio Sphinx Search Version 1.0 Support Thread
    By imranulh in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 16 Jul 2014, 01:24 AM
  4. Simple SEO URL (OLD version) [support thread]
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 5053
    Last Post: 30 Jun 2014, 02:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg