#binod - sepa webhook
1 messages · Page 1 of 1 (latest)
Hi
I have setup a webhook to be triggered when subscription is purchased
It's working on local but not on live
webhook is not being triggered
Can you share a sample event where the webhook isn't being triggered?
Just the ID of the event
where do I get ID of the event?
From your dashboard. I just need more info here to be able to help you
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
invoice.payment_succeeded isn't an event you've configured for we_1KjgS2HsW9ET26Jg5pXat4k3
You've only configured that event to be sent to your connect webhook endpoint
This isn't a connect event
sorry, didnt get it
I have registered 39 events at this url https://admin.stage4all.net/api/v1/sales/webhook
which should trigger after invoice has been paid
That is a connect webhook endpoint: https://stripe.com/docs/connect/webhooks
The above event isn't a connect request
So it's not sent to that endpoint
You also have a normal webhook endpoint configured (non-connect): we_1KjgS2HsW9ET26Jg5pXat4k3
On that endpoint, invoice.payment_succeeded isn't configured
is invoice.paid configured?
No. You can check this yourself in your dashboard. https://dashboard.stripe.com/webhooks
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
okay, one more question
I have added SEPA debit as default payment method for recurring payment in subscription
how do I verify/test SEPA payment automatically charges or not?
I have card and iDeal payments as well for subscription payment
if SEPA is setup, I want to charge autmatically through SEPA instead of card ord iDeal
??
Not sure I understand the question. If it's set as your default payment method, it should be used
Im using this API return stripe.customers.update( body.customer_id, { invoice_settings: { default_payment_method: body.default_payment_method } } );
just wanted to know, how do I test in local environment
What do you want to test?
After you set the above you can just create the subscription in test mode and see if it charges the payment method properly
I want to test if recurring payments will be paid by SEPA automatically