#elBR

1 messages · Page 1 of 1 (latest)

mellow tuskBOT
worn haven
#

Hi there, yes it's possible.

surreal tusk
#

but I don't want the coupon to be duration: once

#

I want it to be forever so that my customer can use it multiple times

#

but for one subscription it must be applied only to the first invoice

worn haven
#

The param name can be a bit confusing. Setting a coupon's duration to once doesn't mean that the coupon can be used once. It specifies how long the discount will be effect when used in a subscription.

#

You can still reuse the same coupon with many customers.

surreal tusk
#

ok, but the problem is that if for example of my customer came across a coupon that is not "once" and apply that I will be getting side effects

#

so I want a way to be more secure even in cases the customer applies a coupon that is not "once"

#

you understand my need?

dry notch
#

Hey! Taking over for my colleague. Let me catch up.

surreal tusk
#

ok thanks

#

please let me now if there is any way to solve the case that I mentioned

dry notch
#

but the problem is that if for example of my customer came across a coupon that is not "once" and apply that I will be getting side effects
Could you please give more details about what side effects you are thinking about here ? why are you creating coupon that are not "once" and your use case seems to require coupon with "once" duration?

surreal tusk
#

because by mistrake I can create a copon that is not "once"

#

and even if I do that I want to ensure that the customer will use it only for the first invoice

dry notch
surreal tusk
#

ok thanks

#

can I alsk you another question

dry notch
#

yeah of course

surreal tusk
#

If my app returns an error after a webhook event in test mode after which time it will be sent again and how many times?

#

and is it the same for test and live?

#

does it have a max number of times? and what happens if the limit of retries is reached

dry notch
#

In live mode, Stripe attempts to deliver your webhooks for up to three days with an exponential back off
...
In test mode, Stripe retries three times over a few hours
...
In live and test mode, Stripe will attempt to notify you of a misconfigured endpoint via email if an endpoint has not responded with a 2xx HTTP status code for multiple days in a row. The email also states when the endpoint will be automatically disabled.
Further details can be found here:
https://stripe.com/docs/webhooks/best-practices#events-and-retries

inland cosmos
#

do I get the event object in the email so that I know the event?

dry notch
surreal tusk
#

but can I manually resend the event if it fails?

dry notch
surreal tusk
#

can I send though dashboard directly?

#

also, I want a way to check if the event was successful or not. Here I do not see any status

dry notch
gaunt salmon
#

Hi! I'm taking over this thread.

#

can I send though dashboard directly?
Yes in the dashboard you can re-send failed events by clicking on the "resend" button.

surreal tusk
#

ok thanks

#

I wanted to ask, is there a way that Stripe can restrict a customer to have two subscriptions?

#

I want to customer to have just one subscription

gaunt salmon
#

We don't have a setting for that. But that's something you could do on your end: only create a new subscription if the customer doesn't already have one.

surreal tusk
#

ok

surreal tusk
#

if an invoice remains open for a certain amount of time, does it automatically gets deleted by Stripe?

gaunt salmon
surreal tusk
#

once I update an invoice to "void", it cannot be again changed to "open", correct?

gaunt salmon
#

Correct!

surreal tusk
#

can a subscription be passed to incomplete, once paid the first invoice?

#

is the incomplete status referring that the first invoice isn't paid yet? Or the subscription can pass to that status at some point in the future too?

gaunt salmon