#Dhaval

1 messages · Page 1 of 1 (latest)

sullen tangleBOT
reef cargo
#

👋 happy to help

#

could you please share the subscription id?

vital field
#

sub_1LFD9WBlLQmfoqiAMSoRmYBv

#

currently this was cancelled

#

bcz i have putted this config for failed payment

#

when payment failed and his retry was pending between this time i get his next payment date in subscription end date instead of failed date

unborn rivet
#

i get his next payment date in subscription end date instead of failed date
can you clarify where exactly? Is there a specific API field you're looking at? what value does that field have versus the value you expect it have?

vital field
#

i am talking about subscription object's "currentPeriodEnd" this field

#

i want actually failed date in "currentPeriodEnd" this field

#

but i get his next subscription period end date

unborn rivet
#

yep, that is what that field means

vital field
#

But payment was failed so how can i know his last payment was failed till his retry?

#

can i get that failed date?

unborn rivet
#

well if the subscription is currently cancelled, then you know that the most recent charge returned from the approach above was the last attempt

vital field
#

Bcz my retry process was going on for 7 days So, till that date when i get subscription details i want to know that my payment was failed