Page 1 of 2 12 LastLast
Results 1 to 10 of 821

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

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

    Quote Originally Posted by dbair View Post
    I have a client using Zen Cart 1.5.5e and the Square Payments Module 0.81. She needs to renew /refresh the OAuth token. She has tried all the suggestions in this thread (creating a new app, confirming the return URL, etc.) but the payment method is still not available. She indicates the refresh token link is "missing".

    Any suggestions?

    Thanks in advance!
    Quote Originally Posted by dbair View Post
    Thank you.
    Response from my client:

    I do get the screen that says token has been updated when I'm redirected to square and put in my credentials. But zencart then goes green and the "needs token disappears but it doesn't become a payment method.

    Any other suggestions?
    By "it doesn't become a payment method", I'm assuming they're trying to say "it shows in the Admin, but during checkout Square is not offered"?

    Reasons for a payment module to not show during checkout (none of them are specific to Square):
    - A Payment Zone restriction has been set, and the address being used for checkout isn't in that zone. Set Payment Zone to --none-- in the module, to remove all restrictions
    - Another plugin is interfering with the default checkout process, and a billing country/state haven't been specified.
    - Strange/unusual alterations to checkout templates. This is rare, but does happen, depending on who customizes them.


    You haven't listed:
    - what template is in use
    - all the plugins on the site
    - which other payment modules are enabled
    .

    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
    Jun 2017
    Location
    Utah
    Posts
    4
    Plugin Contributions
    0

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

    Thank you for your response.
    Yes, it does not become a payment method.

    Other Payment module is PayPal Express.
    Template is Responsive Classic.
    The only plugin installed after zen cart was installed is ckeditor.



    Quote Originally Posted by DrByte View Post
    By "it doesn't become a payment method", I'm assuming they're trying to say "it shows in the Admin, but during checkout Square is not offered"?

    Reasons for a payment module to not show during checkout (none of them are specific to Square):
    - A Payment Zone restriction has been set, and the address being used for checkout isn't in that zone. Set Payment Zone to --none-- in the module, to remove all restrictions
    - Another plugin is interfering with the default checkout process, and a billing country/state haven't been specified.
    - Strange/unusual alterations to checkout templates. This is rare, but does happen, depending on who customizes them.


    You haven't listed:
    - what template is in use
    - all the plugins on the site
    - which other payment modules are enabled

  3. #3
    Join Date
    Jun 2017
    Location
    Utah
    Posts
    4
    Plugin Contributions
    0

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

    Thank you again.
    It was the location code.
    Fixed now.


    Quote Originally Posted by DrByte View Post
    By "it doesn't become a payment method", I'm assuming they're trying to say "it shows in the Admin, but during checkout Square is not offered"?

    Reasons for a payment module to not show during checkout (none of them are specific to Square):
    - A Payment Zone restriction has been set, and the address being used for checkout isn't in that zone. Set Payment Zone to --none-- in the module, to remove all restrictions
    - Another plugin is interfering with the default checkout process, and a billing country/state haven't been specified.
    - Strange/unusual alterations to checkout templates. This is rare, but does happen, depending on who customizes them.


    You haven't listed:
    - what template is in use
    - all the plugins on the site
    - which other payment modules are enabled

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

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

    Quote Originally Posted by dbair View Post
    Thank you again.
    It was the location code.
    Fixed now.
    Thanks for reporting back.
    The Location ID is normally automatically set to the first available location. But if you're using multiple locations, or have somehow tricked the system into storing a wrong location value, then there will be errors during checkout. Choosing one from the dropdown will resolve that.
    .

    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.

  5. #5
    Join Date
    Apr 2012
    Location
    Los Angeles, CA
    Posts
    185
    Plugin Contributions
    2

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

    Hi Dr. Byte,

    1st problem I have is extractions of the file from the .zip I kept getting a Path too long error, which I tried skipping but it was a lot of files. Then I used filezilla to upload my extracted files and I can not find the square module anywhere even after refreshing. My assumption is all of the files are missing so I need to try this a different way. Any suggestions?
    Click image for larger version. 

Name:	zencartconnect.PNG 
Views:	982 
Size:	33.6 KB 
ID:	17206

  6. #6
    Join Date
    Apr 2012
    Location
    Los Angeles, CA
    Posts
    185
    Plugin Contributions
    2

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

    Nevermind! I had to extract to my desktop and upload the files before moving it to folder in which I usually save my templates. I managed to upload all of the files, and the module still is not showing up in the list.

    Click image for larger version. 

Name:	zencartconnect2.jpg 
Views:	680 
Size:	31.0 KB 
ID:	17207

  7. #7
    Join Date
    Apr 2012
    Location
    Los Angeles, CA
    Posts
    185
    Plugin Contributions
    2

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

    After the 1st failures I have tried again. I uploaded my back up copy of the store and started fresh at 1st I could install and make changes to the payment modules with no issues. After following the installation directions for Square Payment Module, I can no longer see any installation or make changes to the payment modules and the Square module is not listed as in the image in the previous post. I now have 4 new debug logs which I don't understand:

    [07-Aug-2017 23:34:16 America/Detroit] PHP Parse error: syntax error, unexpected '[', expecting ')' in /home/sammirah/public_html/webstore/includes/languages/english/modules/payment/square.php on line 34
    [07-Aug-2017 23:34:20 America/Detroit] PHP Parse error: syntax error, unexpected '[', expecting ')' in /home/sammirah/public_html/webstore/includes/languages/english/modules/payment/square.php on line 34
    [07-Aug-2017 23:34:23 America/Detroit] PHP Parse error: syntax error, unexpected '[', expecting ')' in /home/sammirah/public_html/webstore/includes/languages/english/modules/payment/square.php on line 34
    [07-Aug-2017 23:34:50 America/Detroit] PHP Parse error: syntax error, unexpected '[', expecting ')' in /home/sammirah/public_html/webstore/includes/languages/english/modules/payment/square.php on line 34

    My assumption is I need to change a [ to a ) somewhere on line 34 in the square.php file but I don't want to mess anything else up, if that is not what it means. Please advise.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

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

    @sammirah, what version of PHP are you using? I see from your screenshot you're using Zen Cart v1.5.5, which is great.

    The Square module is designed for PHP 5.4 or newer, and Zen Cart v1.5.4 or newer.

    The message you've quoted suggests that you're using an older version of PHP that doesn't recognize the square-bracket short-array syntax added in PHP 5.4 in 2012.

    Perhaps you can ask your hosting company to switch you to PHP 5.6 instead?
    .

    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.

  9. #9
    Join Date
    Dec 2005
    Location
    Kalamazoo, MI
    Posts
    65
    Plugin Contributions
    0

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

    Hello.
    I'm excited for the possibility of Square working directly with Zencart. Is there a plugin or way for Square POS orders to be integrated with Zencart? We would like to centralize into one system for both online and in-person orders but current the Square orders are in their own area with no integration. If there is another way to think about this, we'd be happy to look at it. We traditionally used a custom mod for USB swipe CC payments with Firstdata/Linkpointbut this functionality will no longer be possible soon.
    J.J. Meddaugh
    http://www.atguys.com

  10. #10
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,684
    Plugin Contributions
    11

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

    I began with square when you entered all items individually. I've got a few emails letting me know that, just because your latest suggestion showed up, we ain't paying you for it. Did some testing with DrByte and the Square Team on the current module

    That's just to let you know that they do listen to the little guy. Over a dozen suggestions are now in the dashboard. One of the ones NOT there yet is the ability to automatically tie the databases together. That would be a definite plus to the store owner trying to keep online inventory current while (as one of our customers does) going around the country from rodeo to rodeo selling their wares.

    I can also attest that the idea of tying thousands of databases into a central Square database is mind boggling. Perhaps it will be easier to have some addition to the configure files if using Square or a dropshipper. A database connection for product availability only in the configure.php is still daunting.

    Still, we keep getting more and more with Square on a regular basis. Right now, they seem to be spending time figuring out a way to get more money through services. You can always put a bug in their ear either in their forum or the contact us in their website.

    We'll keep our fingers crossed.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

 

 
Page 1 of 2 12 LastLast

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