#b33fb0n3_unexpected

1 messages ยท Page 1 of 1 (latest)

open copperBOT
#

๐Ÿ‘‹ 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/1229694403027664917

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

stray ruinBOT
#

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.

south sky
#

When I am inside my stripe dashboard in the worksheet: https://dashboard.stripe.com/payments/pi_3Osj8PD4LgnRPd5t114tPRF2#wb-N4Igdghgbglg5hALjA9mEAuUEDGyoCmAKhAEaYgDOAFgQDZ0gA0IiZAEjJYigE4CemANogYYSgAcCePiAC6LXigCuiAp259BGIXIC+LSjABeYuJjDKGLWvGqIKAdgAMUasxCwjpGHRiJ+AFkUABMCCi8YUjpwvSA

I fetch the paymentintent. I see the charges. When I print the "SDK Request" and execute it, I get won't get the charges

tropic fable
#

Hi there, can you tell me what you expect and what you obtained? Also what you mean by print the "SDK Request" ?

south sky
#

When you click on "Print SDK Request" you get the actual code, that needs to be executed to retrieve the same result:

#

Expected: Also get the charges list:

#

Got: only the paymentintent without the charges list

tropic fable
#

Got it, that's probably caused by the different Stripe API version being used there.

south sky
#

oh ok. How can I change this?

tropic fable
south sky
#

๐Ÿ‘€

#

really?

tropic fable
#

You can create an API request with an older Stripe API version.

south sky
#

hm ok, can I somehow get the firstname and lastname from the customer with only the information via this paymentintent?

tropic fable
#

Sure, you can expand the customer property when retrieving a paymentIntent

south sky
#

ah that's pretty easy. I will do that ๐Ÿ‘
Can I ask another question regarding this topic?

tropic fable
#

Of course

south sky
#

When my app shows the "correct" data (because it was (past) removed), why my worksheet in stripe dashboard (which is new) isn't in the correct stripe version?

tropic fable
#

What do you mean by "correct data" and "correct stripe version" ?

south sky
#

I don't mean this

#

I mean this:

tropic fable
#

That's Stripe Shell. Sorry I still don't understand your question.

south sky
#

The version without the charges is the newer version, correct?

tropic fable
#

You mean Stripe API version? Yes.

south sky
#

yes, stripe api version. Ok, so without the charges is the newer version. So this worksheet inside my dashboard uses a outdated version, because it shows the charges, correct?

tropic fable
#

The Stripe Shell is using your account's default API version, which is
2022-08-01

south sky
#

oh ok. How to upgrade this stripe shell? Can it be done without breaking current workflows?

tropic fable
#

You mean specify a higher Stripe API version? you can specify the API version in header

south sky
#

I mean inside this stripe shell, yes

open copperBOT
vague iron
#

๐Ÿ‘‹ taking over for my colleague. Let me catch up.

south sky
#

sure ๐Ÿ™‚

vague iron
#

you just need to add --stripe-version=<API-version>

#

to the shell command

south sky
#

thanks, done that. But I still get the charges list ๐Ÿค”

vague iron
#

would you mind sharing the request ID?

south sky
vague iron
#

do you mean on the dashboard or in the shell?

south sky
#

I mean inside the stripe workbench ๐Ÿ˜…

vague iron
#

that's why I asked for the request ID

#

no worries, I'll find it

south sky
#

I don't know where to find a request id for retrieves. For others I know where to find it..

vague iron
#

you have to select GET from the methods

#

on the request filters

#

it's unchecked by default

south sky
#

ah that makes sense. The request you linked uses an even newer version ๐Ÿค”

#

So the charges list shouldn't be in there, right?

vague iron
#

yes

#

isn't that the api-version you used?

#

can you share a screenshot of the shell command you ran?

#

and the result

south sky
#

I used this one:

vague iron
#

this is the request in question

#

would you mind sharing the results you received?

#

we don't store the results of GET requests

south sky
#

yea sure. It's the same result

vague iron
#

can you try something for me?

south sky
#

yes sure, but last time I trusted you my trust was broken...

vague iron
#

why is that?

#

I don't remember misguiding you

south sky
#

can you tell me what you want me to do and I think about it?

vague iron
#

I just want to check whether this is a problem from the workbench itself or from the stripe cli

#

that's why I want you to install the Stripe-CLI on your machine

#

and try the same command and see if you get the same results or different

south sky
#

how to add the livemode secret key there?

south sky
#

I made the request and there is no charges list

vague iron
#

you got the correct response with latest_charge right?

south sky
#

yes, with latest_charge

vague iron
#

ok so this seems like a bug in the Workbench Shell

#

I will report it

#

anything else I could help you with?

south sky
#

No, nothing else from my side. Do you need anything else from me?

vague iron
#

I'm just curious why you think I've broken your trust

south sky
vague iron
#

we take turn helping people on this channel, so basically if I'm not there someone else would take the lead and help you out

#

and sometimes we deem that the help needed is larger than what we could handle synchronously on discord based on the volume we have.

south sky
#

of course and that's completely fine. My point is this:

vague iron
#

redirecting you to support doesn't mean letting you down

south sky
#

that's also completely fine and I understand this

vague iron
#

I'm not sure I understand the beef here

south sky
#

I guess there is no beef. The point is just, that I trusted you (via the two messages I linked) and that what you promised never happend. So: trust broken. No beef. Just broken trust

vague iron
#

I'm not sure where did I let you down, would you mind being explicit?

#

the fact that I'm no longer on discord and didn't keep your thread shouldn't be an issue or a reason to break the trust between our users and the admins of this server

#

a very competent colleague took over the thread, and the discussion should continue from where it was left

#

but I think this is in the past, I'm happy you're back, and I'm happy I was able to help you out here.

#

If you're still stuck on the webhook part of your integration, I'm happy to pick up the conversation from where we left it last time

south sky
#

Yea, everyone have weak points and also strong points. For me it's important to only promise stuff that I can hold ๐Ÿ‘