diff --git a/views/twig/extensions/themes/default/page/checkout/order.html.twig b/views/twig/extensions/themes/default/page/checkout/order.html.twig index f4e683e41..e98b9c875 100644 --- a/views/twig/extensions/themes/default/page/checkout/order.html.twig +++ b/views/twig/extensions/themes/default/page/checkout/order.html.twig @@ -54,3 +54,15 @@ {{ parent() }} {% endif %} {% endblock %} + +{% block checkout_order_next_step_side %} + {{ oxcmp_basket.getPaymentId() }} + {% if "oscpaypal_googlepay" == oxcmp_basket.getPaymentId() %} + {% include "@osc_paypal/frontend/page/checkout/googlepay.html.twig" %} + {% else %} + + {% endif %} +{% endblock %} diff --git a/views/twig/frontend/page/checkout/googlepay.html.twig b/views/twig/frontend/page/checkout/googlepay.html.twig new file mode 100644 index 000000000..5f2dabcef --- /dev/null +++ b/views/twig/frontend/page/checkout/googlepay.html.twig @@ -0,0 +1,284 @@ +{% block oscpaypal_googlepay %} +{% hasrights { ident: "PAYWITHGOOGLEPAY" } %} +{% set sToken = oViewConf.getSessionChallengeToken() %} +{% set sSelfLink = oViewConf.getSslSelfLink() %} +{% set oPPconfig = oViewConf.getPayPalCheckoutConfig() %} +{% set oConfig = oViewConf.getConfig() %} +{% set bGooglePayDelivery = oConfig.getConfigParam('oscPayPalUseGooglePayAddress') %} + +{% capture name = "detailsGooglePayScript" %} +{% if false %}