Settings
The Settings tab switches the method on, selects test or live mode, sets the paid order status and defines who can pay with Square. This chapter also covers the editor header.
The editor header
| Setting | What it does |
|---|---|
| Dashboard | Link back to the OpenCart dashboard. |
| Store | The store you are configuring. Changing it reloads the editor with the settings of that store. Settings and Square credentials are independent for each store; the licence belongs to the whole installation. |
| Administration language | Language of the editor. Automatic (OpenCart) follows the language of your OpenCart administration and falls back to English when that language is not one of the eight available. You can also pick English, Español, Deutsch, Русский, Українська, Português, Français or Italiano. |
Below the header are four tabs: Settings, Square connection, Payment notifications and Payment activity. The Save settings button is shown on the first two. Fields with a help icon show a short explanation when you point at or press the icon.
The fields
Payment method
Enabled or Disabled. Default: Disabled. Enable it only after the credentials of the selected mode are saved. Saving with Enabled is refused while the access token, location ID or webhook signing key of that mode is missing, or while no valid paid order status is chosen.
Mode
Test uses the sandbox credentials and Square's sandbox. Live uses the production credentials and takes real payments. Default: Test. The mode also decides which location currency applies.
Paid order status
The OpenCart order status given to an order once Square confirms a completed payment. Default: Select, which means none.
The list contains only the statuses that OpenCart treats as processing statuses. On OpenCart 2.0 and later these are the statuses selected in the Processing Order Status option of your store settings. On OpenCart 1.5 they are all statuses except the one set as complete status. If the status you want is missing, add it there first.
A completed, verified payment updates the order once. Payments that Square reports as approved or pending do not confirm the order.
Geographic zone
Limits the method to customers whose payment address is inside one OpenCart geo zone. Default: All zones.
Minimum order total
The method is hidden when the order total is below this amount, in the store's base currency. Zero removes the restriction. Default: 0.
Maximum order total (0 = unlimited)
The method is hidden when the order total is above this amount. Default: 0, which means no upper limit. When it is greater than zero it cannot be lower than the minimum.
Display order
Position of Square among the payment methods at checkout. Lower numbers come first. Default: 0.
Enabled purchase countries
Optional restriction by the country of the customer's payment address. The list shows the countries enabled in your OpenCart store. An empty selection allows all countries. This rule does not change the charge currency, which always comes from the Square location.
Allowed customer groups
Optional restriction by customer group. An empty selection allows all groups. Guests are checked against the store's default customer group.
Using the multiple selections
The last two fields are searchable lists with tick boxes. Type in Search options… to narrow the list, tick the entries you want, and use Clear selection to untick them all. The line under the search box shows how many entries are selected, or No options selected. Check the field help for the default rule.
Saving
Press Save settings. If anything is not accepted, nothing is saved and this message appears: Check the settings, key modes and paid order status before saving. The usual causes are:
- the method is enabled but a credential of the selected mode is missing;
- no paid order status is selected, or it is not a processing status;
- the maximum total is lower than the minimum;
- a total has more than four decimals;
- a credential contains a space or is too short.
When Square is offered at checkout
The customer sees Square among the payment methods only when all of these are true:
- Payment method is Enabled for the store being visited.
- An access token and a location ID are saved for the selected Mode.
- The currency selected in the storefront equals the location currency of that mode.
- The country of the payment address is in Enabled purchase countries, or that list is empty.
- The customer's group is in Allowed customer groups, or that list is empty.
- Paid order status is still one of OpenCart's processing statuses.
- The cart contains no subscription or recurring-payment product.
- The order total is within the minimum and maximum.
- The payment address is inside the selected Geographic zone, or all zones are allowed.
The rules about status, totals, countries, customer groups and geographic zone are checked again when the customer presses Pay with Square, against the order that was created.
Still need help?
Open a support ticket from your account and our team will look at your store with you.