Proposal Summary
This proposal outlines the plan to enhance the payment processing workflow by replacing the current
confirmation and third-party status verification approach with Stripe’s Capture Method. The proposed
system ensures that payments are captured only when the bid is successfully placed. If the bid
placement fails, the payment authorization will be cancelled, avoiding unnecessary refunds.
Requirement
The requirement is to enhance the payment workflow by integrating Stripe’s Capture Method to
authorize payments during bid placement. Payments should only be captured upon successful bid
placement on the liv-ex; if the bid fails, the authorization should be cancelled, avoiding the need for
refunds. This transition will streamline operations, reduce latency, improve user experience, and
better align with Stripe’s payment lifecycle.
Deliverables
The implementor will change the current workflow of the order process. Updates will be made to
both the webstore and the cron job handling the order processing.
Current Workflow
1. Customer Places an Order:
a. Customers place orders on the webstore, initiating payment authorization.
2. Cron Job Processing:
a. A script runs every 2 minutes to process orders and check the bid status with Liv-ex.
b. Based on the status, an order confirmation email is sent to the customer, and order-
related records are updated accordingly.
The implementor will change the current functionality to
Customer Places an order:
o The initiates a bid on the liv-ex.
Payment Authorization:
o The system temporarily holds the payment amount on the customer card without
charging it.
Bid Placement Validation:
o When we place a bid, we will get the status from liv-ex.•
Conditional Payment Processing:
o If the Bid is Successful:
▪ The payment is finalized, and the amount is charged.
o If the Bid Fails:
▪ The payment authorization is cancelled, releasing the held funds.
o If Bid fails Partially:
▪ The payment amount will update according to the successful items amount
and the tat amount will charge.
Scope Limitation
Liv-ex Dependency:
• The solution relies on the accuracy and timeliness of Liv-ex’s bid status API. Any issues with
this API could impact the workflow.
Authorization Window
• Stripe’s authorization validity is constrained by time limits. Extended delays in bid status
retrieval could require reauthorization, which may not always be feasible.
Assumptions
The client will provide the required access to Liv-Ex in sandbox and production account.
We will be doing the development first in sandbox and after verification, we will move the changes
to production.