From c9ef8afca62732c104d3b5e82db4fe0b4113e843 Mon Sep 17 00:00:00 2001 From: Alberto Vena Date: Fri, 13 Mar 2020 11:17:46 +0100 Subject: [PATCH] Change order description that we pass to stripe --- app/models/spree/payment_method/stripe_credit_card.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/spree/payment_method/stripe_credit_card.rb b/app/models/spree/payment_method/stripe_credit_card.rb index 04abdfcd..e584bc57 100644 --- a/app/models/spree/payment_method/stripe_credit_card.rb +++ b/app/models/spree/payment_method/stripe_credit_card.rb @@ -140,7 +140,7 @@ def options def options_for_purchase_or_auth(money, creditcard, transaction_options) options = {} - options[:description] = "Spree Order ID: #{transaction_options[:order_id]}" + options[:description] = "Solidus Order ID: #{transaction_options[:order_id]}" options[:currency] = transaction_options[:currency] if customer = creditcard.gateway_customer_profile_id