#bubastix0 - Subscription Webhook

1 messages · Page 1 of 1 (latest)

last badger
#

I would build a simple response function to receive your webhook events and return a success response (status code 200). This will satisfy Stripe's webhook requirements.

dull finch
#

thank you, I will try that, but regarding to the second question

#

is there a way to hasten a payment needs to be made in the developer

#

in the developer mode?

last badger
#

When you say hasten the payment in developer mode, what do you mean?

dull finch
#

I want to trigger the invoice.created and then the invoice.paid webhooks

#

to check that the system behaves as expected

#

can you confirm that the invoice.created call is required to send an invoice.paid event?

queen osprey
#

Hello 👋
Taking over for Snufkin here
I believe if you pay an existing invoice which was created before you implemented the webhook, it'd still trigger the invoice.paid event

dull finch
#

ok, the reason I ask this is because I have seen subscriptions that not triggered the invoice.paid event and after looking into the docuemntation, it metions that it requires a succesful response to the webhook call event.created

#

which I don't remember having to implement before

queen osprey
#

Interesting. could you try testing it in test mode?

dull finch
#

that was my question, how can I hasten the process of payment for a subscription?

#

If I create a new subscription, i can test it in a month ?

#

can I set the next payment to be in a minute or so?

queen osprey
#

OH! I see. sorry for the confusion earlier.
Let me take a look

queen osprey
#

you can actually use stripe trigger invoice.paid to trigger a webhook event