#Dimitar(stripes)-subscription

1 messages ยท Page 1 of 1 (latest)

scarlet dagger
#

Hi! I'm not sure I understand what information you are looking for in the event object. Can you clarify?

random schooner
#

Hi, im looking for indication if this is the final retry to collect payment

scarlet dagger
#

Got it! Give me a few minutes to look into this.

fiery plaza
#

You'd need your own logic to determine if that was the 'final' attempt

random schooner
#

Oh ๐Ÿ˜ฆ

#

How can i have my own logic when this is defined from stripe dashboard settings?

#

I mean there are multiple options for retries

fiery plaza
#

You'd store that in state somewhere I guess

#

The other option would to check the status field on the Invoice which may change (depending on settings) after all attempts fail

random schooner
#

Okay i will try to check the status, what settings might be affecting the status?

fiery plaza
random schooner
# fiery plaza

thanks, can i define the setting when creating subscription?

fiery plaza
#

No, it's currently an account global

#

Managed in the Dashboard

random schooner
#

Ok, thanks ๐Ÿ™‚

#

@fiery plaza as we are using Stripe connect do all connected accounts need to do this or only the main one?

#

i suspect all of the connected accounts need

#

I guess there is API endpoint to change the setting on behalf of the connected account

fiery plaza
#

What kind of connected accounts?