#op84

1 messages · Page 1 of 1 (latest)

lofty sequoiaBOT
acoustic fox
timid oxide
#

yes but that's not the error?

acoustic fox
#

What do you mean? I'm asking to see the req_xxx ID of the API request so I can check our logs to understand the issue

timid oxide
#

it's not even creating a request.. it says Received unknown parameter: api_key

#

i just need to know is this the right format for a ruby request.. Stripe::PaymentMethod.detach(payment_method_123, {api_key: '123'})

acoustic fox
#

AFAICT, that is the right format. Checking

#

Maybe try:

Stripe::PaymentMethod.detach({id: 'payment_method_123'}, {api_key: '123'})
timid oxide
#

no implicit conversion of Hash into String

#

Stripe::PaymentMethod.detach('123', {}, {api_key:'123'}) looks like its working

lofty sequoiaBOT