#hamid - connect payment method

1 messages · Page 1 of 1 (latest)

prime ginkgo
#

can you share the failing request id?

#

req_123

ancient mango
#

sure

#

req_wgg9KQMvGMXZQN

pale orbit
#

it's actually just a quirk of the stripe-ruby library, it requires an instance of an object to format this specific type of API request(where the object ID has to end up in the URL and not in the POST body) which is why only the second one works. We plan to redesign this in future to new architectures that avoids this (see the comment at https://github.com/stripe/stripe-ruby/issues/945#issuecomment-881563985 )

ancient mango
#

okie

#

overall its a gem issue, right?

prime ginkgo
#

It's the request pattern that isn't exactly what you expect it to be is all

#

the second parameter needs to be an object that ends up looking like this:

Stripe::PaymentMethod.detach(
  'pm_234',
  {
    stripe_account: 'acct_123',
  }
)
#

What is your extra_stripe_params here?