#Hitesh Gupta
1 messages · Page 1 of 1 (latest)
ack
Are you mean by this "id": "seti_1NSwWzKi83HahApxrLdUEs2I" ?
if yes can share you few others also that got earlier for your reference
Perfect, having a look
The status of that SetupIntent is requires_payment_method, so it's expected that you didn't receive a setup_intent.succeeded event.
ok let me check will ping you here
FYI here's our guide on SetupIntent: https://stripe.com/docs/payments/save-and-reuse?platform=web&ui=elements
I am using below Approach to save Card details using CreateSeupIntent from java backend:
- createCustomer from restapi backend by passing emailID
- java main class for CreateSeupIntent consuming custID and usage:OFF_SESSION
- createSubscription(from backend restapi) by passing custID and priceId
- then pay invoice from Stripe dashboard
Card is saving for all[without SeupIntent also at stripe dashboard]
Can you guide for : SetupIntent status is "requires_payment_method" as I am Paying from stripe dashboard invoice link?
can i request you for any leads please?
I'm confused. Is your end goal to create a Subscription?
Then you don't need to create a SetupIntent at all.
Instead you directly create the Subscription, and use the payment_intent (or pending_setup_intent) created by the Subscription directly.
I recommend reading this guide in detail: https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements
My end goal is to save card details and to pay automatically next invoice using usage:OFF_SESSION [when user is not present]
But in step 3 above you mentioned Subscriptions. So are you creating a Subscription?
Yes I need to create createSubscription for recurring products and while pay for subscription first time , from next time it need to pay automatically
I'm not sure I understand your use case correctly. You want to create a Subscription with both manual and automatic payments ?
ok let me explain
I need to subscribe for a recurring product, first time pay i will add card details.
Post it for next payment say 1 month later it will be done automaticalliy[using usage:OFF_SESSION].
Did you checked the guide my colleague shared with you previously?
https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements
the steps i shared used this guide earlier
post it now next using to pay automatic paymets is our goal
If you build a Subscription following that guide then, you'll collect the PaymentMethod from the customer, then all recurring payment will be made automatically
ok does it will not riequires Setup intent also?
will check and keep you posted. testing will take few hours, thanks
Happy to help, don't hesitate to come back and ask your follow up questions in the main channel.