#billy_terminal-expiredkey

1 messages ¡ Page 1 of 1 (latest)

craggy kilnBOT
#

👋 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. Thank you for your patience!

⏱️ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.

🔗 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/1213252622262345871

📝 Have more to share? You can add more detail below, including code, screenshots, videos, etc.

ruby obsidianBOT
gray glacier
#

billy_terminal-expiredkey

#

@wintry mist hello! can you provie a bit more details around your overall integration and how you are integrating end to end? For example where does that pss_test_xxx key come from?

wintry mist
#

getting this from platform_api_key expired

gray glacier
#

sorry not sure what that could mean

wintry mist
#

i did this call stripe.terminal.Reader.TestHelpers.present_payment_method(
"tmr_Fd8YOwiRitZRA3",
stripe_account=stripe_account_id,
)

gray glacier
#

what is the stripe_account id you're passing?

wintry mist
#

from my connected account on stripe

#

does this provide more context?

gray glacier
#

not really, that's just a picture of te same error you shared

#

I need the account id your code is passing. Can you share that account id?

wintry mist
#

acct_1MHXYxRCHTs6KlFb here's the id

gray glacier
#

thanks looking

#

Okay so that account is an Express account. When using Express accounts you should use Destination Charges and have everything happen in the platform. Right now you are incorrectly using Direct Charges. I would highly recommend fixing this first

#

Looking at wht's causing the error though

#

@wintry mist okay so the problem is that Express account is connected in Live mode and not in Test mode and that specific API/flow doesn't work without a Test mode connection. Sadly it's impossible for you to create one.

So the only way is to create a different Express account just for testing in Test mode so that it works on that one.

And then changing your integration to move away from Direct Charges entirely (what I explained above)