Skip to content

Commit

Permalink
Merge/move Braintree checkout helpers in the correct place
Browse files Browse the repository at this point in the history
this should fix solidusio#251
  • Loading branch information
Flavio Auciello committed Feb 27, 2020
1 parent c27222d commit c067f54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 0 additions & 5 deletions app/helpers/braintree_checkout_helper.rb

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

module SolidusPaypalBraintree
module BraintreeCheckoutHelper

def braintree_3ds_options_for(order)
ship_address = order.ship_address
bill_address = order.bill_address
Expand Down Expand Up @@ -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

0 comments on commit c067f54

Please sign in to comment.