Page 46 of 46 FirstFirst ... 36444546
Results 451 to 456 of 456
  1. #451
    Join Date
    Feb 2017
    Location
    Tokyo, Japan
    Posts
    243
    Plugin Contributions
    0

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

    Looks like Square is having some major issues at the moment.
    I have been trying to test the newer APIs since twitchtoo mentioned 0.97 (which I am on still) works with the latest API.

    I can say that the latest API (2020-05-28) gives communications error when I try to use it ("Square will be right back"),
    but that the one I originally used (2019-06-12) still works, although the 502 errors from Square prevent me from seeing any transactions.

    On my test shop I have the payment module set to authorize, so I expect I need to manually capture it in the Square dashboard (there is no such capture in the Zen Cart order screen). At the moment I cannot check that, and it seems Square does not send out any emails on authorized transactions (they do send notification emails for payment transactions that have gone through).
    Last edited by gernot; 28 May 2020 at 07:43 PM.
    Zen Cart 1.5.6c modified to support Japanese language (postage module support work in progress). Upgraded incrementally each version from initial 1.5.5d.

  2. #452
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    1,562
    Plugin Contributions
    2

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

    Quote Originally Posted by gernot View Post
    ...so I expect I need to manually capture it in the Square dashboard (there is no such capture in the Zen Cart order screen).
    i do not believe this is true. your square order may not be in the right status to do a capture on the ZC admin (or something else). if you search for _doCapt, you can see the modules that have this function, in theory, integrated with the ZC process of capturing a transaction in it.

    includes/modules/payment/square_support/square_admin_notification.php
    includes/modules/payment/paypaldp.php
    includes/modules/payment/paypalwpp.php
    includes/modules/payment/square.php
    includes/modules/payment/authorizenet_aim.php
    includes/modules/payment/authorizenet/authorizenet_admin_notification.php
    includes/modules/payment/paypal/paypalwpp_admin_notification.php
    admin/orders.php

    i have never integrated with square or with a _doCapt, so i have no more info to provide on the topic.

    best.
    practice #socialdistancing #staysafe
    email is hard....
    help out with the green....

  3. #453
    Join Date
    Oct 2019
    Location
    Georgia, USA
    Posts
    17
    Plugin Contributions
    0

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

    Quote Originally Posted by dbltoe View Post
    Visit with your host about the 500 error.
    I am getting a totally blank page when using firefox. with Chrome, I get an "i" indicating that the URL is not secure, even though the URL starts with https://.
    In the ZC error log, it says I am passing the wrong number of arguments to Square.

    See: [28-May-2020 21:12:54 UTC] Request URI: /adminfolder/orders.php?page=1&oID=1960&action=doCapture, IP address: 173.231.nnn.nnn
    --> PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function SquareConnect\Api\PaymentsApi::completePayment(), 1 passed in /home/xyz/tempcart.m a r i n l a t i n f o o d s.com/includes/modules/payment/square.php on line 1158 and exactly 2 expected in /home/xyz/tempcart.m a r i n l a t i n f o o d s.com/includes/classes/vendors/square/connect/lib/Api/PaymentsApi.php:266

    So looks like a coding error in the plugin.
    Please advise...
    mrsawyer

  4. #454
    Join Date
    Feb 2017
    Location
    Tokyo, Japan
    Posts
    243
    Plugin Contributions
    0

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

    Quote Originally Posted by carlwhat View Post
    i do not believe this is true. your square order may not be in the right status to do a capture on the ZC admin (or something else). if you search for _doCapt, you can see the modules that have this function, in theory, integrated with the ZC process of capturing a transaction in it.

    includes/modules/payment/square_support/square_admin_notification.php
    includes/modules/payment/paypaldp.php
    includes/modules/payment/paypalwpp.php
    includes/modules/payment/square.php
    includes/modules/payment/authorizenet_aim.php
    includes/modules/payment/authorizenet/authorizenet_admin_notification.php
    includes/modules/payment/paypal/paypalwpp_admin_notification.php
    admin/orders.php

    i have never integrated with square or with a _doCapt, so i have no more info to provide on the topic.

    best.
    Hi carlwhat,
    Thanks for the information.
    I checked again today (https://jp.issquareup.com still shows Square as having serious issues) and could at least see my transactions in the dashboard this time. And I could do a refund on my test transaction there.

    Then, when I logged into my ZenCart testshop admin again and looked at the order, lo and behold, the expected grey area for handling Square transactions was there!! So I assume that the reason it was not there before was because of transmissions failure to Square.

    Now it would be really useful to have an indication of this kind of issue in the Zen Cart order screen (there was no missing space underneath the payment method information with last line "Credit Card Expires: xx/xx" and the start of the Products listing).
    It looks like if there is some communication error that section of the order page is simply not rendered.
    Note that when testing the API versions when I updated to 2020-05-28 I got a transaction error mail with the contents "Square will be right back" but with 2019-06-12 the transaction had gone through (the test transaction under discussion), so maybe the error for the API version was related to the general Square issue and not specifically to the API. I will try again...

    Back to the transaction. I tried to do a refund from Zen Cart just to check, and got the expected error(s) in reply (in red at the top of the page) since I had already refunded from the Square dashboard:
    1. Unable to process payment due to a communications error. You may try again or contact us for assistance.
    2. Sorry, the attempted transaction update failed unexpectedly. See logs for details. [REFUND_AMOUNT_INVALID: The requested refund amount exceeds the amount available to refund. One or more refunds might already have been applied to this payment.]

    So that seems to be working fine, and I can delete the test order.

    Will report back with more API tests.
    Zen Cart 1.5.6c modified to support Japanese language (postage module support work in progress). Upgraded incrementally each version from initial 1.5.5d.

  5. #455
    Join Date
    Feb 2009
    Location
    UK
    Posts
    740
    Plugin Contributions
    0

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

    The only Payment Modules I have enabled are Square and PayPal EC. In the Square config in Admin I have,

    Set Order Status = Processing [2]

    This is not reflected in the Orders Status column of the Payment Modules listing where it is shown as Pending. I have tried switching between various Set Order Status values but Pending still persists.

    As changes to the PayPal EC Order Status are reflected in the Orders Status column, I wonder if this is a bug in the Square mod?
    Simon

  6. #456
    Join Date
    Feb 2009
    Location
    UK
    Posts
    740
    Plugin Contributions
    0

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

    Quote Originally Posted by simon1066 View Post
    The only Payment Modules I have enabled are Square and PayPal EC. In the Square config in Admin I have,

    Set Order Status = Processing [2]

    This is not reflected in the Orders Status column of the Payment Modules listing where it is shown as Pending. I have tried switching between various Set Order Status values but Pending still persists.

    As changes to the PayPal EC Order Status are reflected in the Orders Status column, I wonder if this is a bug in the Square mod?
    Now I see, this is normal behaviour. If the Transaction Type is set to Authorize then Pending is the default. Set Order Status is the status of a paid order - as the description states.
    Simon

 

 
Page 46 of 46 FirstFirst ... 36444546

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