diff --git a/app/views/split_checkout/_payment.html.haml b/app/views/split_checkout/_payment.html.haml index 45333c5c9f..32c0478671 100644 --- a/app/views/split_checkout/_payment.html.haml +++ b/app/views/split_checkout/_payment.html.haml @@ -22,11 +22,12 @@ .paymentmethod-description.panel #{payment_method.description} .paymentmethod-form - - if payment_method.method_type == "gateway" || payment_method.method_type == "stripe" - = render partial: "split_checkout/payment/#{payment_method.method_type}", locals: { payment_method: payment_method, f: f } - - else - = render partial: "spree/checkout/payment/#{payment_method.method_type}", :locals => { payment_method: payment_method } - + - if payment_method.method_type == "stripe_sca" + - method = "stripe" + -else + - method = payment_method.method_type + = render partial: "split_checkout/payment/#{method}", locals: { payment_method: payment_method, f: f } + %div.checkout-substep = t("split_checkout.step2.explaination") diff --git a/app/views/split_checkout/payment/_check.html.erb b/app/views/split_checkout/payment/_check.html.erb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/app/views/split_checkout/payment/_paypal.html.haml b/app/views/split_checkout/payment/_paypal.html.haml new file mode 100644 index 0000000000..1cc8aa25a7 --- /dev/null +++ b/app/views/split_checkout/payment/_paypal.html.haml @@ -0,0 +1 @@ +-# This file intentionally overrides the view in the spree_paypal_express gem