#Omri-webhook
1 messages · Page 1 of 1 (latest)
what do you mean by start success subscription?
webhook is meant for listening events occurred
which event I need to listen?
subscription_schedule.completed? or it occurred when the subscription end date?
I need event that tell me from now the subscription start to charge successfully every month...
I see the payment_intent.succeeded but I do not have payment_intent because it is SEPA direct debit...
invoice.paid works too
btw I do think you still have a PaymentIntent in case of SEPA
ok
btw when I run it on my local with stripe listen --forward-to localhost:3003... all the event are called, I need to relate only to the event that I what to listen? in the production it is not gonna happened, right?
In the Dashboard you can limit the events you want to listen
also in your webhook server, you could also choose events
in the switch case
When you create the PI you will have a parameter metadata
I'm not create the PI, it is automatically
I create price, checkout session and subscription schedule
Okie, in the Checkout creation call, there is a parameter
1 min
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
here
thank you
np!
payment_method_types: [type],
line_items: [{
price: price.id,
quantity: 1,
}],
payment_intent_data: {
metadata: metadata,
},
mode: 'subscription',``` like that?
it is not work for me, how I write that?