#mahesh

1 messages ยท Page 1 of 1 (latest)

sweet estuary
#

hey there, do you have an integration question?

raw kettle
#

yes

#

I am done bacs debit direct functionality

#

I want to know the by using session id I am getting detail of session object

#

here my question by which id I can check payment is succeed or failed

carmine ginkgo
#

Hello ๐Ÿ‘‹
Stepping in for @sweet estuary here as they have to step away in a bit

#

You can expand payment_intent on the session object and check its status to see if the payment succeeded or not.

raw kettle
#

I doing bacs payment using subscription

carmine ginkgo
#

Ah okay! That wasn't clear from your question earlier.
So you're using BACS DD with Subscription and want to know if customer made a recurring payment successfully or not, is that correct?

raw kettle
#

I am getting this detail

#

using session id

#

yes correct

#

@carmine ginkgo @sweet estuary are you there

carmine ginkgo
#

yup still here
juggling between a few threads at the moment

raw kettle
#

okay I m waiting

carmine ginkgo
#

In order to know if the payment was successful, you can use the webhooks and listen for checkout.session.async_payment_succeeded event for the first payment succeeding and after that invoice.paid for each recurring payment later

raw kettle
#

to get respective user payment subscription detail which Id I can use to get

#

by webhook I want know

#

to many subscription done in one day how I can identify respective user payment success or not

carmine ginkgo
raw kettle
#

Hi

#

I have created a webhook for event checkout.session.async_payment_succeed and invoice.paid but when done payment by checkout I not able to get in webhook

#

hi @carmine ginkgo

carmine ginkgo
#

can you give me your account ID that you're testing with? It should look something like acc_xxxxxx

raw kettle
#

where i will get that

carmine ginkgo
raw kettle
#

acct_1JjhD3CkdzzFot39

carmine ginkgo
#

thanks looking

raw kettle
#

okay

carmine ginkgo
raw kettle
#

yes how I will get in webhook

#

if payment failed on which event I will get that

carmine ginkgo
#

On my end it shows that these events were delivered to your CLI webhooks
So it is possible that your code isn't configured correctly to handle the events

There's example code here you can refer to
https://stripe.com/docs/webhooks#webhook-endpoint-code

if payment failed on which event I will get that
Give me moment to check this

raw kettle
#

okay thanks