#ilyeselb_unexpected
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/1223046467464200296
๐ 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.
- ilyeselb_unexpected, 1 day ago, 10 messages
- ilyeselb_unexpected, 2 days ago, 23 messages
- ilyeselb_error, 2 days ago, 6 messages
- ilyeselb_unexpected, 2 days ago, 53 messages
- ilyeselb_unexpected, 2 days ago, 54 messages
- ilyeselb_unexpected, 3 days ago, 27 messages
and 1 more
Hi ๐
Can you share the IDs of the two subscriptions?
Also how are your customers signing up for subscrpitions? What Stripe products are you using?
i have the customer id
yes stripe plan
https://docs.stripe.com/payments/accept-a-payment-deferred using this method
Okay. Can you share the Customer ID?
Okay I see two Subscriptions recently created in the following requests:
Both are for the same price and use the same payment method as well
if you see last week he bought two subscription
in 10 second
the same one
thats what i find sus
im wondering how because i didnt succeed to reproduce it
I shared with you two requests where the same subscription was purchased by the same customer in 6 seconds
Please review the linked API requests I shared
Both of these requests are coming from your NodeJS server during this step of the integration: https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=subscription#create-intent
okay so there is no problem from stripe side , its somthing on the flow or maybe he used two tabs in the same time
Correct. The requests are perfectly fine in themselves. It is just pretty likely that the user did not intend to do it.
Does your UI allow the user to double click the button? Or do you disable it while you make the request to Stripe's API?
we are using stripe form for react , but let me check maybe it can be that
Which "Stripe form" are you referring to?
ah thats during payment after filling the form with pm ,
but here the user ceated tw diffrent invoice in 6 second right ? so it must be somthing there
Yeah so your integration should have some sort of trigger that sends the request to your server to create the Subscrpition. If this is triggered by an action like a button click, you could disable the button until you receive the response from your server that the subscription was created.
so our flow is the differed one , so its collecting pm and then when we click on the form it create the subscritpion
same as here
maybe somthing with his card , 3ds or some sort of stuff that can cause that
Looking more at the customer, this user actually created 3 Subscriptions for the same Price object
yes but he canceled the first one
that he did it again after a while
only two were 6 second after each other
If you look at the last step in that integration here: https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=subscription#confirm-the-subscription
You will see it is in a response to the submit event for a form
I am saying you should disable the ability to submit the form until the API responds
okay
At least, that is how I recommend it. Then, when the API resonds, you can show the customer a message telling them they are subscribed