Skip to content
OpenCart · User manual

Stripe Payments PRO

Version 1.2.1 Product page
Chapter 7

Checkout and orders

What your customer sees when paying with Stripe, how and when the OpenCart order is confirmed, and how to handle refunds and payments that need review.

What the customer sees

  1. In the payment step of the checkout, the method appears as "Card / Apple Pay / Google Pay".
  2. In the confirmation step the customer reads "Complete your payment securely on Stripe." and clicks the Pay securely button.
  3. The browser goes to Stripe's hosted payment page on checkout.stripe.com. The page shows one line, "Order #" followed by the OpenCart order number, with the order total and currency. Taxes, shipping and discounts are already included in that total.
  4. The customer pays by card. Apple Pay or Google Pay is offered on that page when Stripe makes it available for your account, the device, the region and the currency. If the bank asks for 3D Secure authentication, Stripe handles it on its page.
  5. After paying, the customer returns to your store. The store verifies the payment with Stripe and shows the normal OpenCart success page.

The texts in your store are shown in the store language when it is one of the eight supported languages, and in English otherwise. Stripe shows its own page in the language it detects for the buyer.

Other outcomes

SituationWhat the customer sees
The customer leaves the Stripe page with its back linkThe OpenCart checkout again, with the cart intact. No order is confirmed.
The card is declinedStripe shows the decline on its own page and the customer can try another card there.
The customer returns but Stripe has not finished confirming the payment"Your payment is being verified. Please do not pay again. Contact the store if confirmation does not arrive." The order is confirmed as soon as Stripe notifies your store.
The payment page cannot be opened"We could not open the payment. Return to checkout and try again. If you have already paid, contact the store before retrying." with a Return to checkout link.

If the customer returns to the checkout and clicks the button again for the same order and total, the store sends them back to the same Stripe payment page instead of creating a second payment. If the order changed in between, the earlier payment page is closed in Stripe and a new one is opened for the new total.

How an order is confirmed

When the customer clicks the pay button, the OpenCart order exists but has no status yet. It is confirmed in one of two ways, whichever comes first:

  • the customer returns to your store after paying, or
  • Stripe's webhook notification reaches your store.

In both cases your store asks Stripe for the payment and confirms the order only when all of this is true:

  • Stripe reports the payment as complete and paid;
  • the amount and currency equal the order total;
  • the payment belongs to this order, this store and this installation;
  • the mode (test or live) matches;
  • the order has not been changed or confirmed in the meantime.

Then the order receives your Paid order status. Its history gets the comment "Stripe payment verified:" followed by Stripe's payment reference, which begins with pi_. The customer is notified, and OpenCart reduces stock and sends its e-mails as for any confirmed order. You can search that reference in your Stripe Dashboard to find the payment.

This happens once per order. A repeated notification or a second return changes nothing.

When something does not match, or the store cannot be certain that the confirmation finished, the order is not confirmed automatically. The attempt is marked for review in Payment activity so that you decide after checking it in Stripe.

Refunds

The current version has no refund, capture or cancel button in the OpenCart order.

  • Stripe charges the card in full at the moment of payment. There is no separate authorisation to capture later.
  • To refund a customer, fully or partly, open the payment in your Stripe Dashboard and refund it there. Use the pi_ reference from the order history to find it.
  • A refund made in Stripe does not change the OpenCart order. Update the order status yourself, for example to your refunded status, and restock if needed.

Payments that need review

Open Payment activity regularly, at least while you start using the method. For an attempt in Review in Stripe, Confirmation needs review or Additional payment needs review:

  1. Open Details and note the review reason.
  2. Find the payment in your Stripe Dashboard and check whether the money was received.
  3. Check the OpenCart order: its status, history and stock.
  4. If the customer paid and the order is not confirmed, set the order status by hand. If the customer paid twice, refund the extra payment in Stripe.

While an order has an attempt in review, the customer cannot start another payment for that same order. This protects them from paying twice.

What the current version does not include

  • Subscriptions and recurring payments. The method is hidden when the cart contains a subscription or recurring product.
  • Saved cards.
  • Refunds, captures or cancellations from OpenCart.
  • Payment methods on Stripe's page other than cards and the wallets Stripe attaches to cards.

Still need help?

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