Closed BerglundDaniel closed 6 months ago
The system's handling of Stripe payment intents has been updated to accommodate an older method of storing transaction IDs. The primary function now includes a fallback mechanism to retrieve IDs from the payment description if they're not found in the metadata. Additionally, the testing suite has been expanded with a new attribute and methods to ensure the legacy ID storage method is covered.
File Path | Change Summary |
---|---|
.../stripe_payment_intent.py |
Added try-except block to handle transaction ID retrieval from the description as a temporary fix. |
.../test/stripe_payment_intent_test.py |
Included a new description attribute in FakeStripePaymentIntent and added tests for legacy transaction ID handling. |
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 your favorite social media?
Summary by CodeRabbit