diff --git a/app/models/spree/gateway/stripe_connect.rb b/app/models/spree/gateway/stripe_connect.rb index 3484dc3e4f..493b9bd74e 100644 --- a/app/models/spree/gateway/stripe_connect.rb +++ b/app/models/spree/gateway/stripe_connect.rb @@ -31,6 +31,10 @@ module Spree failed_activemerchant_billing_response(e.message) end + def charge_offline(money, creditcard, gateway_options) + purchase(money, creditcard, gateway_options) + end + # NOTE: the name of this method is determined by Spree::Payment::Processing def void(response_code, _creditcard, gateway_options) gateway_options[:stripe_account] = stripe_account_id