You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this code to updtate subcription's variant and update quantity in subscriptionItem
const{ error }=awaitupdateSubscription(subscriptionId,{
variantId,invoiceImmediately: true});const{error: subscriptionItemError, data }=awaitupdateSubscriptionItem(subscriptionItemId,{quantity: seats});
then I received 2 webhooks events where the quantity is diferent so I can't have the quantity updated in my database:
Can you guys fix this?
The text was updated successfully, but these errors were encountered:
atpsito
changed the title
Double subscription_updated event when use updateSubscription and updateSubscription sequentially
Double subscription_updated event when use updateSubscription and updateSubscriptionItem sequentially
Aug 9, 2024
I'm using this code to updtate subcription's variant and update quantity in subscriptionItem
then I received 2 webhooks events where the quantity is diferent so I can't have the quantity updated in my database:
Can you guys fix this?
The text was updated successfully, but these errors were encountered: