#mamidd - subscription metadata
1 messages · Page 1 of 1 (latest)
i receive this log: StripeInvalidRequestError: When payment_behavior is set to pending_if_incomplete, you can only pass supported params. metadata is not supported.
my need is to update subscription metadata because i map stripe subscription with my internal sistem db and when i receive the event of pending_update_successfull i do some business logic
using the id saved on subscription metadata
Can you share your request id?
req_0LE5Lz51gwxq7K
So for pending updates, metadata isn't valid. See this link: https://stripe.com/docs/billing/subscriptions/pending-updates-reference#supported-attributes
ok and how can i manage this situations?
i need to update metadata on my subscription when i send the update
For that type of subscription update sending metadata isn't possible. When issuing the update, you could store some info in your database tied to the subscription for the business logic