#kun_api

1 messages ยท Page 1 of 1 (latest)

sly pebbleBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1278278432295354389

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

visual oriole
frail barn
visual oriole
#

No I need just the API id that fails and returned this error message "The customer must complete an additional authentication step."

frail barn
#

I saw it on stripe dashboard

visual oriole
#

Ok let me check...

#

I see, yes the customer need to compete the 3ds action in order to accept a payment

#

you need to invite your customer to complete that update

frail barn
#

for that I need client secret

#

well I already did 3ds first time for subscription for price id1
now I just want to updated the price id2 for same active subscription

#

how can I update active old subscription?

visual oriole
#

well I already did 3ds first time for subscription for price id1
The customer need to complete the 3ds not you (the merchant)

#

how can I update active old subscription?
You are updating the Subscription already. You need just to call your customer and ask them to complete the 3ds action

#

You can send them a hosted invoice url via email for example

frail barn
visual oriole
#

You should do your tests in test mode and not live mode.

#

You must avoid doing tests in live mode.

visual oriole
frail barn
#

yes I am the owner of the card

visual oriole
#

Otherwise, in test mode you should be using one of these test card

frail barn
#

but in the reponse of update I dont see hosted_url

frail barn
visual oriole
#

Check the latest invoice of that Subscription:
in_1PsheBFrwl37tCGiAOAFPpKO

frail barn
visual oriole
#

I get this response from the subscription
You have the invoice id in this response

#

you need to make an API call by Id in order to fetch the Invoice Object and get the hosted url

frail barn
#

and just send this hosted url to customer email right?

#

once he open this link he will be prompted for 3DS?

visual oriole
#

Yes.

frail barn
#

So there is no confirmCardSetup on frontend again

#

let me try it be right back

visual oriole
#

The second option requires much more development

frail barn
#

will the first option stable and works?

#

Please let me try it be right back dont close the chat

visual oriole
frail barn
#

I have a quick question

#

I get the hosted_invoice_url

#

do i need to send after update subscrption?

sly pebbleBOT
frail barn
#

I mean send this hosted url to customer email
after updating the subscription

hollow matrix
#

Why would you need to send it?

frail barn
#

did you read the previous conversation?

#

??

#

you there

hollow matrix
#

Yes, I read the conversation and I am not sure what do you mean by your last question. Could you elaborate please?

frail barn
#

Ok what I am trying to do is

I am updating old active subcription with new product price_id

when I check stripe dashbopard the status was 3DS required

#

then one of your developer said you need hosted_invoice_url to be send to customer email so he can approve its inovice and hence the subcription will update and active with new price_id

hollow matrix
#

This is related to the Invoice not Subscription itself. You need to send the Invoice that requires the Customer to complete next steps.