#johnpitchko
1 messages · Page 1 of 1 (latest)
Hello there
Good morning
Can you show me your code for how you are capturing here?
I'm using Solidus
I've traced it down to the gateway.capture
def capture(money, response_code, transaction_options)
debugger
gateway.capture(money, response_code, transaction_options)
end
Where gateway is an instance of ActiveMerchant::Billing::StripePaymentIntentsGateway
That is the Stripe library, correct?
No that's not the Stripe library
That looks to be a wrapper around our library
So looks like an issue with how the third party is accesssing our capture method (https://stripe.com/docs/api/payment_intents/capture)
Sure thing
FYI found the source: https://github.com/activemerchant/active_merchant/blob/4ac3f2e12854ad7ceba068c380bf34af25f66e53/lib/active_merchant/billing/gateways/stripe_payment_intents.rb#L164
Good to go know, have a pleasant day.
Ah yep so that wraps the call to "payment_intents/#{intent_id}/capture"