#kun_api
1 messages ยท Page 1 of 1 (latest)
๐ 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.
- kun_webhooks, 3 hours ago, 20 messages
- kun_setupintents-savedpms-defaultpm, 1 day ago, 65 messages
Hi there!
Can you share the ID (req_xxx) of the failing API request?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
this is the whole object
No I need just the API id that fails and returned this error message "The customer must complete an additional authentication step."
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
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?
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
I am a developer and I am testiung the app using my card
You should do your tests in test mode and not live mode.
You must avoid doing tests in live mode.
You can open the hosted invoice url in that case and complete 3ds by your own if you are the owner of the card
yes I am the owner of the card
but in the reponse of update I dont see hosted_url
I dont see hosted_url here
Check the latest invoice of that Subscription:
in_1PsheBFrwl37tCGiAOAFPpKO
I get this response from the subscription
what Exactly I should send to user on its email so he can do 3DS again?
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
and just send this hosted url to customer email right?
once he open this link he will be prompted for 3DS?
Yes.
This is the first option. Another option, is to host a webpage that calls this js function:
https://docs.stripe.com/js/payment_intents/handle_next_action
Which will handles the 3ds action. If you don't want to send stripe urls and rather prefer to use your own web domain.
The second option requires much more development
will the first option stable and works?
Please let me try it be right back dont close the chat
yes
I have a quick question
I get the hosted_invoice_url
do i need to send after update subscrption?
I mean send this hosted url to customer email
after updating the subscription
Why would you need to send it?
Yes, I read the conversation and I am not sure what do you mean by your last question. Could you elaborate please?
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
This is related to the Invoice not Subscription itself. You need to send the Invoice that requires the Customer to complete next steps.