#bumbzor

1 messages · Page 1 of 1 (latest)

remote quartzBOT
#

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

low mango
#

Hi there!

onyx comet
#

hey

low mango
#

Can you share a concrete example of the issue?

onyx comet
#

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.

low mango
onyx comet
#

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
low mango
#

and the setup intent part is missing on Site B
Can you clarify what exactly is missing?

onyx comet
#

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

low mango
#

You mean this A new SetupIntent seti_1053j has succeeded?

onyx comet
#

Yes.

#
A new SetupIntent seti_1053j has succeeded
x@x.com subscribed to professional-pass_100_year
low mango
#

Can you share the full ID of the SetupIntent?

onyx comet
#

for site b?

#

I only have it for site A

#

where it worked fine.

low mango
#

Yes can you share it for A?

onyx comet
#

seti_1O53jWHeKI7xu5z9dw1Nnroe

low mango
#

That's ID doesn't exist. You may have copy-pasted it wrong?

onyx comet
#

let me check.

#

thats site A that wors fine

low mango
#

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?

onyx comet
#

yes it's the same exact code

#

this is site B

#

its the exact code that everyone runs (eCommerce integration)

low mango
#

Can you share the SetupIntent ID? With just screenshots I can't really help.

onyx comet
#

this is the one as in the screenshot seti_1O53jWHeKI7xu5z9dw1Nnroe

low mango
#

That ID doesn't exist. I think that's the correct one: seti_1O53jWHeKl7xu5z9dw1Nnroe

onyx comet
#

after the K you think it's an l ?

#

to me it looks like a capital i

low mango
#

But I'm not sure why...

onyx comet
#

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.

remote quartzBOT
graceful hedge
#

👋 taking over for my colleague. Let me catch up.

onyx comet
#

sure thing!

graceful hedge
#

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

onyx comet
#

from what I know this is how our code integration works and it' Stripe approved.

#

can you check one thing on your end

graceful hedge
onyx comet
graceful hedge
#

@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

onyx comet
#

got it

#

so you're saying we shouldnt have the Payment Intent and then the Setup Intent flow ?

graceful hedge
#

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

onyx comet
#

ok

graceful hedge
onyx comet
#

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

graceful hedge
onyx comet
#

I am wondering if because of that failed attempt our code somehow stops processing.

graceful hedge
onyx comet
#

Yeah I know but I am not sure which specific card could do this exact flow

graceful hedge
#

Use test cards to validate your Stripe integration without moving real money. Test a variety of international scenarios, including successful and declined payments, card errors, disputes, and bank authentication. You can also test non-card payment methods and redirects.

#

this could be one that fits your needs

onyx comet
#

ok will try that one thank you!