Page 32 of 32 FirstFirst ... 22303132
Results 311 to 313 of 313
  1. #311
    Join Date
    Nov 2008
    Posts
    183
    Plugin Contributions
    0

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

    When receiving payments via Square, the credit card owner line is blank on the order details screen. Also, when viewing the transaction on Square, the credit card owner line is also blank. Is this the way it's supposed to work?


    Name:  ccscreen.jpg
Views: 58
Size:  54.3 KB

  2. #312
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    403
    Plugin Contributions
    0

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

    Quote Originally Posted by Congerman View Post
    Square did not say but emailing them would probably clarify for you
    Seems the PSD2 deadline that has been pushed out from 14 September 2019 to March 2021 is only for the UK.
    What a mess this is.....

  3. #313
    Join Date
    Jul 2019
    Location
    Aberdeen, WA
    Posts
    1
    Plugin Contributions
    0

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

    Quote Originally Posted by DrByte View Post
    When the module in your store Admin says "(Access Token needed)", it's because the OAuth token has NOT been successfully obtained from Square.

    For the OAuth token to be obtained, the following (as documented in the installation instructions) must be in place:

    a) square_handler.php must be on your server. It should be in the same directory as ipn_main_handler.php already exists.
    b) the correct URL pointing to square_handler.php on your site must be entered into your Square's account OAuth Redirect URL setting.
    c) click on the button to initiate the process of requesting a token. This will open a browser window to Square, and if you're not already logged in there, will ask for credentials.
    d) After Square verifies the supplied credentials, it will show an almost-blank page with a small redirection message, before the window closes automatically.
    e) Within 0-5 seconds after that almost-blank window closes, Square should have automatically sent a message to the OAuth Redirect URL (your square_handler.php file), which will read and validate Square's response, and update the token in your store. This happens automatically, and 99% of the time happens in less than 1 second.
    f) Now refreshing your Zen Cart Admin screen will show that the "Get Token" button has disappeared, as well as the "(Access Token needed)" message.
    The module is now fully functional.

    Common causes of problems with this:
    a) didn't upload square_handler.php
    b) put square_handler.php into the wrong directory. It belongs in the "root" of your store's folders. For reference, "ipn_main_handler.php" also exists in this directory.)
    c) didn't put the OAuth Redirect URL into Square's settings, or mistyped it.


    Less common, but possible causes:
    a) you've got URL-rewriting rules set up in .htaccess or nginx, which are disallowing square_handler.php to be reached, probably because you're redirecting those requests to some other URL/file. Fix: allow square_handler.php to accessed directly. You could clone any rules for ipn_main_handler.php for square_handler.php, as a starting point.

    b) you're running on a test site using a fake/unreachable URL, according to Square's servers. Fix by using a real live website.

    c) you're running behind a firewall that's got aggressive restrictions on which files are allowed to be accessed. This is simple. Just tell the firewall to allow normal port 443 access to square_handler.php .... just like any other file on a website should be able to do. Nothing special here.

    I have done C, and it opens a new page that says this "Missing client by that `client_id`" also know that I have made sure that everything is where it is supposed to be etc. I am very new to using zencart and all things ecommerce.

 

 
Page 32 of 32 FirstFirst ... 22303132

Similar Threads

  1. Bambora/Beanstream Payment Module Support Thread
    By swguy in forum Addon Payment Modules
    Replies: 125
    Last Post: 28 Jun 2019, 02:15 AM
  2. 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
  3. WordPress® for Zen Cart® (wp4zen) [Support Thread]
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 107
    Last Post: 13 Jan 2019, 12:32 PM
  4. Layaway Payment Module Support Thread
    By Danielle in forum Addon Payment Modules
    Replies: 32
    Last Post: 4 Nov 2012, 08:01 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