app/models/spree/gateway/stripe_gateway.rb in spree_gateway-3.8.0 vs app/models/spree/gateway/stripe_gateway.rb in spree_gateway-3.9.0
- old
+ new
@@ -52,9 +52,10 @@
provider.void(response_code, {})
end
def create_profile(payment)
return unless payment.source.gateway_customer_profile_id.nil?
+
options = {
email: payment.order.email,
login: preferred_secret_key,
}.merge! address_for(payment)