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

Hybrid View

  1. #1
    Join Date
    Apr 2009
    Posts
    489
    Plugin Contributions
    2

    Default Re: Square WebPay

    Quote Originally Posted by OJ_SIMON View Post
    To me looking back in this thread I'm beginning to see a similar pattern and with your last log you have posted I'm sure the issues are from a outdated API look to see if there is a newer version.

    The above is working on seeing: " PHP Deprecated: Creation of dynamic property" .
    see https://www.zen-cart.com/showthread....21#post1401721 earlier in this thread on how to fix php depreciated. it is because the version of square web pay is not coded for your version of php.
    Mark Brittain
    http:\\innerlightcrystals.co.uk\sales\

  2. #2
    Join Date
    Nov 2023
    Location
    Hounslow
    Posts
    131
    Plugin Contributions
    0

    Default Re: Square WebPay

    Quote Originally Posted by brittainmark View Post
    see https://www.zen-cart.com/showthread....21#post1401721 earlier in this thread on how to fix php depreciated. it is because the version of square web pay is not coded for your version of php.
    1. I was replying to questions,
    2. You are not totally right about it being PHP version, it can also be API version (and the reason I said API version was because the error was of a API function name and not a PHP code (yes before you say I know a API function name is also PHP code so please don't think me of a silly person) so you can have the right version of PHP for the plugin and get a API depreciated error (as some users have been known to wish to use the newest API version and believe by just replacing the API version (files in the API folder) that means they will be using the newest API version but have not upgraded the plugin as they have not updated the API call within the plugin hence depreciated when working with API's tend to be more related to API version of when you look at the line of code the error is at and it is a API function name call.

    So I hope you can see why I said API version instead of just jumping to it's a PHP version error.

    Kind regards OJ
    Last edited by OJ_SIMON; 11 Jul 2024 at 11:08 AM.

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,532
    Plugin Contributions
    127

    Default Re: Square WebPay

    This message

    --> PHP Deprecated: Creation of dynamic property square_webPay::$token is deprecated in /home/customer/www/devel.tennesseetraditionalflies.com/public_html/shop/includes/modules/payment/square_webPay.php on line 109.

    is caused by using an old version of the Square WebPay plugin (version 1.0.4) from the plugins library and expecting it to work with newer versions of PHP.

    It has nothing to do with your API version.

    The plugin library version of the Square WebPay plugin does NOT work with newer versions of PHP. That's why when you go to

    https://www.zen-cart.com/downloads.php?do=file&id=2345

    it says at the top:
    Please note: PHP8.1+ requires a paid upgrade; purchase through https://mxworks.cc/?product=zen-cart...in-for-php-8-x
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    May 2011
    Location
    Tennessee
    Posts
    510
    Plugin Contributions
    0

    Default Re: Square WebPay

    Quote Originally Posted by swguy View Post
    This message

    --> PHP Deprecated: Creation of dynamic property square_webPay::$token is deprecated in /home/customer/www/devel.tennesseetraditionalflies.com/public_html/shop/includes/modules/payment/square_webPay.php on line 109.

    is caused by using an old version of the Square WebPay plugin (version 1.0.4) from the plugins library and expecting it to work with newer versions of PHP.

    It has nothing to do with your API version.

    The plugin library version of the Square WebPay plugin does NOT work with newer versions of PHP. That's why when you go to

    https://www.zen-cart.com/downloads.php?do=file&id=2345

    it says at the top:
    Please note: PHP8.1+ requires a paid upgrade; purchase through https://mxworks.cc/?product=zen-cart...in-for-php-8-x
    Is anyone updating the Square plugin to work with PHP 8.0 or are we stuck with mxworks?

  5. #5
    Join Date
    Jun 2005
    Posts
    356
    Plugin Contributions
    0

    Default Re: Square WebPay

    Mxworks = carlwhat, who is the guy who wrote this version. So ya, if you want to use a moden version, throw him the $100. He does send us periodic updates, and provides support when needed. Its really not a bad deal at all for what you get.
    2 + 2 = 5 for extremely large values of 2

    Pez Collectors Store •••••••• My Plugins List

  6. #6
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: Square WebPay

    Quote Originally Posted by jodean View Post
    Is anyone updating the Square plugin to work with PHP 8.0 or are we stuck with mxworks?
    The Square plugin has worked with PHP 8.0 since v1.0.2
    Simon

  7. #7
    Join Date
    May 2011
    Location
    Tennessee
    Posts
    510
    Plugin Contributions
    0

    Default Re: Square WebPay

    Quote Originally Posted by simon1066 View Post
    The Square plugin has worked with PHP 8.0 since v1.0.2
    The plugin page on Zencart states as follows.

    Please note: PHP8.1+ requires a paid upgrade; purchase through https://mxworks.cc/?product=zen-cart...in-for-php-8-x

    They require $100 to download it.

  8. #8
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: Square WebPay

    Quote Originally Posted by jodean View Post
    The plugin page on Zencart states as follows.

    Please note: PHP8.1+ requires a paid upgrade; purchase through https://mxworks.cc/?product=zen-cart...in-for-php-8-x

    They require $100 to download it.
    Your question was about PHP 8.0
    Simon

  9. #9
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: Square WebPay

    Quote Originally Posted by jodean View Post
    The plugin page on Zencart states as follows.

    Please note: PHP8.1+ requires a paid upgrade; purchase through https://mxworks.cc/?product=zen-cart...in-for-php-8-x

    They require $100 to download it.
    There is a LOT that is freely available for use with Zen Cart. This is one of those exceptions and is very well worth the $100. mxworks makes one available free free. If you don't want to use that one, he's kind enough to offer a different version you can easily get.

    @swguy makes a good point. If you were to buy this out right, it would be thousands.

  10. #10
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,532
    Plugin Contributions
    127

    Default Re: Square WebPay

    I just noticed this.

    Quote Originally Posted by jodean View Post
    Is anyone updating the Square plugin to work with PHP 8.0 or are we stuck with mxworks?
    You are not *stuck* with mxworks, you're *incredibly lucky* to have mxworks doing this difficult work for a nominal fee.

    Both @lat9 and I have done custom payment module work for customers, and have charged multiple thousands of dollars.
    Ain't life grand that someone is selling the Square integration to multiple people so that no one person has to pay full freight.
    Thank you @carlwhat and other developers who are contributing to the Zen Cart plugin pool.

    Instructions on buying the Square plugin in the help documentation here:

    https://docs.zen-cart.com/user/payme...ercial_module/
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Square Payment Module for Zen Cart [Support Thread]
    By DrByte in forum Addon Payment Modules
    Replies: 820
    Last Post: 16 May 2026, 01:07 AM
  2. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 22
    Last Post: 26 Jan 2026, 06:47 AM
  3. Square Support for SqPaymentForm ending 15th July 2022
    By brittainmark in forum Addon Payment Modules
    Replies: 1
    Last Post: 9 Apr 2022, 02:40 PM
  4. v156 Square Payments and strange request from Square
    By ianhg in forum General Questions
    Replies: 4
    Last Post: 14 Nov 2020, 11:14 AM
  5. v156 PWA, Offline support Push notifications addon [Support Thread]
    By perfumbg in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 23 May 2019, 02:27 PM

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