Closed BerglundDaniel closed 8 months ago
The recent update to the payment processing module includes the addition of new imports to support data handling and time management. A CompletedPayment
data class has been created to encapsulate details of finished transactions. Furthermore, there's a new function designed to manage responses when additional action is required for payment confirmation, enhancing the robustness of the payment workflow.
File Path | Changes |
---|---|
api/src/shop/stripe_payment_intent.py |
- Introduced imports for Decimal , datetime , timezone , date .- Added CompletedPayment data class with transaction_id , amount , created , fee fields.- Added create_action_required_response function. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on X ?
Summary by CodeRabbit