Upload
others
View
14
Download
0
Embed Size (px)
Citation preview
How To: Installation of your Magento Extension 2.x Version 3
Square Payments for Magento Open Professional Group
Purpose:
The purpose of this document is to provide you with detailed instructions for installing your Square Payments extension to connect your Magento ecommerce website with your existing Square Account.
Requirements:
● Square requires a ssl certificate for transactions. Proper installation requires the ssl to be in place and therefore show the https:// upon checkout
● Magento cron must be enabled and running ○ Cron Configuration Guide - Magento 1 ○ Cron Configuration Guide - Magento 2
● The extension is only certified with Standard MAgento Checkout, and IWD Agency Free one-page checkouts
Installation:
1. Download OPG Square installation package
2. Upload contents of the OPG Square installation package to your store root directory
a. Create folder /app/code/OPG/Square
POB 1295 • Westminster, MD 21157 • 800-897-5709 • open professional group.com
b. Upload content of the OPG Square installation package to /app/code/OPG/Square
3. Connect to the server through SSH (you can use putty).
4. Navigate to the “public_html” directory. (The command to do this is: cd public_html )
Click here for larger version
5. Execute the following command: php -f bin/magento setup:upgrade
POB 1295 • Westminster, MD 21157 • 800-897-5709 • open professional group.com
Click here for larger version
6. Once complete, execute the following command: php -f bin/magento
setup:static-content:deploy
Click here for larger version
7. NOTE: The above command will take some time to complete the process.
8. Once the above process is complete, you will need to clean the cache. This can be done by
executing the following command: php bin/magento cache:clean
POB 1295 • Westminster, MD 21157 • 800-897-5709 • open professional group.com
Click here for larger version
9. Now you will need to flush the cache. This can be done by executing the following command:
php bin/magento cache:flush
Click here for larger version
10. Log in the Magento Admin Panel
11. In the far left navigation menu, select “Stores”
POB 1295 • Westminster, MD 21157 • 800-897-5709 • open professional group.com
Click here for larger version
12. From the Stores menu, select “Configuration”
Click here for larger version
13. Once the Configuration page loads, from the left Configuration navigation menu, select “Sales”.
POB 1295 • Westminster, MD 21157 • 800-897-5709 • open professional group.com
Click here for larger version
14. From the dropdown list of the Sales options, select “Payment Methods”.
Click here for larger version
15. At the bottom of the Payment Methods page, select “Square”
16. Once the “Square” option is open, set the following:
a. Enabled = Yes b. Select the “Obtain and access token” button c. Enter the login credentials for the Square Account and select “Sign In”
POB 1295 • Westminster, MD 21157 • 800-897-5709 • open professional group.com
● This will access the Square Account to obtain and auto-fill the Personal Access Token information
d. Title = Credit Card (Square), or whatever you wish. e. Select a sandbox location f. Sandbox = “No”
17. NOTE: Should the following message display, “One or more of the Cache Types are
invalidated:Configuration, Page Cache. Please go to Cache Management and refresh cache types.”, do the following otherwise, proceed to the next step (24).
a. Click the “Cache Management” link and select “Flush Magento Cache”
Click here for larger version
b. ( http://grabilla.com/0680c-0047d604-edf7-431b-be1c-870a20975ac9.html ). Once the process is complete return to the Payment Methods section (From the left navigation menu select Stores> Configuration>Sales> Payment Method> Square).
POB 1295 • Westminster, MD 21157 • 800-897-5709 • open professional group.com
Click here for larger version
18. Select “Save Config” in the top right corner 19. NOTE: Should the following message display, “One or more of the Cache Types are
invalidated:Configuration, Page Cache. Please go to Cache Management and refresh cache types.”, repeat step 23.
20. After an order is place from the front end using Square as the payment method, Magento Admin Panel will display the following on the Order Details:
a. Under Payment Information, “Credit Card (Square) will be displayed
Click here for larger version
POB 1295 • Westminster, MD 21157 • 800-897-5709 • open professional group.com
b. At the very bottom or the Order Details, “Captured amount of $XX.XX online. Transaction ID: “xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx’’ will be displayed http://grabilla.com/0680c-d3923999-f3a7-42d8-b62b-5cdc31a84a0b.html
Click here for larger version
If you still need assistance, please contact our friendly and responsive support team at [email protected] or 1-800-897-5709
POB 1295 • Westminster, MD 21157 • 800-897-5709 • open professional group.com