Best Approach for Handling Database Saves with Third-Party Integrations

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:

  1. Using a Signal
  2. Using a Celery task
  3. Overriding the save method in the model itself

Thank you in advance for your insights!