#vijju
1 messages · Page 1 of 1 (latest)
invoice.payment_succeeded
invoice.paid
charge.succeded
Then that's expected. The metadata on the phase object gets copied on the subscription object, not on the invoice or charge.
So when you get the invoice.* event, check the subscription property to find the related subscription, and there you will find the metadata.
will i get each phase meta data?
i want to identify for which phase the paymen has done
If the subscription is in phase 1, then the phase 1 metadata will be set. If it's in phase 2, then the phase 2 metadata will be set. And so on.
ok
once charge is succeded
then i will get invoice and from invoice i will reach to subscription object then i will check for meta data
thanks