If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / Addon Payment Modules / Square WebPay support thread.

Square WebPay support thread.

Started by carlwhat on 6 Apr 2022, 6:02 PM · Views: 129,956

Results 761 to 780 of 808
6 Jul 2024, 4:02 AM
#761
bigb avatar

bigb

New Zenner

Join Date:
Jun 2024
Posts:
91
Plugin Contributions:
0

Square WebPay support thread.

OJ_SIMON:

this would tell me that this is happening as there is only the one option and if there was none then the dropdown would show to show you its empty.

so now try a test sale in sandbox?

Checkout still hangs at Step 2 of 3... screenshot attached... same error 400

Attachment 20693Attachment 20694

6 Jul 2024, 4:18 AM
#762
bigb avatar

bigb

New Zenner

Join Date:
Jun 2024
Posts:
91
Plugin Contributions:
0

Re: Square WebPay support thread.

BigB:

Checkout still hangs at Step 2 of 3... screenshot attached... same error 400

Attachment 20693Attachment 20694

More Console info FWIW...

index.php?main_page=checkout_payment:824 A parser-blocking, cross site (i.e. different eTLD+1) script, https://pan.zen-cart.com/display/group/1/?rd=55682736003, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.
square.js:3 using standard paymentSubmit button
connect.squareupsand…ics/verifications:1
Failed to load resource: the server responded with a status of 400 ()
square.js:3 An issue occurred while verifying the buyer
The time to complete the verification has expired: verify-buyer-892-12956.874308824885

Attachment 20695Attachment 20696

8 Jul 2024, 3:55 PM
#763
bigb avatar

bigb

New Zenner

Join Date:
Jun 2024
Posts:
91
Plugin Contributions:
0

Re: Square WebPay support thread.

Aside from upgrading to the paid version there appears to be no solution to this problem. Time to go back to the latest release of Zen Cart v2.0.1 and center my attention/efforts to a viable payment gateway on a current stable version of Zen.
A BIG THANKS to EVERYONE who has taken time, left suggestions and insights. I sincerely appreciate the help :thumbsup:

Final thoughts: Perhaps the available free version of Square webPay module has begun it's entry into "Deprication"?... At least, this is the reality in my case. This module is not compatible with PHP versions above 8.0 and everything right now is moving upwards of PHP 8.0 making the current paid version of Square webPay the only way to go for accepting Square Payments via checkout... :cheers:

8 Jul 2024, 4:47 PM
#764
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Re: Square WebPay support thread.

just so we are clear, this last poster has been on the board for about 1 month, and now wants to make declarations as to the future on this plugin.

lets see:

  • he started with not being able to ftp files/directories into the proper places.
  • failed to read the install instructions with regards to what versions are compatible with what versions of php.
  • could not get v158 with php8 to work despite this post.
  • has now declared v158 not stable.
  • i have to reason to think that v2.0.1 would not work under php8.0. but i have not tested.
  • wants to thank everyone who has helped him on this board. which is great; but at some point, one needs to thank ALL of the people who make zc possible to start off with.

good luck with whatever payment module you chose to use.

and thanks to everyone who makes zc possible and the people that choose to keep it afloat.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

8 Jul 2024, 8:35 PM
#765
bigb avatar

bigb

New Zenner

Join Date:
Jun 2024
Posts:
91
Plugin Contributions:
0

Re: Square WebPay support thread.

carlwhat:

just so we are clear, this last poster has been on the board for about 1 month, and now wants to make declarations as to the future on this plugin.

lets see:

  • he started with not being able to ftp files/directories into the proper places.
  • failed to read the install instructions with regards to what versions are compatible with what versions of php.
  • could not get v158 with php8 to work despite this post.
  • has now declared v158 not stable.
  • i have to reason to think that v2.0.1 would not work under php8.0. but i have not tested.
  • wants to thank everyone who has helped him on this board. which is great; but at some point, one needs to thank ALL of the people who make zc possible to start off with.

good luck with whatever payment module you chose to use.

and thanks to everyone who makes zc possible and the people that choose to keep it afloat.
Not everything you have said about me is actually true... Frankly, it's 98% conjecture... I wish you well in your ventures regardless. For the record, I have not once come out here and posted a single nefgative thing about you or have I ever inferred you are not competent in what you do. You, on the other hand, cannot say the same.
All the best

9 Jul 2024, 8:50 PM
#766
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Re: Square WebPay support thread.

Version 2.0.1

Square WebPay setup has (Access Token needed)

I have compared the setup to a appl version 1.5.8 where it works and the Location ID is missing and when clicking on the drop down no locations ID are listed to choose from. I have removed the payment module and reinstalled it but still the same problem exists.

Does anyone have have any suggestions?

9 Jul 2024, 8:55 PM
#767
oj_simon avatar

oj_simon

Zen Follower

Join Date:
Nov 2023
Location:
Hounslow
Posts:
129
Plugin Contributions:
0

Re: Square WebPay support thread.

jodean:

Version 2.0.1

Square WebPay setup has (Access Token needed)

I have compared the setup to a appl version 1.5.8 where it works and the Location ID is missing and when clicking on the drop down no locations ID are listed to choose from. I have removed the payment module and reinstalled it but still the same problem exists.

Does anyone have have any suggestions?
have you entered your key's from your dashboard and clicked the link in the plugin to confirm the account to be used?

9 Jul 2024, 11:44 PM
#768
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Re: Square WebPay support thread.

OJ_SIMON:

have you entered your key's from your dashboard and clicked the link in the plugin to confirm the account to be used?

Yes, keys are correct and yes I clicked the line. It went to the login and i logged in. It still did not work.

9 Jul 2024, 11:47 PM
#769
oj_simon avatar

oj_simon

Zen Follower

Join Date:
Nov 2023
Location:
Hounslow
Posts:
129
Plugin Contributions:
0

Re: Square WebPay support thread.

jodean:

Yes, keys are correct and yes I clicked the line. It went to the login and i logged in. It still did not work.
is this just in test mode or in both live and test?

10 Jul 2024, 1:40 PM
#770
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Re: Square WebPay support thread.

Not sure what you mean by test or live mode. It is in production mode not sandbox. It does have a location ID in Square but it is not displayed in the Zencart Square WebPay setup. I just noticed errors in the log folder but not sure just what they mean.

[10-Jul-2024 08:18:07 CST6CDT] Request URI: /shop/squareWebPay_handler.php?nocache=1&_=1720617474617, IP address: 69.137.114.242, Language id 1
#0 /home/customer/www/devel.tennesseetraditionalflies.com/public_html/shop/includes/modules/payment/square_webPay.php(109): zen_debug_error_handler()
#1 /home/customer/www/devel.tennesseetraditionalflies.com/public_html/shop/includes/classes/payment.php(102): square_webPay->__construct()
#2 /home/customer/www/devel.tennesseetraditionalflies.com/public_html/shop/squareWebPay_handler.php(26): payment->__construct()
--> 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.

[10-Jul-2024 08:18:07 CST6CDT] Request URI: /shop/squareWebPay_handler.php?nocache=1&_=1720617474617, IP address: 69.137.114.242, Language id 1
#0 /home/customer/www/devel.tennesseetraditionalflies.com/public_html/shop/includes/modules/payment/square_webPay.php(124): zen_debug_error_handler()
#1 /home/customer/www/devel.tennesseetraditionalflies.com/public_html/shop/includes/classes/payment.php(102): square_webPay->__construct()
#2 /home/customer/www/devel.tennesseetraditionalflies.com/public_html/shop/squareWebPay_handler.php(26): payment->__construct()
--> PHP Deprecated: Creation of dynamic property square_webPay::$client is deprecated in /home/customer/www/devel.tennesseetraditionalflies.com/public_html/shop/includes/modules/payment/square_webPay.php on line 124.

[10-Jul-2024 08:18:07 CST6CDT] Request URI: /shop/squareWebPay_handler.php?nocache=1&_=1720617474617, IP address: 69.137.114.242, Language id 1
#0 /home/customer/www/devel.tennesseetraditionalflies.com/public_html/shop/includes/modules/payment/square_webPay.php(128): zen_debug_error_handler()
#1 /home/customer/www/devel.tennesseetraditionalflies.com/public_html/shop/includes/classes/payment.php(102): square_webPay->__construct()
#2 /home/customer/www/devel.tennesseetraditionalflies.com/public_html/shop/squareWebPay_handler.php(26): payment->__construct()
--> PHP Deprecated: Creation of dynamic property square_webPay::$oauthClient is deprecated in /home/customer/www/devel.tennesseetraditionalflies.com/public_html/shop/includes/modules/payment/square_webPay.php on line 128.

[10-Jul-2024 08:18:07 CST6CDT] Request URI: /shop/squareWebPay_handler.php?nocache=1&_=1720617474617, IP address: 69.137.114.242, Language id 1
#0 /home/customer/www/devel.tennesseetraditionalflies.com/public_html/shop/includes/modules/payment/square_webPay.php(172): zen_debug_error_handler()
#1 /home/customer/www/devel.tennesseetraditionalflies.com/public_html/shop/includes/classes/payment.php(102): square_webPay->__construct()
#2 /home/customer/www/devel.tennesseetraditionalflies.com/public_html/shop/squareWebPay_handler.php(26): payment->__construct()
--> PHP Deprecated: Creation of dynamic property square_webPay::$order_status is deprecated in /home/customer/www/devel.tennesseetraditionalflies.com/public_html/shop/includes/modules/payment/square_webPay.php on line 172.

[10-Jul-2024 08:18:07 CST6CDT] Request URI: /shop/squareWebPay_handler.php?nocache=1&_=1720617474617, IP address: 69.137.114.242, Language id 1
#0 /home/customer/www/devel.tennesseetraditionalflies.com/public_html/shop/includes/modules/payment/square_webPay.php(179): zen_debug_error_handler()
#1 /home/customer/www/devel.tennesseetraditionalflies.com/public_html/shop/includes/classes/payment.php(102): square_webPay->__construct()
#2 /home/customer/www/devel.tennesseetraditionalflies.com/public_html/shop/squareWebPay_handler.php(26): payment->__construct()
--> PHP Deprecated: Creation of dynamic property square_webPay::$_logDir is deprecated in /home/customer/www/devel.tennesseetraditionalflies.com/public_html/shop/includes/modules/payment/square_webPay.php on line 179.

10 Jul 2024, 8:39 PM
#771
oj_simon avatar

oj_simon

Zen Follower

Join Date:
Nov 2023
Location:
Hounslow
Posts:
129
Plugin Contributions:
0

Re: Square WebPay support thread.

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" .

10 Jul 2024, 8:54 PM
#772
oj_simon avatar

oj_simon

Zen Follower

Join Date:
Nov 2023
Location:
Hounslow
Posts:
129
Plugin Contributions:
0

Re: Square WebPay support thread.

Or look to downgrade your API if you are getting a Deprecated error.

11 Jul 2024, 8:48 AM
#773
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
509
Plugin Contributions:
1

Re: Square WebPay support thread.

OJ_SIMON:

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.php?228750-Square-WebPay-support-thread&p=1401721#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\

11 Jul 2024, 10:03 AM
#774
oj_simon avatar

oj_simon

Zen Follower

Join Date:
Nov 2023
Location:
Hounslow
Posts:
129
Plugin Contributions:
0

Re: Square WebPay support thread.

brittainmark:

see https://www.zen-cart.com/showthread.php?228750-Square-WebPay-support-thread&p=1401721#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

11 Jul 2024, 10:44 AM
#775
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Square WebPay support thread.

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-square-plugin-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.

1 Aug 2024, 3:05 PM
#776
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Re: Square WebPay support thread.

swguy:

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-square-plugin-for-php-8-x

Is anyone updating the Square plugin to work with PHP 8.0 or are we stuck with mxworks?

1 Aug 2024, 4:26 PM
#777
gothstone avatar

gothstone

Zen Follower

Join Date:
Jun 2005
Posts:
330
Plugin Contributions:
0

Re: Square WebPay support thread.

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

1 Aug 2024, 4:55 PM
#778
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Square WebPay support thread.

jodean:

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

2 Aug 2024, 1:12 PM
#779
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Re: Square WebPay support thread.

simon1066:

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-square-plugin-for-php-8-x

They require $100 to download it.

2 Aug 2024, 2:03 PM
#780
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Square WebPay support thread.

jodean:

The plugin page on Zencart states as follows.

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

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

Simon