-
I was trying out dj-stripe to better understand its concepts, and I have a question: I understand that if I make changes on Stripe's dashboard, based on what events I choose to receive, Stripe will send data over the webhook and will update dj-stripe's Customer model accordingly. Is it possible to do it the other way around? For example, I tried changing the email address for one of my Customer and saved the object, but the data on my Stripe dashboard stays the same. I was expecting dj-stripe to make calls to Stripe's API automatically and update the data on Stripe too but it seems that that's not happening. Is this the correct way to make changes to data, or should changes be done on Stripe only? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
As of right now, we consider Stripe the source of truth. We have plans to better connect django actions on stripe objects with the stripe api, but for now you can make changes to stripe objects locally using the stripe sdk under each dj-stripe object |
Beta Was this translation helpful? Give feedback.
-
@iqbalabd @mhrmsn The code you wrote is using the I hope that clears it up. |
Beta Was this translation helpful? Give feedback.
As of right now, we consider Stripe the source of truth.
We have plans to better connect django actions on stripe objects with the stripe api, but for now you can make changes to stripe objects locally using the stripe sdk under each dj-stripe object