Closed BerglundDaniel closed 1 month ago
The recent updates focus on enhancing the Stripe integration in the webshop platform. These improvements include adding a new stripe_product_id
column and field to manage Stripe product IDs. Additionally, there are enhancements in error handling and retry mechanisms for Stripe operations, along with updates to the logic for creating and managing Stripe products and prices. The testing suite has also been expanded to cover new functionalities related to Stripe integration.
File Path | Change Summary |
---|---|
.../0027_stripe_product_id_connection.sql |
Added stripe_product_id column to webshop_products table. |
.../shop/models.py |
Introduced stripe_product_id field in Product class. |
.../shop/stripe_product_price.py |
Enhanced Stripe product and price management, including error handling and metadata updates. |
.../shop/stripe_util.py |
Improved Stripe operation handling with a new retry function for rate limit errors. |
.../shop/test/stripe_product_price_test.py |
Updated tests to include new functionalities for subscription categories and Stripe price 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?
This PR changes the behavior for the stripe-makeradmin relationship for the products. Instead of setting the stripe product id from the makeradmin product id it stores the stripe product id in the db in the same way as we do for customers / members. This should is required if we want to use the existing stripe product and prices after merging #375
Summary by CodeRabbit
New Features
Enhancements
Bug Fixes