Results 1 to 10 of 821

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,445
    Plugin Contributions
    81

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    Quote Originally Posted by Gamethrall View Post
    Zen Cart version: 1.5.5f
    Plugin version: 0.91 and 0.90
    Template used: Fidelity
    Issue: unable to enter credit card information, there are no fields to type in

    I looked at the FAQ, which says
    Code:
    If you find the input fields for credit card numbers are flat with no text box to type into, this typically means you're missing the jscript_square.php file as described earlier in the Installation Instructions.
    
    Or you've got a firewall or browser plugin blocking access to Square's javascript code.
    
    Or you've got a plugin having jQuery conflicts.
    I am not missing the "jscript_square.php" file. It is in the correct location as per the PHP Files section of the Square Payments for Zen Cart page.

    I ran it in an incognito tab (no browser plugins) and on my mobile phone with wireless turned off (no firewall).

    I do not see any indication of jQuery conflicts.

    I switched to the Responsive Classic template and the Classic Contemporary Green template and experienced the same issue.

    Not realizing until the last post that 0.91 is included with 1.5.5f, I downloaded and uploaded the files for 0.90 and saw the same behavior.

    I know a lot of other people have this installed and working without issue. What am I doing wrong? If you want to see it, the site is https://www.yaybeads.biz.
    If you look in your browser's Console errors, you'll see:

    HttpsRequiredError: SqPaymentForm can only be embedded on sites that use HTTPS. See: https://docs.connect.squareup.com/pa...nd-limitations
    You need to fix your HTTPS (SSL) on your site. It's currently redirecting away from https to just http URLs. Maybe just edit your configure.php and make both the HTTP_SERVER and HTTPS_SERVER urls begin with "https://...." instead of both being http://
    .

    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.

  2. #2
    Join Date
    Aug 2016
    Posts
    20
    Plugin Contributions
    0

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    Quote Originally Posted by DrByte View Post
    If you look in your browser's Console errors, you'll see:


    You need to fix your HTTPS (SSL) on your site. It's currently redirecting away from https to just http URLs. Maybe just edit your configure.php and make both the HTTP_SERVER and HTTPS_SERVER urls begin with "https://...." instead of both being http://
    That was it! I changed both files and I can enter cc numbers!

    Thanks again, DrByte!

  3. #3
    Join Date
    Jan 2005
    Posts
    13
    Plugin Contributions
    0

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    I'm a newbie and this is exactly what I'm coming up against. Where do I find the configure.php that you reference?

  4. #4
    Join Date
    Jan 2005
    Posts
    13
    Plugin Contributions
    0

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    I located and changed both configure.php files and that worked! Thanks Dr. Byte and Gamethrall!

  5. #5
    Join Date
    Jan 2005
    Posts
    13
    Plugin Contributions
    0

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    I have now successfully configured Square as a payment option. However, there is no logo or text identifying that Square is the processor. I've attached a screenshot from Step 2 of 3 - Payment Information. www.kaylieskandles.com

    Click image for larger version. 

Name:	Checkout w Square.jpg 
Views:	514 
Size:	35.1 KB 
ID:	17804

  6. #6
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    Here's one way to add an image:

    In \includes\languages\english\modules\payment\YOUR_TEMPLATE\square.php you can edit

    Code:
    define('MODULE_PAYMENT_SQUARE_TEXT_CATALOG_TITLE', 'Credit Card');  // Payment option title as displayed to the customer
    to a description of your choice.

    If you want an icon there instead change it to

    Code:
    define('MODULE_PAYMENT_SQUARE_TEXT_CATALOG_TITLE', '<img class="spIcon" alt="credit card" title="Secure payments with Square SSL" src="images/AN_IMAGE.png" />');  // Payment option title as displayed to the customer
    replace AN_IMAGE with a credit card image of your choosing, and you can position the image by adding the spIcon class to your stylesheet.

 

 

Similar Threads

  1. WordPress® for Zen Cart® (wp4zen) [Support Thread]
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 109
    Last Post: 1 Dec 2024, 01:36 PM
  2. Bambora/Beanstream Payment Module Support Thread
    By swguy in forum Addon Payment Modules
    Replies: 127
    Last Post: 26 Mar 2021, 04:13 PM
  3. v154 Support Thread: AddToAny for Zen Cart (The Universal Sharing Platform)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 8 Apr 2019, 02:39 PM
  4. Layaway Payment Module Support Thread
    By Danielle in forum Addon Payment Modules
    Replies: 0
    Last Post: 21 Nov 2006, 06:43 AM

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