#bumbzor
1 messages · Page 1 of 1 (latest)
Hello bumbzor, we'll be with you shortly! 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.
• bumbzor-webhook-apiversion, 11 hours ago, 19 messages
Hi there!
hey
Can you share a concrete example of the issue?
can I send you a private message with a screenshot ? it has some PII
I would like to send you the screenshot to see the log entries
as a private message if possible
we suspect it might be something related to the API version on the account but we would like to confirm.
If you want a private conversation, you should talk to Stripe support directly: https://support.stripe.com/contact
Here on Discord we only do support in public.
I only wanted to send you the screenshit in private. we can talk about it here
I wil try and type it here . gimme one sec
Ok here it is .
First entry is a flow for a purchase on Site A where it works just fine. The second one is on Site B but notice the events are missing in Site B and the setup intent part is missing on Site B. Events below:
SITE A FLOW:
x@x.com is a new customer
A new payment pi_123456 for $100 USD was created
The payment pi_123456 for $100 USD requires you to take action in order to complete the payment
x@x.com was charged $100 USD
The payment pi_123456 for $100 has succeeded
A card payment method ending in 1234 was attached to customer cus_Ospn
A new SetupIntent seti_1053j has succeeded
x@x.com subscribed to professional-pass_100_year
SITE B FLOW
y@y.com is a new customer
A new payment pi_3O52Ma for 39.20 EUR was created
The payment pi_3O52Ma for 39.20 EUR requires you to take action in order to complete
y@y.com was charged 39.20 EUR
The payment pi_3O52Ma for 39.20 has succeeded
A card payment method ending in 1234 was attached to customer cus_Osny
and the setup intent part is missing on Site B
Can you clarify what exactly is missing?
the only thing we could find is that Site B has the API version set to 2023-10-16 in Stripe. while in our API code we send 2020-03-02
You mean this A new SetupIntent seti_1053j has succeeded?
Yes.
A new SetupIntent seti_1053j has succeeded
x@x.com subscribed to professional-pass_100_year
Can you share the full ID of the SetupIntent?
Yes can you share it for A?
seti_1O53jWHeKI7xu5z9dw1Nnroe
That's ID doesn't exist. You may have copy-pasted it wrong?
If you see this:
A new SetupIntent seti_1053j has succeeded
It means your code is creating a SetupIntent for site A. Is your code also creating a SetupIntent for site B?
yes it's the same exact code
this is site B
its the exact code that everyone runs (eCommerce integration)
Can you share the SetupIntent ID? With just screenshots I can't really help.
this is the one as in the screenshot seti_1O53jWHeKI7xu5z9dw1Nnroe
That ID doesn't exist. I think that's the correct one: seti_1O53jWHeKl7xu5z9dw1Nnroe
This SetupIntent was created when your code created a Subscription here: https://dashboard.stripe.com/logs/req_H0x120EUULQWvA
But I'm not sure why...
so Site A is working as it should. the problem was with Site B. That is the customer that seems to be missing the entire Subscription part
the only difference is that the Site B API version is newer than what we send in our api calls.
and from my understanding our code listens for the Webhook event from stripe and then it cretes the subscriptions part.
so what we figured is that the Webhook from site b is "different" than from site A becuase of the API version and that fails to initiate the subscription creation process.
👋 taking over for my colleague. Let me catch up.
sure thing!
let's take a step back
I really think your integration path isn't optimized at all
A new payment pi_123456 for $100 USD was created
The payment pi_123456 for $100 USD requires you to take action in order to complete the payment
x@x.com was charged $100 USD
The payment pi_123456 for $100 has succeeded
A card payment method ending in 1234 was attached to customer cus_Ospn
A new SetupIntent seti_1053j has succeeded
x@x.com subscribed to professional-pass_100_year```
this flow is wrong
you shouldn't be doing PI + SI and then creating the subscription
from what I know this is how our code integration works and it' Stripe approved.
can you check one thing on your end
Stripe approved? what do you mean?
https://dashboard.stripe.com/customers/cus_OsnyOJNKU8DqDn for that customer. which is one that is affected. was there a Webhook sent to the "we_1LXRHoBEIvddyjrEbQNCKj4t" endpoint?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
@onyx comet please let's take a second here, before jumping the gun. Consider this as an opportunity to review the existing workflow and improving it for both your sites
got it
so you're saying we shouldnt have the Payment Intent and then the Setup Intent flow ?
not at all
if you have a PI you can just add setup_future_usage param which is the same as doing SI
and in all cases, since your end goal is to create a subscription
you shouldn't be using PIs in the first place
you should create the subscription and use it's latest_invoice.payment_intent.client_secret on the front end to capture the payment method
ok
this is explained here https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements
ok thaks. will check tha
thanks for the assist here!
can I have one last request if I mayt
I am looking through all these customers with the issue, and I wanted to ask if there is a specific test card that can follow the same flow that these users had
I am looking in the dashboard at pi_3O4roEBEIvddyjrE0I8IVNU3
It seems at 23:06 there was a failed transaction because of 3DS
yes sure
I am wondering if because of that failed attempt our code somehow stops processing.
Yeah I know but I am not sure which specific card could do this exact flow
this could be one that fits your needs
ok will try that one thank you!