Hello everyone,
I have a quick question regarding the best approach for handling database saves when integrating with third-party applications.
For instance, I have a model used for creating subscription plans. This plan will be created in two different third-party applications, such as Stripe and PayPal. After the APIs create the plans, I will take the IDs from both and store them in the model.
Which approach is better for this scenario:
- Using a Signal
- Using a Celery task
- Overriding the save method in the model itself
Thank you in advance for your insights!