Sha256: 842e32875e26c87c3ecb1c9ac20100348022ea11ba950d6715a27deabf4958d8
Contents?: true
Size: 460 Bytes
Versions: 5
Compression:
Stored size: 460 Bytes
Contents
<!-- insert_before "erb[loud]:contains('place_order')" --> <% # Currently we assume we only have one braintree # payment method. In practice this should be true and it simplifies the code. braintree_payment = @order.unprocessed_payments.find {|p| p.payment_method.class == Solidus::Gateway::BraintreeGateway } if braintree_payment %> <%= render 'spree/checkout/payment/braintree_initialization', payment_method: braintree_payment.payment_method %> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems