CATAPULTAI WORK
Start a project

Web Apps & Commerce

Handle Pending Payments Without Duplicate Orders

A shopper can finish a payment screen while the store is still waiting for a final result. If the website treats every delay as failure, customers may pay again. If it treats every redirect as success, staff may ship unpaid orders.

A shopper can finish a payment screen while the store is still waiting for a final result. If the website treats every delay as failure, customers may pay again. If it treats every redirect as success, staff may ship unpaid orders.

Related service: Website and ecommerce development
AT-A-GLANCE FLOWResolve a payment without creating another purchase
  1. 01Create the purchase reference
  2. 02Start the supported payment flow
  3. 03Show pending when unresolved
  4. 04Verify the provider result
  5. 05Update the order once

SECTION 01

Ask the agency to draw the unresolved state

Most demonstrations show a successful card payment and stop there. Request a walkthrough of the customer closing the tab, losing connectivity or returning while payment is processing. The supported checkout may already handle much of this. Your storefront and operations integration still need to interpret its states correctly, showing a useful reference and a safe next step without encouraging another purchase.

Stripe's Payment Intents documentation illustrates a payment lifecycle and recovery using the same purchase context. Its webhook guidance explains repeated event delivery and verification. These are useful provider examples, not a requirement to replace your store's checkout. Ask which system owns the payment result, which system owns the order and how the integration reconciles disagreements between them.

SECTION 02

Illustrative example: a delayed bank payment

Consider an office-supplies store offering a supported payment method that does not resolve immediately. A buyer completes the provider step and returns to an order marked payment pending. The page explains that confirmation is still awaited and provides the order reference. Staff can see the pending state but do not release the parcel under the store's agreed payment-before-dispatch rule.

Later, the provider reports success twice because its first notification was not acknowledged. The store records one payment result and creates only one fulfillment instruction. If the buyer reloads the account page during that interval, it retrieves the existing order rather than starting another charge. If the payment ultimately fails, the customer receives the supported recovery route for that same purchase.

SECTION 03

Accept delayed messages and operational recovery

Test pending-to-success, pending-to-failure, duplicate provider events, a failed notification delivery and a customer who never returns to the website. Verify signatures or the provider's equivalent authentication before acting on external notifications. Confirm that retries preserve the original reference and that staff can reconcile a payment whose website update was delayed. Use a safe provider test environment, not real customer charges.

Keeping the platform's standard checkout usually avoids unnecessary payment complexity. Custom order-status views should expose reliable information rather than invent an alternative payment engine. Handoff should include an unresolved-payment queue, the person responsible for investigating it and a documented reconciliation process. Define how long unresolved records are reviewed, but do not silently expire them in a way that loses a later successful payment.

SECTION 04

Frequently asked questions

Can the thank-you page mark an order paid?

It should display a verified status, not infer success merely because a browser reached a URL after checkout.

Why can a payment notification arrive twice?

Providers can retry delivery. The integration must recognize an already handled event or purchase outcome and avoid duplicate actions.

Should customers pay again when status is pending?

Do not encourage a second purchase while the original result is unresolved. Offer a status check or supported recovery path.

PRIMARY REFERENCES

Sources and further reading

These references cover the standards, platforms, or published prices discussed in the guide. Worked examples and checklists are our editorial guidance.

ABOUT THE AUTHOR

Catapult AI Work Technical Team

Catapult AI Work builds websites, business software, AI automations, and mobile apps. We write these guides to help business owners compare options and prepare project requirements.

EDITORIAL METHOD

About this guide

We use AI to assist with drafting and editing. Catapult AI Work is responsible for the published content. Examples illustrate possible approaches; they are not client case studies unless identified as such.

Budget examples are not Catapult package prices. Check linked provider pages for current fees and plan limits before making a purchase.

Read the editorial policy

PLAN YOUR IMPLEMENTATION

Discuss the task you want your software to handle

Share your current workflow, the people involved and the outcome you need. We can discuss a focused implementation and its responsibilities. Contact us for pricing.

Discuss your project