Square WebPay support thread.
the new square webPay payment module is now available for download!
https://www.zen-cart.com/downloads.php?do=file&id=2345
for all of you worried about the impending deprecation of the square web forms sdk, worry no more. i developed this payment module using the square web pay sdk. it also includes buyer verification.
i developed this module with no development funds whatsoever, to help the community.
any donations are appreciated. (the cake link in my signature works...)
it should be plug and play for zc157 and zc156. the sdk has a minimum version of php 7.4 although i have tested it with php 7.3 and it seems to work.
i can only provide support for the above mentioned minimums.
best.
Re: Square WebPay support thread.
THANX for the hard work!
Buy the man some cake!
I can verify that this works with:
1.5.6c Php 7.3.33
Linux 3.10.0 LiteSpeed
MySQL 5.7.37
OPC 2.3.1
Edit Orders 4.5.0
Changed Files Report
Clone A Template
clone of responsive_classic
I am still in the process of testing with the latest bootstrap and OPC on 1.5.7d
One thing I have run into is that comapanies with more than one Application established in Square MAY not have the correct business name reported to the customer's financial institution. Normally, if it were a sale a Microsoft, the bank statement would show "SQ MICROSOFT" I have not seen a problem with company name when the business has only one business Application for the web.
Not Approved Guidelines but how I went about the upgrade:
- Get the Mod
- Download the mod
- Extract the files and upload them to your site.
- On Your Site:
- Go to your admin >> Modules >> Payment and click on the circled-I next to Square.
- Using something like Notepad, copy the Application ID and Application Secret (OAuth) from the existing Square Module. You will need them for the WebPay as well.
- On the Square Website:
- Log in to Square, go to App Integrations, and select manage for your Application
- Just above Credentials, Click on Production to get to where you need to work
- Scroll Down to Production API Version and make sure it is the latest
- Click on OAuth in the left-hand menu.
- Change the Production Redirect URL from https://YOUR_SITE/square_handler.php to https://YOUR_SITE/squareWebPay_handler.php
- In Your Site's Admin:
- Set your site down for Maintenance
- Delete the Square Payment Module
- Install the Square WebPay Module
- Input the copies you made of Application ID and Application Secret (OAuth)
- Change any of the other settings like Transaction Type and Sort order of display.
- Scroll down and click update.
- The module should now show a green area asking for the token to be verified
- Click the green link and Square should open up to say you have allowed your Application to be usd.
- Verify the green link is gone and Square is showing the proper Order Status with a green icon.
- Reset your site's Down for Maintenance to False
- Go get some cake.:P
Re: Square WebPay support thread.
Problem solved on the wrong company showing in the bank statement.
As it says when installing the mod,
Quote:
Enter the (Store) Location ID from your account settings. You can have multiple locations configured in your account; this setting lets you specify which location your sales should be attributed to. If you want to enable Apple Pay support, this location must already be verified for Apple Pay in your Square account.
What they don't tell you is that you have to create the locations in a different area from the Application itself.
Your extra locations can be created at https://squareup.com/dashboard/locations
Re: Square WebPay support thread.
Quote:
Originally Posted by
carlwhat
... any donations are appreciated. (the cake link in my signature works...)
Thank you for your work on this crucial module. Alas, I can't see a way to donate as the Venmo app is not available in the UK
Re: Square WebPay support thread.
Quote:
Originally Posted by
carlwhat
the new square webPay payment module is now available for download!
https://www.zen-cart.com/downloads.php?do=file&id=2345
for all of you worried about the impending deprecation of the square web forms sdk, worry no more. i developed this payment module using the square web pay sdk. it also includes buyer verification.
i developed this module with no development funds whatsoever, to help the community.
any donations are appreciated. (the cake link in my signature works...)
it should be plug and play for zc157 and zc156. the sdk has a minimum version of php 7.4 although i have tested it with php 7.3 and it seems to work.
i can only provide support for the above mentioned minimums.
best.
I'm getting this error 'Your transaction could not be completed due to a misconfiguration in our store. Please report this error to the Store Owner: SQ-MISCONF'
My site is running 1.5.7c and its on PHP 7.4
Dr Byte mentions in the previous Square Up Payment MOdule Support thread
'SQ-NONCE-FAILURE appears when the javascript code in your template has errors and is preventing the javascript for the module from executing properly.
This is often caused by other plugins that are using outdated javascript or old versions of jQuery. It can also happen if you're using a template designed for an older version of Zen Cart and therefore have an old jscript_framework.php file in your template's jscript folder.'
So does this rely on any particular JQUERY version or jscript_framework.php?
Re: Square WebPay support thread.
Can confirm it is all working as expected using the latest production API and having tested it with various cards here in the UK. Running on php 7.3 and ZC 1.5.6c without issues. @carlwhat thanks so much for your work on this, and as someone else based in the UK, it would be amazing to be able to buy you some cake, but Venmo doesn't work here. Any other way?
While I'm here I'm having a senior moment, but probably due to some health issues I'm having at the moment. I'm trying to get the card payment form to appear below the radio box, so it doesn't sit over to the right hand side. See screenshot. The CSS bumps it down just fine on smaller screens & mobile, but on large desktop screens its looking a little wonky.
Attachment 19937
Re: Square WebPay support thread.
Quote:
Originally Posted by
johnjlarge
Can confirm it is all working as expected using the latest production API and having tested it with various cards here in the UK. Running on php 7.3 and ZC 1.5.6c without issues. @carlwhat thanks so much for your work on this, and as someone else based in the UK, it would be amazing to be able to buy you some cake, but Venmo doesn't work here. Any other way?
While I'm here I'm having a senior moment, but probably due to some health issues I'm having at the moment. I'm trying to get the card payment form to appear below the radio box, so it doesn't sit over to the right hand side. See screenshot. The CSS bumps it down just fine on smaller screens & mobile, but on large desktop screens its looking a little wonky.
Attachment 19937
John are you using One Page Checkout?
Re: Square WebPay support thread.
No, just the standard checkout shipping>checkout payment>checkout confirmation workflow.
Re: Square WebPay support thread.
Quote:
Originally Posted by
johnjlarge
No, just the standard checkout shipping>checkout payment>checkout confirmation workflow.
Yeah got it working without OPC, so something going wrong with it with OPC. Not sure what but looks like a Jquery issue or something. I've even tried it with the latest OPC and get the same issue.
I wonder if lat9 (Cindy) can help?
Re: Square WebPay support thread.
So I sorted my alignment issue if anyone is interested or has a similar issue. I added a new rule to stylesheet.css with the following & that seems to fill the available space with the payment input form nicely.
Code:
.ccinfo {
display: grid;
}