#vaibhavkhush

1 messages ยท Page 1 of 1 (latest)

sturdy fableBOT
quartz iris
frosty tiger
#

i have read this but nothing cleared

#

Creating Customer
Then for 3ds charge 1 rupee from customer by payment Intent then refund it
Creating subscription with that payment Id
then confirming with customer and sending invoice

#

check my flow

#

are you online ?

quartz iris
#

What is not clear exatly? and are you facing any particular issue ?

frosty tiger
#

about the subscription flow

#

for 3ds i am charging user 1rs and refunding back is that correct

#

just tell me right flow don't give me link of documentation

quartz iris
frosty tiger
#

i am creating subscription model in stripe for Indian payment it is necessary to do 3ds authentication so first I charge 1 rupees to user then refund that after card is saved i create subscription with that payment id and it provide invoice url to confirm payment after confirming payment get successfull

#

is that right way to create subscription in stripe with 3ds

sturdy fableBOT
frosty tiger
#

are anybody online to help me

#

???

quartz iris
#

Please be patient, we are monitoring all threads, checking...

frosty tiger
#

๐Ÿ‘

hybrid seal
#

๐Ÿ‘‹ taking over for my colleague. Let me catch up.

#

please do come back with any follow-ups

frosty tiger
#

i have read this

#

its not clear

#

can you tell me right flow for subscription or check my flow and correct me if i am doing anything wrong

#

i am creating subscription model in stripe for Indian payment it is necessary to do 3ds authentication so first I charge 1 rupees to user then refund that after card is saved i create subscription with that payment id and it provide invoice url to confirm payment after confirming payment get successfull
is that right way to create subscription in stripe with 3ds

hybrid seal
frosty tiger
#

my subscription flow pls read above flow

#

To create a subscription in Stripe with 3DS authentication for Indian payments, you can follow the following steps:

  1. Charge 1 rupee: Initiate the subscription process by charging 1 rupee from the user's card. This step helps verify that the card is valid and supports 3DS authentication.

  2. Refund the charge: Once the card is verified, refund the 1 rupee charge to the user. This ensures that the user is not actually charged for this amount.

  3. Save payment ID: After the successful charge and refund, save the payment ID associated with the 1 rupee transaction. This payment ID will be used in the next step to create the subscription.

  4. Create subscription: Use the saved payment ID to create a subscription for the user. This subscription will specify the billing frequency, plan details, and associated customer information.

  5. Invoice confirmation: Stripe will automatically generate an invoice for the created subscription. Provide the user with the invoice URL to confirm the payment.

  6. Confirm payment: Once the user accesses the invoice URL, they will be prompted for 3DS authentication to complete the payment. Upon successful authentication, the payment will be confirmed, and the subscription will be active.

By following these steps, you ensure that the user's card supports 3DS authentication, verify its validity with a minimal charge, and proceed with creating the subscription after confirming successful payment.

hybrid seal
#

where did these steps come from?

frosty tiger
#

i created my subscription according to this is this correct?

hybrid seal
#

from which doc you got those steps?

frosty tiger
#

no its not from doc

#

i have seen some website doing like this payment

hybrid seal
#

I have shared with you the official doc for recurring payments in India

#

please follow the steps from that doc!

#

and if you have a particular question regarding that doc feel free to come back and ask it here

frosty tiger
#

its not cleared in doc

#

its saying same to first create paymentIntent then charge user

#

via subscription

frosty tiger
#

can you tell me once

hybrid seal
#

?

frosty tiger
#

about right flow

#

with 3ds

#

pls reply ?

quiet trellis
#

@frosty tiger what specific question do you have?

frosty tiger
#

my subscription flow i am using for 3ds with stripe

#

To create a subscription in Stripe with 3DS authentication for Indian payments, you can follow the following steps:

  1. Charge 1 rupee: Initiate the subscription process by charging 1 rupee from the user's card. This step helps verify that the card is valid and supports 3DS authentication.

  2. Refund the charge: Once the card is verified, refund the 1 rupee charge to the user. This ensures that the user is not actually charged for this amount.

  3. Save payment ID: After the successful charge and refund, save the payment ID associated with the 1 rupee transaction. This payment ID will be used in the next step to create the subscription.

  4. Create subscription: Use the saved payment ID to create a subscription for the user. This subscription will specify the billing frequency, plan details, and associated customer information.

  5. Invoice confirmation: Stripe will automatically generate an invoice for the created subscription. Provide the user with the invoice URL to confirm the payment.

  6. Confirm payment: Once the user accesses the invoice URL, they will be prompted for 3DS authentication to complete the payment. Upon successful authentication, the payment will be confirmed, and the subscription will be active.

By following these steps, you ensure that the user's card supports 3DS authentication, verify its validity with a minimal charge, and proceed with creating the subscription after confirming successful payment.

quiet trellis
frosty tiger
#

is this correct

quiet trellis
#

No, doesn't sound correct to me, it's unusual to charge a customer real money and then refund it, so I don't think steps 1 and 2 make any sense, unless you read them in an official Stripe doc.

frosty tiger
#

so how will i save user card

#

with 3ds

#

without paymentIntent

quiet trellis
frosty tiger
#

i am using custom checkout page

quiet trellis
#

you can do that too (note it is lot more development work required, but it's possible). It's documented on the same page.

frosty tiger
#

yes but is not cleared as paymentIntent dont pass subscription id it can only use to charge customer immmediately and setup intent not save card without transaction

#

so how i use 3d authentication with stripe because my custome checkout page i am creating paymenMethod with customer card but not able to attach it with customer without 3ds

quiet trellis
#

I don't understand your English sorry.

In any case, you do not create your own PaymentIntent, you don't need to. You create a Subscription, and the Subscription creates an Invoice, and the Invoice has a PaymentIntent, and you use that PaymentIntent on the frontend payment page. It just works if you follow the guide.

frosty tiger
#

and subscription its saying paymentMethod is required

quiet trellis
frosty tiger
#

should i pass paymentMethodId with subscription as it required 3ds i cannot attach with customer

quiet trellis
#

no.

frosty tiger
#

also if i use defaultIncomplete then user has to again add card details on invoice Url

#

but he has already added in custom checkout page

#

so what should be right case flow

quiet trellis
#

you are building it wrong then

frosty tiger
#

can you please help me

quiet trellis
#

the correct way to build it is to follow the guide. You create a Subscription, and the Subscription creates an Invoice, and the Invoice has a PaymentIntent. You use that PaymentIntent on your 'custom checkout page'. That will charge the card and save it, all in one step.

#

please follow the guide, write some code, and only ask another question when you have some specific code to talk about. Thank you!

frosty tiger
#

the Invoice has a PaymentIntent. You use that PaymentIntent on your 'custom checkout page
without passing card details how will paymentIntent will be created

#

where should i pass my card details to create payment Method Id

quiet trellis
#

card details are not required to create the PaymentIntent.

quiet trellis
#

confirming the PaymentIntent pays the Invoice, activates the subscription and saves the PaymentMethod.

frosty tiger
#

in custom checkout page i am taking card details of user what should i do with that

quiet trellis
quiet trellis
frosty tiger
#

You use that PaymentIntent on your 'custom checkout page'.
where to use it

#

on checkout page

quiet trellis
#

I'm going to give you an hour timeout so you can go read the guide and try things out. You can follow the guide, write some code, and only ask another question when you have some specific code to talk about. Thank you!

frosty tiger
#

ok