#Dhaval

1 messages · Page 1 of 1 (latest)

barren windBOT
elder swallow
#

"sub_1LmybjBlLQmfoqiATFnLYtNL" this is my subscriptionId

solid mica
#

Could you explain what you would like to achieve?

elder swallow
#

my payment was failed now it is in retrying mode

#

i want date in which payment get failed

#

but in currentperiodend i got next payment date instead of failed date

#

when I retrieve subscription how can i know that my payment was failed

solid mica
elder swallow
#

In subscription object which param i need to use to get invoice payment failure?

#

bcz i want to show in my app like payment was due for 1 day or 3 day like that

#

invoice.payment_failed event throw one time but when my app call getdetails at that time i have to pass actual data of failure

solid mica
#

Alternatively, I'd recommend storing the timestamp of failed invoice payment once you receive invoice.payment_failed event. Then use those stored timestamps to display to your customer.