#richard_20727

1 messages · Page 1 of 1 (latest)

craggy kelpBOT
timid shuttle
#

Hello, it sounds like you are specifying stripeAccount on one of your API calls but not the other

#

Can you double check your PaymentIntent creation call and your PaymentIntent update call? The update call should match what the create call does for stripeAccount

worn skiff
#

Heeey so the connected account in question is in production. But what i'm trying to do is retrieve the paymentIntent and update it's description. since it's a connected account I pass in the stripe_account parameter:

Stripe::PaymentIntent.retrieve("py_123", { stripe_account: "acct_123" })

this returns "no such payment intent"
which is making me think I need to do

Stripe::PaymentIntent.retrieve("py_123", { stripe_account: "acct_123", api_key: "connected accounts api key?" })
timid shuttle
#

Ah, so PaymentIntent IDs start with pi_, a py_ object is actually a Charge

#

So if you use Charge.retrieve you should have better luck