diff --git a/templates/form/vmp_epayment.liquid b/templates/form/vmp_epayment.liquid new file mode 100644 index 0000000..0dd5e9a --- /dev/null +++ b/templates/form/vmp_epayment.liquid @@ -0,0 +1,12 @@ +
+
+
+ vmp-epayment +
+
+

{% t When you click the button below, the Vipps-MobilePay window will open %}

+

{% t When finished, you will be redirected back to your receipt. %}

+ {% t Proceed to payment %} +
+
+
diff --git a/templates/payment_methods_list.liquid b/templates/payment_methods_list.liquid index a87d988..5470247 100644 --- a/templates/payment_methods_list.liquid +++ b/templates/payment_methods_list.liquid @@ -2,6 +2,12 @@ {% if method.name == "apple-pay" %}
+ {% elsif method.name == "vmp-epayment" %} + {% if model.currency == "NOK" %} + VMP Vipps + {% else %} + VMP MobilePay + {% endif %} {% else %} {{ method.nice_name }} {% endif %}