Re: Square WebPay support thread.
Quote:
Originally Posted by
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/ipsgu...cpka16f7f&dl=0
https://www.dropbox.com/scl/fi/ujbri...l090gaodn&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.
Re: Square WebPay support thread.
Unlucky for me, the error is back with a vengeance. :censored:
Re: Square WebPay support thread.
Quote:
Originally Posted by
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)
Re: Square WebPay support thread.
Quote:
Originally Posted by
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
Re: Square WebPay support thread.
Quote:
Originally Posted by
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.
Re: Square WebPay support thread.
Quote:
Originally Posted by
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
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/upgra..._php_versions/
Re: Square WebPay support thread.
Quote:
Originally Posted by
lat9
Big thank you to Carl and lat9 for releasing the update.
Re: Square WebPay support thread.
Quote:
Originally Posted by
swguy
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
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/...ments/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:
PHP Code:
<!-- 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.