From 7ea093bc975b483be6c062b7ca3184ad702d0447 Mon Sep 17 00:00:00 2001 From: George Mendoza Date: Mon, 20 Feb 2023 13:53:50 +0800 Subject: [PATCH] Wrap address in SolidusBraintree::Address --- app/views/spree/shared/_apple_pay_button.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/spree/shared/_apple_pay_button.html.erb b/app/views/spree/shared/_apple_pay_button.html.erb index a46d8243..6220838e 100644 --- a/app/views/spree/shared/_apple_pay_button.html.erb +++ b/app/views/spree/shared/_apple_pay_button.html.erb @@ -1,4 +1,4 @@ -<% address = current_order.ship_address %> +<% address = SolidusBraintree::Address.new(current_order.ship_address) %>