diff --git a/app/helpers/braintree_checkout_helper.rb b/app/helpers/braintree_checkout_helper.rb deleted file mode 100644 index d481dc58..00000000 --- a/app/helpers/braintree_checkout_helper.rb +++ /dev/null @@ -1,5 +0,0 @@ -module BraintreeCheckoutHelper - def paypal_button_preference(key, store:) - store.braintree_configuration.preferences[key] - end -end diff --git a/app/helpers/solidus_paypal_braintree/braintree_checkout_helper.rb b/app/helpers/solidus_paypal_braintree/braintree_checkout_helper.rb index 52dd21ab..be3b4713 100644 --- a/app/helpers/solidus_paypal_braintree/braintree_checkout_helper.rb +++ b/app/helpers/solidus_paypal_braintree/braintree_checkout_helper.rb @@ -2,7 +2,6 @@ module SolidusPaypalBraintree module BraintreeCheckoutHelper - def braintree_3ds_options_for(order) ship_address = order.ship_address bill_address = order.bill_address @@ -40,5 +39,8 @@ def braintree_3ds_options_for(order) } end + def paypal_button_preference(key, store:) + store.braintree_configuration.preferences[key] + end end end