#binod - sepa webhook

1 messages · Page 1 of 1 (latest)

shrewd jetty
#

Hi there. What seems to be the issue?

thin frigate
#

Hi

#

I have setup a webhook to be triggered when subscription is purchased

#

It's working on local but not on live

shrewd jetty
#

Ok. What piece isn't working?

#

What errors are you seeing? Any more info?

thin frigate
#

webhook is not being triggered

shrewd jetty
#

Can you share a sample event where the webhook isn't being triggered?

#

Just the ID of the event

thin frigate
#

where do I get ID of the event?

shrewd jetty
#

From your dashboard. I just need more info here to be able to help you

thin frigate
#

evt_1LKORXHsW9ET26JgxkqFu88N

#

this event didnt trigger any events

shrewd jetty
#

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

thin frigate
#

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

shrewd jetty
#

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

thin frigate
#

is invoice.paid configured?

shrewd jetty
thin frigate
#

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

#

??

shrewd jetty
#

Not sure I understand the question. If it's set as your default payment method, it should be used

thin frigate
#

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

shrewd jetty
#

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

thin frigate
#

I want to test if recurring payments will be paid by SEPA automatically