Skip to content

Commit

Permalink
Wrap address in SolidusBraintree::Address
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmendoza committed Feb 20, 2023
1 parent 5395ebc commit 7ea093b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/spree/shared/_apple_pay_button.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% address = current_order.ship_address %>
<% address = SolidusBraintree::Address.new(current_order.ship_address) %>

<button id="apple-pay-button" class="apple-pay-button"></button>

Expand Down

0 comments on commit 7ea093b

Please sign in to comment.