#codelogix

1 messages · Page 1 of 1 (latest)

hard wrenBOT
hybrid loom
#

Do you have examples of this? Is it possible you'r trying to use client secrets for PI that belong to a different account?

#

(different than the account the PK you use belongs to)

silk flicker
hybrid loom
#

And what payment intent does that client secret belong to?

#

Are you working with payment intents on connected accounts (direct charge flow)?

silk flicker
#

on connected accounts

#

trying to find the payment intent

hard wrenBOT
silk flicker
#

I'm pretty sure this is one -> pi_3MlzylL91mzKIzpG1rFvujHQ

hybrid loom
#

You need to also provide that connected account id when intializing Elements

silk flicker
#

pi_3MeNHWL91mzKIzpG1cH4WHxj

#

but it shouldn't be a direct charge..we're using the on_behalf_of param for the connected account

quick token
#

Correct, you shouldn't use stripeAccount in stripe.js in that case

#

Still catching up here a bit. That last PI has a lot of errors from being confirmed after it was already successful but I don't think I see the elements error on it

#

Also I assume you get this elements error every time you try to initialize elements for this page?

hybrid loom
#

Ah my mistake -- I misread the PI info

silk flicker
#

no worries. it's strange in that it seems isolated to a specific instance, as I was able to make a successful payment intent on another instance, so might be on our end. Thanks for the helpful feedback! I'll follow up if I run into something else.