+
+
+
+
+
+
+ {% if gatewayClass == 'craft\\commerce\\stripe\\gateways\\PaymentIntents' %}
+ {% set params = {
+ order: cart,
+ paymentFormType: 'elements',
+ appearance: {
+ theme: 'stripe',
+ labels: 'floating',
+ variables: {
+ colorPrimary: 'var(--brandColor)'
+ }
+ },
+ submitButtonText: buttonText,
+ submitButtonClasses: 'mt-8 justify-between items-center gap-4 w-full px-4 py-3 font-medium text-white text-center bg-[var(--brandColor)] border border-[var(--brandColor)] rounded-xl lg:inline-block'
+ } %}
+ {% endif %}
+
+
+ {% namespace gateway.handle|commercePaymentFormNamespace %}
+ {{ gateway.getPaymentFormHtml(params)|raw }}
+ {% endnamespace %}
+
+ {% if gatewayClass == 'craft\\commerce\\gateways\\Manual' %}
+
+ {% endif %}
+
+
+
-