Page 42 of 48 FirstFirst ... 324041424344 ... LastLast
Results 411 to 420 of 476
  1. #411
    Join Date
    Jan 2011
    Posts
    3
    Plugin Contributions
    0

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

    Had some issues using 1.1.

    Seemed to authorize transactions but in admin it would just load a blank page on capture; and not actually capture. Server php is 7.0, zen cart version is 1.5.6c, and the square API is set to 2020-3-25.


    Gives me a warning then a error:
    Code:
    PHP Warning: Missing argument 2 for SquareConnect\Api\PaymentsApi::completePayment(), called in /public_html/includes/modules/payment/square.php on line 1158 and defined in /public_html/includes/classes/vendors/square/connect/lib/Api/PaymentsApi.php on line 266.
    
    PHP Fatal error:  Uncaught InvalidArgumentException: Missing the required parameter $body when calling completePayment in /public_html/includes/classes/vendors/square/connect/lib/Api/PaymentsApi.php:292

    I cant remember which version I tried to upgrade from, But 1.1 will not capture transactions. To get 1.1 to function at all I had to uninstall and reinstall the module.

    I uninstalled 1.1 module -I downloaded 1.0, overwrote all files and its working.

    I'm not sure what is going on between to two versions, But Ill keep a eye out for this token refresh bug for now.

  2. #412
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    7,501
    Plugin Contributions
    8

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

    Quote Originally Posted by RixStix View Post
    TNX for the reply. FWIW, I am using php 7.3.16
    There is a github PR for 1.5.7 showing
    Code:
    1110 -       if (count($errors_object)) {
    1110 + if (is_array($errors_object) && count($errors_object)) {
    Did you read the posting tips?!?
    Responsive Color Changes for 155-156c demo here.
    Zen Cart PCI Compatible Hosting

  3. #413
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    1,592
    Plugin Contributions
    3

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

    not merged as of yet.
    practice #socialdistancing #staysafe
    email is hard....
    help out with the green....

  4. #414
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    1,943
    Plugin Contributions
    1

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

    TNX dbltoe

    Got it added
    Rick
    ChainWeavers (dot) com

  5. #415
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    7,501
    Plugin Contributions
    8

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

    Quote Originally Posted by carlwhat View Post
    not merged as of yet.
    Hence the term PR

    Do you dispute the change?

    Asking for a friend
    Did you read the posting tips?!?
    Responsive Color Changes for 155-156c demo here.
    Zen Cart PCI Compatible Hosting

  6. #416
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    1,943
    Plugin Contributions
    1

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

    AND no debug generated today. We will see if square refunds the processing fee for the $1 test charge made yesterday and refunded today.

    I'm still keeping the Auth.net account open because I don't yet fully trust Square processing for reliability and overall processing rate.
    Rick
    ChainWeavers (dot) com

  7. #417
    Join Date
    Feb 2009
    Location
    UK
    Posts
    745
    Plugin Contributions
    0

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

    Quote Originally Posted by Phosphoric View Post
    Had some issues using 1.1.

    Seemed to authorize transactions but in admin it would just load a blank page on capture; and not actually capture. Server php is 7.0, zen cart version is 1.5.6c, and the square API is set to 2020-3-25.


    Gives me a warning then a error:
    Code:
    PHP Warning: Missing argument 2 for SquareConnect\Api\PaymentsApi::completePayment(), called in /public_html/includes/modules/payment/square.php on line 1158 and defined in /public_html/includes/classes/vendors/square/connect/lib/Api/PaymentsApi.php on line 266.
    
    PHP Fatal error:  Uncaught InvalidArgumentException: Missing the required parameter $body when calling completePayment in /public_html/includes/classes/vendors/square/connect/lib/Api/PaymentsApi.php:292

    I cant remember which version I tried to upgrade from, But 1.1 will not capture transactions. To get 1.1 to function at all I had to uninstall and reinstall the module.

    I uninstalled 1.1 module -I downloaded 1.0, overwrote all files and its working.

    I'm not sure what is going on between to two versions, But Ill keep a eye out for this token refresh bug for now.
    I have the same/similar issue capturing funds with v1.1 of this mod (PHP v7.2.24, API 2020-3-25). I have a live, authorised, order awaiting capture. Error log is:

    Code:
    [17-Apr-2020 14:01:51 UTC] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function SquareConnect\Api\PaymentsApi::completePayment(), 1 passed in /home/mydomain/public_html/includes/modules/payment/square.php on line 1158 and exactly 2 expected in /home/mydomain/public_html/includes/classes/vendors/square/connect/lib/Api/PaymentsApi.php:266
    Stack trace:
    #0 /home/mydomain/public_html/includes/modules/payment/square.php(1158): SquareConnect\Api\PaymentsApi->completePayment('[simon1066_string_hidden]...')
    #1 /home/mydomain/public_html/myadmin/orders.php(285): square->_doCapt('1275', 'Complete', '2.5000', 'GBP')
    #2 {main}
      thrown in /home/mydomain/public_html/includes/classes/vendors/square/connect/lib/Api/PaymentsApi.php on line 266
    
    [17-Apr-2020 14:01:51 UTC] Request URI: /myadmin/orders.php?page=1&oID=1275&action=doCapture, IP address: 11.222.333.444
    --> PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function SquareConnect\Api\PaymentsApi::completePayment(), 1 passed in /home/mydomain/public_html/includes/modules/payment/square.php on line 1158 and exactly 2 expected in /home/mydomain/public_html/includes/classes/vendors/square/connect/lib/Api/PaymentsApi.php:266
    Stack trace:
    #0 /home/mydomain/public_html/includes/modules/payment/square.php(1158): SquareConnect\Api\PaymentsApi->completePayment('[simon1066_string_hidden]...')
    #1 /home/mydomain/public_html/myadmin/orders.php(285): square->_doCapt('1275', 'Complete', '2.5000', 'GBP')
    #2 {main}
      thrown in /home/mydomain/public_html/includes/classes/vendors/square/connect/lib/Api/PaymentsApi.php on line 266.
    If I have to revert to v1.0 will it affect the order?
    Simon

  8. #418
    Join Date
    Feb 2009
    Location
    UK
    Posts
    745
    Plugin Contributions
    0

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

    Previously I noted that 'Captures can ONLY be done via your store Admin'. Now I see that in my Square dashboard there is an option to Charge an authorised transaction (not sure when that feature appeared). So I'm wondering whether it's ok to capture through Square dashboard? Presumably the order in ZC will not be updated accordingly.
    Simon

  9. #419
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    1,592
    Plugin Contributions
    3

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

    Quote Originally Posted by simon1066 View Post
    Previously I noted that 'Captures can ONLY be done via your store Admin'. Now I see that in my Square dashboard there is an option to Charge an authorised transaction (not sure when that feature appeared). So I'm wondering whether it's ok to capture through Square dashboard? Presumably the order in ZC will not be updated accordingly.
    the square dashboard is the DEFINITIVE statement of your square transactions. doing anything there will directly affect your payments, and will not change anything on the ZC order.

    it is perfectly fine to capture on the square dashboard to get your money.
    practice #socialdistancing #staysafe
    email is hard....
    help out with the green....

  10. #420
    Join Date
    Feb 2009
    Location
    UK
    Posts
    745
    Plugin Contributions
    0

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

    Quote Originally Posted by carlwhat View Post
    the square dashboard is the DEFINITIVE statement of your square transactions. doing anything there will directly affect your payments, and will not change anything on the ZC order.

    it is perfectly fine to capture on the square dashboard to get your money.
    Great, thanks @carlwhat, I'll prob do it that way. It would be best if I could do it in Admin to have a full record of the order - I'll double check my files from the last v1.1 upgrade to make sure I didn't miss anything.
    Simon

 

 
Page 42 of 48 FirstFirst ... 324041424344 ... LastLast

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