Results 1 to 10 of 3052

Hybrid View

  1. #1
    Join Date
    Feb 2009
    Location
    atlanta GA
    Posts
    296
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    My bad , i found the solution in this thread. Sorry about that !

    The fix for my problem was by swguy here

    https://www.zen-cart.com/showthread....76#post1394376

    Thank you so much again for providing this wonderful plugin.
    Zencart 1.5.6c PHP 7.2 Order Replacement AC Adapters and Power Cords Online www.missingcord.com

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: One-Page Checkout [Support Thread]

    According to post #1739 on this topic, the following code will make PAYPAL the default payment option (Radio-button selected on page load) -:
    Code:
     <?php
    if (empty($_SESSION['payment'])) {
        $_SESSION['payment'] = 'paypalwpp';
    }
    What would I need to edit in order to make SQUARE the default (option selected radio button)?

    Customers are not clicking the radio button before inputting card details, and this seems to result in a square payment error. If this radio button is ON by default, then we may be able to aoid such Square errors.
    20 years a Zencart User

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by schoolboy View Post
    According to post #1739 on this topic, the following code will make PAYPAL the default payment option (Radio-button selected on page load) -:
    Code:
     <?php
    if (empty($_SESSION['payment'])) {
        $_SESSION['payment'] = 'paypalwpp';
    }
    What would I need to edit in order to make SQUARE the default (option selected radio button)?

    Customers are not clicking the radio button before inputting card details, and this seems to result in a square payment error. If this radio button is ON by default, then we may be able to aoid such Square errors.
    Code:
     <?php
    if (empty($_SESSION['payment'])) {
        $_SESSION['payment'] = 'square';
    }

  4. #4
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,915
    Plugin Contributions
    13

    Default Re: One-Page Checkout [Support Thread]

    PHP Code:
    if (empty($_SESSION['payment'])) {
        
    $_SESSION['payment'] = 'square_webPay';

    best.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by carlwhat View Post
    PHP Code:
    if (empty($_SESSION['payment'])) {
        
    $_SESSION['payment'] = 'square_webPay';

    best.
    Thanks, I was thinking of the built-in (albeit fairly non-functional) one.

  6. #6
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: One-Page Checkout [Support Thread]

    Thanks Carl and Cindy. At some point Carl, I hope to buy you more coffee... Your module literally saved my business. When profits allow, I'll be making another contribution (as should all those who have benefitted).
    20 years a Zencart User

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

    Default Re: One-Page Checkout [Support Thread]

    Note that the "problem" of not selecting WebPay should not happen. In a 1.5.7 or later, OPC, WebPay and PayPal that the WebPay is listed first and, with the entry of the first digit of the CC #, the Credit Card option is automatically selected.

    I could not create a scenario where the Credit Card was not selected when information was entered into the WebPay form.

    HOWEVER, I could duplicate the CC info being sent but not selected by entering a 4 in the CC line, selectging PayPal, and then returning to the CC line to enter a valid CC info.

    IOW, it takes a pretty big mistake sequence by the customer to get CC info entered without the button being selected.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

 

 

Similar Threads

  1. Set number of products displayed per page (support thread)
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 146
    Last Post: 2 Nov 2023, 12:50 AM
  2. v151 Banners In Main Page - Support Thread
    By stevesh in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Sep 2021, 03:36 PM
  3. v151 Site Map/Page Not Found: Combined [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 4 Jan 2016, 02:19 PM
  4. v151 PayPal Express Checkout Using NVP 84.0 [Support Thread]
    By lat9 in forum Addon Payment Modules
    Replies: 32
    Last Post: 28 Dec 2015, 04:54 PM
  5. Checkout Amazon Style -- Support Thread
    By CJPinder in forum All Other Contributions/Addons
    Replies: 72
    Last Post: 13 Apr 2011, 08:18 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