#mamidd - subscription metadata

1 messages · Page 1 of 1 (latest)

twilit hedge
#

Hello. One moment while I catch up here

sullen gorge
#

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

twilit hedge
#

Can you share your request id?

sullen gorge
#

req_0LE5Lz51gwxq7K

twilit hedge
sullen gorge
#

ok and how can i manage this situations?

#

i need to update metadata on my subscription when i send the update

twilit hedge
#

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