#tyson

1 messages ยท Page 1 of 1 (latest)

cedar marshBOT
tropic bone
#

Hello

#

Not very familiar with bubble.io but happy to help troubleshoot

#

Can you show me how you are initializing Stripe?

alpine pawn
#

Sure

#

This is the error

tropic bone
#

Hmm try stripeAccount instead of Stripe-Account

#

In the header

alpine pawn
#

same error message again

tropic bone
#

Ah actually yeah I think you had it right the first time

#

Hmm not sure why that wouldn't work

worthy gorge
#

Hello! I'm taking over and catching up...

#

I think the issue here is that you used your connected account's secret key, not your platform's secret key. When making a Connect request with the Stripe-Account header you need to use your platform's secret key.

alpine pawn
#

I have done in an above location

#

Could there be another issue?

worthy gorge
#

Are you sure? The other thing it could be is that you're specifying your platform's account ID instead of your connected account's ID.

alpine pawn
#

umm ill try a different connect account

#

Didn't work unfortunately

sterile dome
#

Hello ๐Ÿ‘‹
Taking over as Rubeus had to step away
Give me a moment to catch up here

alpine pawn
#

Hi is there a way of doing the stripe-account header as a json body?

sterile dome
#

No I'm afraid that's not how it works unfortunately.
It has to be in the header.

alpine pawn
#

THis is the request id req_N8EJjX8AnbnzjL?t=1672952327

#

req_mEzm5kqC6j2FN5?t=1672952384

#

use this one acutally !

#

thanks for your help!

#

req_qnCxmtIbuJlgiT

#

I think that is the wrtie one

#

thats the URL

sterile dome
#

All good, yeah it looks like your Stripe-Account header isn't being set correctly here unfortunately.
Are you trying to create a subscription on the connected account OR the platform account?

alpine pawn
#

I am trying to subscribe the current user to the connect account and for my platform to take a percentage

#

As i understand it i need to make allow the direct charge using the stripe-account header

sterile dome
#

Yup. So yeah without the Stripe-Account header, it won't work.
I see in the screenshot that Optional checkbox beside the header is ticked

#

Can you try unchecking it?

#

Did that work? @alpine pawn

alpine pawn
#

dosen't work

#

unfortunitly

sterile dome
#

Yeah I'm out of ideas really. You may wanna check with Bubble.io forum to see if they know anything about this.

alpine pawn
#

ok thanks dude i appreciate the time, one question, how are you guys able to give this much support so quick!

sterile dome
#

NP! ๐Ÿ™‚ Happy to help

how are you guys able to give this much support so quick!
Our team is a pool of super talented engineers who are passionate about tech and helping folks ๐Ÿ˜„

alpine pawn
#

Love it keep doing what your doing !

sterile dome
#

Will do, thank you โ™ฅ๏ธ