Overview
Square Payments PRO adds Square-hosted card checkout to OpenCart and confirms each order only after it has verified the completed payment with Square.
What the extension does
Square Payments PRO adds one payment method, shown to your customers as Square. When a customer chooses it and presses Pay with Square, the store creates a single-use Square payment link for the exact order total and sends the customer to Square's hosted checkout page. Card details are typed on Square, never in your OpenCart checkout form.
When the customer comes back, and also when Square sends a payment notification, the store asks Square for the original order and its payment. It checks the Square location, the order reference, the amount, the currency and that the payment is completed. Only then does it move the OpenCart order to the status you chose, which updates stock and order history once.
Main points of the current version:
- One-time payments through Square-hosted checkout. Apple Pay and Google Pay are requested on the hosted page; whether they appear depends on your Square account, the customer's device and Square.
- Square receives one line with the order total, named
OpenCart order #followed by the order number. Products, taxes, shipping and discounts stay in the OpenCart order. - Separate sandbox and production credentials, and separate settings for each store of a multi-store installation.
- Availability rules: geographic zone, purchase countries, customer groups, minimum and maximum order total.
- Signed payment notifications and a scheduled worker that recover payments when the customer closes the browser before returning to the store.
- A Payment activity list with the state of every payment attempt and a timeline of the calls made to Square.
- Administration in English, Spanish, German, Russian, Ukrainian, Portuguese, French and Italian.
The current version does not include embedded card fields, subscriptions or recurring payments, catalogue synchronisation with Square, itemised Square receipts, or capture, void and refund buttons. Refunds are made in the Square Dashboard.
Requirements
| Requirement | Detail |
|---|---|
| OpenCart | 1.5.5 to 2.2, 2.3, 3.x and 4.x (including 4.1), each with its own installer |
| PHP | 64-bit PHP 5.6 or later |
| PHP extensions | cURL and OpenSSL |
| Database | MySQL with the InnoDB engine |
| Store URL | HTTPS, reachable from the internet |
| OpenCart 1.5 only | VQMod 2.6 or later |
| Square | A Square account with an active location in the United States, Canada, the United Kingdom, Australia, Japan, Ireland, France or Spain |
| Hosting | The ability to run a scheduled task (cron job) every minute |
| Licence | A valid DevmanExtensions licence for this product |
The store charges in the currency of the Square location: USD, CAD, GBP, AUD, JPY or EUR. See Square connection for the exact rule.
Square's transaction fees and your merchant agreement with Square are separate from the extension licence.
How the administration works
The settings screen is loaded from DevmanExtensions each time you open it, after your licence is checked. Your Square credentials are stored in your own OpenCart database and are not sent to DevmanExtensions. The checkout does not depend on that service: customers can pay even when the settings screen cannot be opened.
How this manual is organised
- Installation: the right package for your OpenCart version, updating and uninstalling.
- Licence activation: opening the settings for the first time.
- Quick start: the shortest route to a tested setup, and the going-live checklist.
- Square connection: access tokens, location IDs, signing keys and currencies.
- Settings: every option and the rules that decide when the method is offered.
- Notifications and worker: the Square webhook and the scheduled task.
- Payments and orders: what the customer sees, what happens to the order, refunds and the activity list.
- Troubleshooting: messages and their fixes.
Still need help?
Open a support ticket from your account and our team will look at your store with you.