#raulgq
1 messages · Page 1 of 1 (latest)
Hello!
Right now we don't have a way to propagate the metadata that was set on a subscription down to it's charges
The only workaround I can think of is to listen for payment intent creation for a subscription, update the payment intent to set metadata, and once the payment intent is paid it would copy that metadata down to the cahrge
No, you'd have to set the metadata on the payment intent BEFORE it's being confirmed
ok I'll try that
one more question
Can I create a rule to select an specific price_id ? or is needed set the price_id like a metadata to the payment intent ?
As far as I know there's no way to create a rule checking for a specific price ID - you'd need to put in the metadata