Skip to content

US: Handle Failed Orders and Send Payment Completion Links #90

@patrickhladun

Description

@patrickhladun

As a developer,
I want to add functionality to handle failed orders
so that when a purchase fails, the order is saved, and the customer can be emailed a link to complete the payment.

Objective

To improve the user experience by saving failed orders and allowing customers to complete payment later. Customers will receive an email with a link to complete the payment, and failed orders will be automatically removed after a set time.

Acceptance Criteria

  • When a checkout form is submitted and the payment fails, the order is saved in the system as a "Failed Order."
  • An email with a link to complete the payment for the failed order is automatically sent to the customer.
  • The customer can click the email link and be redirected to a page to complete the payment.
  • Failed orders are automatically removed from the system after a specified time.
  • If the customer completes the payment within the time frame, the order status changes to "Completed."

Metadata

Metadata

Assignees

Labels

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions