#Mahesh Waman-bacs
1 messages · Page 1 of 1 (latest)
Hey Hi
can I able to do recurring bacs payment using stripe check out functionlity
Yep, should work! But there's no explicit documentation on this yet
https://stripe.com/docs/payments/bacs-debit/save-bank-details
what about this link
You can follow that, sure. The key difference is to just pass mode: 'subscription' when creating the Checkout Session
I think in this link not given that we can able to do recurring payment by stripe checkout right
how we the bacs payment crediential
I don't understand the question?
when I am using stripe checkout functionality in that entered payment/ bank details provided how we are going to save for reurring
hi
Hi can you please give me some brif please
What code are you using right now to collect payment details from a user with Checkout?
I am using the session Id as of now for onetime payment
samething we are doing in recurring payment
Sure, so you'd need a mode: 'setup' Checkout Session as outlined at that document. That will created a reusable Payment Method object and save it to the Customer: https://stripe.com/docs/payments/bacs-debit/save-bank-details
That can then be used for recurring payment/subscriptions
I have one more question can I able to give specific date of month to do payment recurring format
is it possible
@warm merlin
Hi! When creating a subscription, you can set billing_cycle_anchor https://stripe.com/docs/api/subscriptions/create#create_subscription-billing_cycle_anchor
can I able do in bacd payment
because I am going use this
Sure, so you'd need a mode: 'setup' Checkout Session as outlined at that document. That will create a reusable Payment Method object and save it to the Customer: https://stripe.com/docs/payments/bacs-debit/save-bank-details
can I able to use in bacs payment (billing_cycle_anchor) this attribute
Yes this should work!
okay
I have one more question
how i can get detail where payment is success or cancel
For subscription, you can listen to the webhook events invoice.payment_succeeded or invoice.payment_failed.
only this two event I need to use
It depends what you are trying to do. If you want to check payment status, then yes.
If you want to track the status of the subscription, then you could follow this: https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements#provision-access
You need to compute the timestamp for that date, and then pass it to the billing_cycle_anchor parameter.
okay
to do recurring payment
I have added product and their price then product price I need to make as recurring
right
Yes. One product with at least one recurring price.
okay
hi
await stripe.checkout.sessions.create({
})
in this method not able to do billing cycle anchor
billing_cycle_anchor :1649599602,
HI @sudden valley
can you please tell is this property I can use
because it giving me error
Jumping in soma needs to step away. What is the error that you're receiving? That doesn't look like a valid parameter for creating a checkout session.
yes right it's not valid parameter
so how I can able to do recurring payment using bacs
Sorry, not sure I follow. You don't need to pass billing_cycle_anchor to create a subscription that generates recurring payments.
hi
If I follow this then it will trate as bacs payment or how it will be
@balmy venture
Yup, that guide walks through creating subscriptions that are charged to Bacs payment methods.