Skip to content
OpenCart · User manual

Square Payments PRO

Version 1.0.1 Product page
Chapter 8

Payments and orders

What your customer sees when paying with Square, how and when the OpenCart order is confirmed, how refunds are handled and how to read the Payment activity tab.

The checkout for the customer

  1. In the payment step the method is listed as Square.
  2. On the confirmation step the customer presses Pay with Square.
  3. The store creates a single-use Square payment link for the order total and redirects the customer to Square's hosted checkout page. The customer pays there by card, or with Apple Pay or Google Pay when Square offers them.
  4. Square sends the customer back to the store. The store verifies the payment with Square at that moment.
  5. If the payment is completed, the customer lands on the normal OpenCart success page.

The Square page shows one line with the order total. Tipping, Square coupons, loyalty and the shipping-address form are switched off, and bank account, Afterpay/Clearpay and Cash App Pay are not offered. The delivery address and the order detail remain those of the OpenCart order.

The verification page

When the payment is not yet confirmed, or could not be opened, the customer sees this message instead of the success page, with a Return to checkout link:

Your payment is being verified. Please do not pay again. Contact the store if confirmation does not arrive.

This happens when Square still reports the payment as approved or pending, when the customer returns without having paid, when the session expired, or when Square could not create the payment link. If the payment completes later, the scheduled worker confirms the order.

Pressing Pay with Square again for the same order reopens the same Square link while it is still unpaid. The store never opens a second payment for an order whose first attempt is paid, declined, cancelled or under review.

What happens to the order

  • Until the payment is verified, the OpenCart order stays unconfirmed. It is not shown among your normal orders and stock is not reduced.
  • When Square reports one completed payment for the exact amount and currency at your location, the order receives your Paid order status. OpenCart then reduces stock and sends its usual order e-mails.
  • The order history receives a line Square paid: followed by the Square payment ID, which you can look up in the Square Dashboard.
  • The confirmation happens once. A second notification, a repeated return or a later worker run finds the order already confirmed and changes nothing.
  • An order that was already given a status by other means is not touched; the attempt goes to review instead.

Refunds, captures and cancellations

The extension has no capture, void or refund buttons. Payments are charged in full on Square's page, and refunds are made in the Square Dashboard.

When you refund a payment, fully or partially, in the Square Dashboard, Square notifies the store. At the next check the attempt moves to Review in Square with the reason The capture was refunded or partially refunded. Review the native order separately. The OpenCart order status, totals and stock are not changed. Update the order by hand in OpenCart if you want it to reflect the refund.

The Payment activity tab

Payment activity lists the payment attempts of the selected store, newest first. It loads automatically when you open the tab.

ControlWhat it does
RefreshReloads the list.
Rows per page10, 25 or 50 attempts per page. Default: 10.
EnvironmentAll environments, Test or Live.
Order number (all pages)Shows only the attempts of one order number, across all pages.
Search this page…Filters the rows of the current page by order, currency, state or reason.
Previous / NextMove between pages.

The table columns are Order, Environment, Amount, Payment state, Review reason, Last updated and Details.

Payment states

StateMeaning
Opening paymentThe attempt was created and the Square link is being requested.
Awaiting paymentThe link exists and Square has no payment for it yet.
Payment pendingSquare reports the payment as approved or pending. The order is not confirmed.
Paid and confirmedThe payment was verified and the OpenCart order was confirmed.
Payment declinedSquare reports the payment as failed or cancelled.
CanceledThe Square order was cancelled.
Review in SquareSomething did not match. No further automatic action is taken; check the payment in the Square Dashboard.
Confirmation needs reviewThe store started confirming the order and could not verify that it finished.

Review reasons

Reason shownWhat to check
The order changed after opening the payment.The OpenCart order, or the Square credentials, changed after the link was created.
The captured amount or currency differs from the original order.The Square order or payment does not match the reference, location, amount or currency of the attempt, or it includes a tip.
The Square payment changed after confirmation. Review the order.A confirmed payment later changed at Square.
The capture was refunded or partially refunded. Review the native order separately.The payment has a refund at Square.
Verify order history and stock before changing this payment.The order confirmation was interrupted. Check the order history and stock before doing anything else.
Result requires review; use the support code below.Other cases. The support code multiple_payments means Square holds more than one payment for the order; native_order_already_changed means the order already had a status when the payment completed.

Details and event timeline

Details opens a dialog with Order, Created, Updated, Status, Reason and Attempt reference, followed by the support code when a review reason exists.

Below it, Event timeline lists what happened to the attempt: Payment attempt created, Payment state changed, Provider API request and Payment notification received. Each request to Square shows Operation, HTTP status and Duration, and every event has a Support reference. Quote that reference when you contact support.

The timeline never records request bodies, headers, access keys or buyer details. Timeline events are kept for 30 days and limited to the newest 10,000; the list of attempts itself is kept. Card data is never stored in your store.

Still need help?

Open a support ticket from your account and our team will look at your store with you.