Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2022
    Location
    Rock Island, Tennessee
    Posts
    10
    Plugin Contributions
    0

    Default No access to paypal in "Payment Method" when only option listed.

    Hello everyone.

    I seem to be having an issue that I haven't been able to find a solution for. Unfortunately, my store is currently unavailable for viewing until I get this resolved.

    Long story short:
    I have used zencart for many, many years and have always been very happy with it's performance. Recently I decided to redo my old website to have it catch up with technology. This being said - I am using PHP 7.4.26 - Apache 2.4.5 - Mysql 5.7.36 (local & host) I updated zencart to v157d - rebuilt it completely and believed everything was working perfectly....until......

    It comes to the "payment method" section.
    I only wish to offer paypal express as a payment method (IPN info working great).
    However, when I do this - there is NO checkbox for selection in the "payment method" section. Nothing! No checkbox - just the paypal image.
    I went back in and added money orders as an option also and then the checkbox appears for both. This doesn't appear to be a paypal issue because if I can access paypal checkbox the transaction goes thru flawlessly. Also, if I have paypal express buttons on other pages - they function fine also without issue. My problem appears ONLY on the checkout_payment page if paypal is the only option available.

    I have spent days scouring thru code to make sure I didn't inadvertently block the checkbox somewhere along the line. I have changed the paypal settings in every combination possible - with no luck.

    Below is what is being displayed when the paypal button is on by itself (notice:hidden):
    Click image for larger version. 

Name:	without.jpg 
Views:	31 
Size:	16.1 KB 
ID:	20053

    Below is what is being displayed when I added money order as an option:
    Click image for larger version. 

Name:	with.jpg 
Views:	34 
Size:	18.7 KB 
ID:	20054

    Any help would be greatly appreciate.
    I am at a complete loss at this point!!

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,684
    Plugin Contributions
    9

    Default Re: No access to paypal in "Payment Method" when only option listed.

    depending on your template, i would review this section of code:

    https://github.com/zencart/zencart/b....php#L124-L140

    why you need the radio button with only 1 option i can not say.

    but if you were to change line 125 (again depending on your template) to `> 0`, i think your button would magically appear.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  3. #3
    Join Date
    Jul 2022
    Location
    Rock Island, Tennessee
    Posts
    10
    Plugin Contributions
    0

    Default Re: No access to paypal in "Payment Method" when only option listed.

    Quote Originally Posted by carlwhat View Post
    depending on your template, i would review this section of code:

    https://github.com/zencart/zencart/b....php#L124-L140

    why you need the radio button with only 1 option i can not say.

    but if you were to change line 125 (again depending on your template) to `> 0`, i think your button would magically appear.
    THANK YOU SO MUCH!! You are a lifesaver!! That did the trick!!

  4. #4
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,684
    Plugin Contributions
    9

    Default Re: No access to paypal in "Payment Method" when only option listed.

    Quote Originally Posted by rattell View Post
    THANK YOU SO MUCH!! You are a lifesaver!! That did the trick!!
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 

Similar Threads

  1. Remove "Payment Method" section from "Step 2 of 4 - Payment Method" page
    By iddy in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 27 Jul 2020, 09:10 PM
  2. Replies: 2
    Last Post: 28 Feb 2011, 01:51 PM
  3. Eliminate "Please Choose" when only One attribute option is present?
    By zcnb in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 28 Oct 2008, 01:53 PM
  4. Can I put a logo where it now says "paypal IPN" in payment method
    By nonamejava in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 28 Aug 2007, 02:15 AM
  5. Can I put a logo where it now says "paypal IPN" in payment method
    By nonamejava in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 13 Aug 2007, 04:40 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