Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Join Date
    Mar 2010
    Posts
    14
    Plugin Contributions
    0

    help question How to set default radio button for payment?

    I have my cart configured for 3 different payment options:
    #1 credit card
    #2 Paypal (standard)
    #3 check/money order

    I want the radio button for the credit card option (sort order #0) to be automatically checked the first time a user reaches this page. Anyone know where I can do this? I would imagine it's in the code somewhere...
    Mark Hueston
    X-cream

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: How to set default radio button for payment

    When the customer clicks inside the Credit Card fields to enter their credit card details, it will automatically select the radio button next to that option for them. There's no need to select a "default".
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Oct 2008
    Posts
    10
    Plugin Contributions
    0

    Default Re: How to set default radio button for payment?

    I have the same issue that no radio button deault is checked even when customers fill out the credit card info. To make matters worse, the card number disappears forcing them to re-enter their card number again. I have complaints about this and want to set the radio button default to credit card.

    I have version 1.3.8a with Authorizenet_aim and Paypal IPN payment modules.

    Why won't the radio button get checked on my site at www . olivus . us ???

    How do I set a default option ???

  4. #4
    Join Date
    Feb 2008
    Posts
    1,336
    Plugin Contributions
    1

    Default Re: How to set default radio button for payment?

    Never had that problem with 1.38a, but now running 1.39 and it works just like The Doc said. Once the customer click inside the CC field it will be auto selected.

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,151
    Plugin Contributions
    11

    Default Re: How to set default radio button for payment?

    Just discovered today that this does not work with Authorize.Net or Merchant partners. Perhaps this was part of the old CC that was removed?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: How to set default radio button for payment?

    Quote Originally Posted by dbltoe View Post
    Just discovered today that this does not work with Authorize.Net or Merchant partners. Perhaps this was part of the old CC that was removed?
    Not sure what you're talking about.
    The auto-select-the-radio-button feature works just fine for all built-in payment modules (including Authorize.net) and for any that were modeled after them.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,151
    Plugin Contributions
    11

    Default Re: How to set default radio button for payment?

    One instance is with a Merchant Partners add-on that was cloned from an earlier Authorize.Net example. I will need to see if the newer authorizenet files are different from what was used as the model for the MP in use. It's been four years so nothing could have changed, right?

    The other is on a 1.3.9h site with Authorize.Net BUT it does use a TM template.

    Hopefully, I'll have more time to look at it later today. There is an old workaround to force the button with the lowest sort order to be selected, but I would prefer to have the code outside that particular tpl file.

    Thanks for the heads up.

  8. #8
    Join Date
    Oct 2010
    Posts
    53
    Plugin Contributions
    0

    Default Re: How to set default radio button for payment?

    Quote Originally Posted by DrByte View Post
    Not sure what you're talking about.
    The auto-select-the-radio-button feature works just fine for all built-in payment modules (including Authorize.net) and for any that were modeled after them.
    Hi Dr. Byte

    Ive been struggling a bit with this. I have installed
    1. Paymex Payment module
    2. Bank Deposit
    3. Paypal

    when i change the order to bank deposit as #1 it seems to select it as the default but as soon as i change it back to Paymex ###### default, it doesnt seem to pre-select.
    Any Ideas on whats Up????

  9. #9
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: How to set default radio button for payment?

    That seems to indicate the Paymex module has the problem.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  10. #10
    Join Date
    Oct 2010
    Posts
    53
    Plugin Contributions
    0

    Default Re: How to set default radio button for payment?

    Quote Originally Posted by Kim View Post
    That seems to indicate the Paymex module has the problem.
    any ideas where to start?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How to globally set default radio button selection?
    By tony manero in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 15 Mar 2010, 04:32 PM
  2. how do i make radio button 'on' as default for downloadable option
    By what44 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 6 Dec 2007, 04:37 PM
  3. how the radio button for credit card payment should be default selection???
    By lastpirate007 in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 7 Nov 2007, 12:31 PM
  4. Payment Radio Button Text. How Do Ya Change It?
    By bumba000 in forum General Questions
    Replies: 5
    Last Post: 6 May 2007, 08:50 PM
  5. Default selection for Radio Button
    By absoluteblock in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Nov 2006, 11:46 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR