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.



Reply With Quote

