Results 1 to 10 of 821

Hybrid View

  1. #1
    Join Date
    Jul 2015
    Location
    Pennsylvania, United States
    Posts
    11
    Plugin Contributions
    0

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

    I am attempting to set this payment module up on a site, but I do not see it in the payment modules menu. I downloaded the latest archive, uploaded the necessary files to the website directory (and verified they were uploaded), but still do not see the module. In searching this thread, I cam across someone else with the same issue that resolved it by adding an 'AddHandler application/...' line to their .htaccess. That line already exists in my .htaccess for my PHP version, it was applied by my webhost when I upgraded PHP a while back across my entire hosting account to 7.2.

    I am running Zen Cart v1.5.6c, PHP v7.2, and Square Payments module v0.97. This is what I see when I go to Payment->Modules.

    Click image for larger version. 

Name:	Screenshot from 2019-12-09 18-34-14.jpg 
Views:	70 
Size:	23.2 KB 
ID:	18751

    The only thing I am seeing in the debug logs even remotely related are messages pertaining to 'authorizenet_echeck' and 'linkpoint_api', nothing at all about square:

    Code:
    [09-Dec-2019 23:44:22 UTC] Request URI: /zcadmin/modules.php?set=payment, IP address: xxx.xxx.xxx.xxx
    #1  include(/home/tim/yeworkshoppe.com/includes/languages/english/modules/payment/authorizenet_echeck.php) called at [/home/tim/yeworkshoppe.com/zcadmin/modules.php:192]
    --> PHP Warning: Use of undefined constant MODULE_PAYMENT_AUTHORIZENET_ECHECK_STATUS - assumed 'MODULE_PAYMENT_AUTHORIZENET_ECHECK_STATUS' (this will throw an Error in a future version of PHP) in /home/tim/yeworkshoppe.com/includes/languages/english/modules/payment/authorizenet_echeck.php on line 17.
    
    [09-Dec-2019 23:44:22 UTC] Request URI: /zcadmin/modules.php?set=payment, IP address: xxx.xxx.xxx.xxx
    #1  authorizenet_echeck->__construct() called at [/home/tim/yeworkshoppe.com/zcadmin/modules.php:196]
    --> PHP Warning: Use of undefined constant MODULE_PAYMENT_AUTHORIZENET_ECHECK_STATUS - assumed 'MODULE_PAYMENT_AUTHORIZENET_ECHECK_STATUS' (this will throw an Error in a future version of PHP) in /home/tim/yeworkshoppe.com/includes/modules/payment/authorizenet_echeck.php on line 75.
    
    [09-Dec-2019 23:44:22 UTC] Request URI: /zcadmin/modules.php?set=payment, IP address: xxx.xxx.xxx.xxx
    #1  authorizenet_echeck->__construct() called at [/home/tim/yeworkshoppe.com/zcadmin/modules.php:196]
    --> PHP Warning: Use of undefined constant MODULE_PAYMENT_AUTHORIZENET_ECHECK_SORT_ORDER - assumed 'MODULE_PAYMENT_AUTHORIZENET_ECHECK_SORT_ORDER' (this will throw an Error in a future version of PHP) in /home/tim/yeworkshoppe.com/includes/modules/payment/authorizenet_echeck.php on line 92.
    
    [09-Dec-2019 23:44:22 UTC] Request URI: /zcadmin/modules.php?set=payment, IP address: xxx.xxx.xxx.xxx
    #1  authorizenet_echeck->__construct() called at [/home/tim/yeworkshoppe.com/zcadmin/modules.php:196]
    --> PHP Warning: Use of undefined constant MODULE_PAYMENT_AUTHORIZENET_ECHECK_ORDER_STATUS_ID - assumed 'MODULE_PAYMENT_AUTHORIZENET_ECHECK_ORDER_STATUS_ID' (this will throw an Error in a future version of PHP) in /home/tim/yeworkshoppe.com/includes/modules/payment/authorizenet_echeck.php on line 95.
    
    [09-Dec-2019 23:44:22 UTC] PHP Parse error:  syntax error, unexpected '[', expecting ',' or ';' in /home/tim/yeworkshoppe.com/includes/modules/payment/linkpoint_api.php on line 308
    
    [09-Dec-2019 23:44:22 UTC] Request URI: /zcadmin/modules.php?set=payment, IP address: xxx.xxx.xxx.xxx
    --> PHP Parse error: syntax error, unexpected '[', expecting ',' or ';' in /home/tim/yeworkshoppe.com/includes/modules/payment/linkpoint_api.php on line 308.

  2. #2
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

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

    Quote Originally Posted by radiowave911 View Post
    I am attempting to set this payment module up on a site, but I do not see it in the payment modules menu. I downloaded the latest archive, uploaded the necessary files to the website directory (and verified they were uploaded), but still do not see the module. In searching this thread, I cam across someone else with the same issue that resolved it by adding an 'AddHandler application/...' line to their .htaccess. That line already exists in my .htaccess for my PHP version, it was applied by my webhost when I upgraded PHP a while back across my entire hosting account to 7.2.

    I am running Zen Cart v1.5.6c, PHP v7.2, and Square Payments module v0.97. This is what I see when I go to Payment->Modules.

    Click image for larger version. 

Name:	Screenshot from 2019-12-09 18-34-14.jpg 
Views:	70 
Size:	23.2 KB 
ID:	18751

    The only thing I am seeing in the debug logs even remotely related are messages pertaining to 'authorizenet_echeck' and 'linkpoint_api', nothing at all about square:

    Code:
    [09-Dec-2019 23:44:22 UTC] Request URI: /zcadmin/modules.php?set=payment, IP address: xxx.xxx.xxx.xxx
    #1  include(/home/tim/yeworkshoppe.com/includes/languages/english/modules/payment/authorizenet_echeck.php) called at [/home/tim/yeworkshoppe.com/zcadmin/modules.php:192]
    --> PHP Warning: Use of undefined constant MODULE_PAYMENT_AUTHORIZENET_ECHECK_STATUS - assumed 'MODULE_PAYMENT_AUTHORIZENET_ECHECK_STATUS' (this will throw an Error in a future version of PHP) in /home/tim/yeworkshoppe.com/includes/languages/english/modules/payment/authorizenet_echeck.php on line 17.
    
    [09-Dec-2019 23:44:22 UTC] Request URI: /zcadmin/modules.php?set=payment, IP address: xxx.xxx.xxx.xxx
    #1  authorizenet_echeck->__construct() called at [/home/tim/yeworkshoppe.com/zcadmin/modules.php:196]
    --> PHP Warning: Use of undefined constant MODULE_PAYMENT_AUTHORIZENET_ECHECK_STATUS - assumed 'MODULE_PAYMENT_AUTHORIZENET_ECHECK_STATUS' (this will throw an Error in a future version of PHP) in /home/tim/yeworkshoppe.com/includes/modules/payment/authorizenet_echeck.php on line 75.
    
    [09-Dec-2019 23:44:22 UTC] Request URI: /zcadmin/modules.php?set=payment, IP address: xxx.xxx.xxx.xxx
    #1  authorizenet_echeck->__construct() called at [/home/tim/yeworkshoppe.com/zcadmin/modules.php:196]
    --> PHP Warning: Use of undefined constant MODULE_PAYMENT_AUTHORIZENET_ECHECK_SORT_ORDER - assumed 'MODULE_PAYMENT_AUTHORIZENET_ECHECK_SORT_ORDER' (this will throw an Error in a future version of PHP) in /home/tim/yeworkshoppe.com/includes/modules/payment/authorizenet_echeck.php on line 92.
    
    [09-Dec-2019 23:44:22 UTC] Request URI: /zcadmin/modules.php?set=payment, IP address: xxx.xxx.xxx.xxx
    #1  authorizenet_echeck->__construct() called at [/home/tim/yeworkshoppe.com/zcadmin/modules.php:196]
    --> PHP Warning: Use of undefined constant MODULE_PAYMENT_AUTHORIZENET_ECHECK_ORDER_STATUS_ID - assumed 'MODULE_PAYMENT_AUTHORIZENET_ECHECK_ORDER_STATUS_ID' (this will throw an Error in a future version of PHP) in /home/tim/yeworkshoppe.com/includes/modules/payment/authorizenet_echeck.php on line 95.
    
    [09-Dec-2019 23:44:22 UTC] PHP Parse error:  syntax error, unexpected '[', expecting ',' or ';' in /home/tim/yeworkshoppe.com/includes/modules/payment/linkpoint_api.php on line 308
    
    [09-Dec-2019 23:44:22 UTC] Request URI: /zcadmin/modules.php?set=payment, IP address: xxx.xxx.xxx.xxx
    --> PHP Parse error: syntax error, unexpected '[', expecting ',' or ';' in /home/tim/yeworkshoppe.com/includes/modules/payment/linkpoint_api.php on line 308.
    The linkpoint_api software wasn't upgraded for the more current PHP software and in fact was not included in ZC 1.5.6. The files includes/modules/payment/linkpoint_api.php and language file associated: includes/languages/english/modules/payment/linkpoint_api.php should be removed from the loading sequence. If the remainder of the payment options do not again appear, check for additional/new mydebug logs. Obviously there are still going to be issues with authorizenet_echeck.php until those are addressed as well, but for now they are just warnings not fatal errors.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jul 2015
    Location
    Pennsylvania, United States
    Posts
    11
    Plugin Contributions
    0

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

    Thank you. That got the module to display, now I am encountering another issue.

    I went through the steps to set up an application in Square, grabbed the application sandbox ID and the application oauth secret. They were entered into the appropriate location in the configuration, and the configuration saved. There is a 'Location ID' dropdown in the configuration, however there is nothing there. Is this normal?

    When I click the green bar to log in and authorize the account, I get a message from oauth2 at squareup "Missing client by that 'client_id'". In the URL, the client ID is the sandbox client ID I copied from the application. I am thinking this may be a Square issue, not an issue with the module but I am not entirely certain.

  4. #4
    Join Date
    Jul 2015
    Location
    Pennsylvania, United States
    Posts
    11
    Plugin Contributions
    0

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

    I think I figured it out. For some reason, the sandbox is not working correctly to recognize the ID. I switched to the production settings, updated the application ID and the OAUTH secret, and all seems to be well now. Since this is a slow store, I need to get the cron job I read about set up to keep the tokens current. Thanks again for the help.

  5. #5
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,732
    Plugin Contributions
    27

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

    Fjolsvith

    If the fileset is the newest from the Zen Plugins, you may need to re-key your store to My Apps in Square.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

  6. #6
    Join Date
    Mar 2016
    Location
    Norcatur, Kansas, USA
    Posts
    80
    Plugin Contributions
    3

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

    Quote Originally Posted by twitchtoo View Post
    Fjolsvith

    If the fileset is the newest from the Zen Plugins, you may need to re-key your store to My Apps in Square.
    I did that and had two successful orders at the end of February. Last night was the most recent attempt by a customer to place an order, and it failed. And then, today I had two more try to order and they complained about getting the HTTP 500 error and not getting the order placed.

    I was able to use the MySql console to disable the Square module by setting the status to false. That allowed me to enable the Stripe module so those orders could be placed this evening.

  7. #7
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,732
    Plugin Contributions
    27

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

    I would pull the files, manually pull the SQL entries and start over installing the stock module. Then sync it with new credentials in your Square account.

    That forces everything to be new replaced and working.

    Alternately, check to see there were no changes with your provider. Recently a customer lost module function due to the 'new - upgrade' server having cloud Php settings that shut important functions off the site was using.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

  8. #8
    Join Date
    Mar 2016
    Location
    Norcatur, Kansas, USA
    Posts
    80
    Plugin Contributions
    3

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

    Quote Originally Posted by twitchtoo View Post
    I would pull the files, manually pull the SQL entries and start over installing the stock module. Then sync it with new credentials in your Square account.

    That forces everything to be new replaced and working.
    That fixed it. I tested it. Thanks!

    Running the 1.0 beta version.

 

 

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