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 601 to 620 of 808
26 Mar 2024, 2:10 AM
#601
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Square WebPay support thread.

I saw some mentioned of the radio button earlier in this threads.

It does get "selected" once customer fills in their credit card info.

I don't think it will be an issue. Just impatient customer trying to checkout too fast.

Thank you for clarifying it

26 Mar 2024, 2:19 AM
#602
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: Square WebPay support thread.

carlwhat:

with regards to this error, i am able to reproduce it. however the only way i can reproduce it is if the Key: CHECKOUT_ONE_PAYMENT_METHODS_THAT_SUBMIT does not have square_webPay listed in that value.

if you have that value in there and listed correctly, then i would suggest you review the OPC install instructions. and specifically all of the javascript files.

if all of those are correct, it is entirely possible that some other javascript is submitting your form.

when that error occurs the customer does receive a message on their OPC page in the message stack.

bottom line, i do not know which of your javascript files could be submitting the form. i know that my square code will NOT submit the payment form unless the credit card information is successfully tokenized. and the only way we get to the message is if something submits the payment form without a proper tokenization result from square.

I checked my OPC setting and the value is set to square_webpay.

Does the spelling matter though? it shows with a capital W in the notes i.e squareWebPay but i have squarewebPay

I did a search with developer tool kit and it seems to be properly ( see attached screenshots).

Could Paypal Payment Pro be interfering? The payment module is set to false but still installed?

Does the old square module "files" needs to be remove? ( it is not installed or anything)

Thank you again for your help

Attachment 20539

Attachment 20540

26 Mar 2024, 2:27 AM
#603
carlwhat avatar

carlwhat

zennedOut

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

Re: Square WebPay support thread.

nicksab:

I checked my OPC setting and the value is set to square_webpay.

Does the spelling matter though? it shows with a capital W in the notes i.e squareWebPay but i have squarewebPay

I did a search with developer tool kit and it seems to be properly ( see attached screenshots).

Could Paypal Payment Pro be interfering? The payment module is set to false but still installed?

Does the old square module "files" needs to be remove? ( it is not installed or anything)

Thank you again for your help

Attachment 20539

Attachment 20540

spelling does matter as well as capitalization. it should be:

square_webPay

the notes are part of the OPC configuration. the notes are wrong.

as far as your screenshots, i can not see anything. i would suggest using a dropbox link to show images. images posted on this forum are useless.

as far as making any conjecture as to what can be causing your problem, i am hesitant to make any guesses. i do not like paypal, i do not support paypal, i only use it when absolutely necessary.

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

26 Mar 2024, 12:17 PM
#604
mrpix avatar

mrpix

New Zenner

Join Date:
Jun 2021
Location:
UK
Posts:
8
Plugin Contributions:
0

Re: Square WebPay support thread.

Hi, I have recently changed from a sole trader to a Limited company inthe UK. I have had to change my Square account to a new one as a new merchant.
I have made a bit of a bumble that I did not foresee (through my ignorance and excitement).
I changed all of the credentials for square webpay over the new account. This has borked all the prior transaction visibilty and throws errors up as it is now trying to interrogate sqaure with a different Merchant credentials when looking at historical orders, which obviously (now) is not allowed or possible.

I only have 1 transaction with the new credentials so far

I suspect I need 2x Square webpay modules so that I can connect to my first account to see the past years transactions and also to transact with the new ID etc going forwards.

Is there anything I can do and if so, can you help please?
TIA

26 Mar 2024, 2:49 PM
#605
carlwhat avatar

carlwhat

zennedOut

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

Re: Square WebPay support thread.

MrPix:

Hi, I have recently changed from a sole trader to a Limited company inthe UK. I have had to change my Square account to a new one as a new merchant.
I have made a bit of a bumble that I did not foresee (through my ignorance and excitement).
I changed all of the credentials for square webpay over the new account. This has borked all the prior transaction visibilty and throws errors up as it is now trying to interrogate sqaure with a different Merchant credentials when looking at historical orders, which obviously (now) is not allowed or possible.

I only have 1 transaction with the new credentials so far

I suspect I need 2x Square webpay modules so that I can connect to my first account to see the past years transactions and also to transact with the new ID etc going forwards.

Is there anything I can do and if so, can you help please?
TIA

i would review this specific post (not the thread).

and then i would review my signature.

or perhaps someone else can help you with your bork job.

best.

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

26 Mar 2024, 4:00 PM
#606
swguy avatar

swguy

Administrator

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

Re: Square WebPay support thread.

It's totally ok to say out loud what that post said.

And if someone mouths off to you in response, it's totally ok to put them on your ignore list and never answer them again. It's easy! I documented the whole process:

https://docs.zen-cart.com/user/zen_cart_forum/ignore/

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.

26 Mar 2024, 4:06 PM
#607
carlwhat avatar

carlwhat

zennedOut

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

Re: Square WebPay support thread.

swguy:

It's totally ok to say out loud what that post said.

And if someone mouths off to you in response, it's totally ok to put them on your ignore list and never answer them again. It's easy! I documented the whole process:

https://docs.zen-cart.com/user/zen_cart_forum/ignore/

thank you for that.

i already have a number of people on my ignore list. one has to be far more egregious than the previous poster to make it.

best.

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

26 Mar 2024, 8:11 PM
#608
mrpix avatar

mrpix

New Zenner

Join Date:
Jun 2021
Location:
UK
Posts:
8
Plugin Contributions:
0

Re: Square WebPay support thread.

carlwhat:

i would review this specific post (not the thread).

and then i would review my signature.

or perhaps someone else can help you with your bork job.

best.

I'm so sorry, but I don't know how I have offended you, I am asking for help on the module support thread and then I get ganged up on... how have I offended you both?

I have reviewd the post but am at a loss as to what it means.. are you asking me to PM you with my problem or pointing me to the SWguy? sorry... I had a bad accident a while ago and my brain does not work as it used to due to the large amounts of opiods I was on for pain releif... hence ... my bumble.

And I can't see a signature either on your post, sorry.

Edit: Ok... found your signature, have PM/DM /messaged you.

26 Mar 2024, 8:33 PM
#609
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:

  • i have not taken offense.
  • i am NOT pointing you to SWguy.
  • i found your request to be a little outside of what i am able to provide in this free forum.
  • i made use of your term 'bork' in an attempt at humor. here in the US, we have a very interesting reference to being borked.
  • real sorry about your accident. i have been in a few myself.

best.

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

27 Mar 2024, 12:09 AM
#610
swguy avatar

swguy

Administrator

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

Re: Square WebPay support thread.

and then I get ganged up on... how have I offended you both?

No one is ganging up on you. I said "if someone mouths off to you in response." Key words "if" and "response." You didn't respond. If you read the post that @carlwhat linked, the joke will make sense.

You have done absolutely nothing wrong.

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.

27 Mar 2024, 2:09 AM
#611
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: Square WebPay support thread.

carlwhat:

spelling does matter as well as capitalization. it should be:

square_webPay

the notes are part of the OPC configuration. the notes are wrong.

as far as your screenshots, i can not see anything. i would suggest using a dropbox link to show images. images posted on this forum are useless.

as far as making any conjecture as to what can be causing your problem, i am hesitant to make any guesses. i do not like paypal, i do not support paypal, i only use it when absolutely necessary.

I completely understand your opinion on Paypal and agree which is mostly the reason of the switch to Square ( online and in-store). I still want to keep the Paypal Express checkout are some of us ( including myself ) still have and use paypal account).

Here are dropbox link to the screenshot ( hope it works better)

https://www.dropbox.com/scl/fi/ipsguv7e6t5ck30trijx5/Untitled.jpg?rlkey=xnwpol3v7oshk4fucpka16f7f&dl=0

https://www.dropbox.com/scl/fi/ujbrih4id4v7490ksubkn/Untitled1.jpg?rlkey=okmaxfex9e4upalcl090gaodn&dl=0

In regards to my error, I uninstalled the Paypal payment pro. Only have the Paypal express and Square webpay has payment module.

So far no logs but it is probably to early to tell.

29 Mar 2024, 10:48 PM
#612
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: Square WebPay support thread.

Unlucky for me, the error is back with a vengeance. :censored:

30 Mar 2024, 9:14 AM
#613
simon1066 avatar

simon1066

Totally Zenned

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

Re: Square WebPay support thread.

nicksab:

Unlucky for me, the error is back with a vengeance. :censored:

Couple of thoughts,

Did you check for errors in the browser's console, as mentioned in the debug log?

I'll note that both WebPay and OPC are validated for > PHP 7.4 (higher than the version you're using)

Simon

1 Apr 2024, 10:35 PM
#614
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: Square WebPay support thread.

simon1066:

Couple of thoughts,

Did you check for errors in the browser's console, as mentioned in the debug log?

I'll note that both WebPay and OPC are validated for > PHP 7.4 (higher than the version you're using)

I did check the console while going thru the whole checkout process. Unfortunately, i can't reproduce the error on my hand.

Not sure what my customers do to create the error at this point.

I am working on getting up to 7.4. MY other site (on same server) throws a tantrum when any higher than 7.3

4 Apr 2024, 1:13 AM
#615
carlwhat avatar

carlwhat

zennedOut

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

Re: Square WebPay support thread.

nicksab:

I did check the console while going thru the whole checkout process. Unfortunately, i can't reproduce the error on my hand.

Not sure what my customers do to create the error at this point.

I am working on getting up to 7.4. MY other site (on same server) throws a tantrum when any higher than 7.3

both of these errors are related to OPC, not square webPay.

as previously stated, something else is submitting the form; and that something else is OPC. you can look at this pull request here:

https://github.com/lat9/one_page_checkout/pull/410

and specifically line 424.

with regards to your grey screen zip code problem, that is addressed by the rest of the change in that pull request.

if you are running a version earlier than 2.5.0, you can look for that same section of code wherever it may reside and make the changes there.

if you can not read what is going on in that pull request, you can wait until the next release of OPC.

if your settings for OPC are to run minimized versions, turn that off until the next OPC release. or minimize the code yourself. i can provide no help for minimizing code.

best.

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

4 Apr 2024, 1:09 PM
#616
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: Square WebPay support thread.

carlwhat:

both of these errors are related to OPC, not square webPay.

as previously stated, something else is submitting the form; and that something else is OPC. you can look at this pull request here:

https://github.com/lat9/one_page_checkout/pull/410

and specifically line 424.

with regards to your grey screen zip code problem, that is addressed by the rest of the change in that pull request.

if you are running a version earlier than 2.5.0, you can look for that same section of code wherever it may reside and make the changes there.

if you can not read what is going on in that pull request, you can wait until the next release of OPC.

if your settings for OPC are to run minimized versions, turn that off until the next OPC release. or minimize the code yourself. i can provide no help for minimizing code.

best.
... and the OPC version v2.5.1, containing these changes, is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2095

4 Apr 2024, 2:02 PM
#617
swguy avatar

swguy

Administrator

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

Re: Square WebPay support thread.

I am working on getting up to 7.4. MY other site (on same server) throws a tantrum when any higher than 7.3

Instructions for running multiple versions of PHP on a server:

https://docs.zen-cart.com/user/upgrading/multiple_php_versions/

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 Apr 2024, 10:07 PM
#618
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: Square WebPay support thread.

lat9:

... and the OPC version v2.5.1, containing these changes, is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2095

Big thank you to Carl and lat9 for releasing the update.

4 Apr 2024, 10:17 PM
#619
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: Square WebPay support thread.

swguy:

I am working on getting up to 7.4. MY other site (on same server) throws a tantrum when any higher than 7.3

Instructions for running multiple versions of PHP on a server:

https://docs.zen-cart.com/user/upgrading/multiple_php_versions/

Thanks. I skimmed thru that at some point. Unfortunately, since i am on GoCrazy shared hosting, they don't offer multiPhP.

Their solution was to use .htaccess instead but it got me a little suspicious. I am not sure if that s even possible with ZC.

I should probably open a separate thread for this since it is not related to SqaureWebPay

13 Apr 2024, 3:26 AM
#620
oj_simon avatar

oj_simon

Zen Follower

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

Re: Square WebPay support thread.

ZC V1.5.8
OPC V2.5.1
square_webPay-1.0.4 (API Version 2022-02-16 (P.s is there plans to update the API version or would the plugin require rewriting for this?))

Hi,

I have this working. But I only have credit cards now i would like to add a few more like:
Take a Google Pay Payment,
Take an Apple Pay Payment,
Take a (square) Gift Card Payment,
Take a Payment with Cash App Pay.

I have found this: https://developer.squareup.com/docs/web-payments/overview
and have looked in \includes\modules\payment\square_webPay.php around line 240 (public function selection)
and I think from looking at the overview to show new payment methods it seems we just add like:

<!-- Add the google-pay-button div below -->
   <div id="google-pay-button"></div>

but what about the extra bits of code are these already within this plugin to go or will that also need adding to the plugin and if so would you know how or where please?

Any help on this would be welcome.