From d293f7187a556b4519a5343a48e22fc934ce7e01 Mon Sep 17 00:00:00 2001 From: raoulritter <59527829+raoulritter@users.noreply.github.com> Date: Fri, 31 May 2024 11:43:44 +0200 Subject: [PATCH 1/2] [ECP-9204] - Add support for UPI Payment Method India. --- etc/config.xml | 22 +++++++++++++++ etc/di.xml | 27 +++++++++++++++++++ etc/events.xml | 3 +++ etc/frontend/di.xml | 1 + etc/graphql/di.xml | 1 + etc/payment.xml | 3 +++ view/frontend/layout/checkout_index_index.xml | 3 +++ .../layout/multishipping_checkout_billing.xml | 1 + 8 files changed, 61 insertions(+) diff --git a/etc/config.xml b/etc/config.xml index 7b85bfe30..0c53c30a9 100755 --- a/etc/config.xml +++ b/etc/config.xml @@ -2115,6 +2115,28 @@ 0 adyen-alternative-payment-method + + 0 + AdyenPaymentUpiFacade + UPI Payment Method India + 0 + 0 + authorize + 1 + 1 + 1 + 0 + 0 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 0 + adyen-alternative-payment-method + \ No newline at end of file diff --git a/etc/di.xml b/etc/di.xml index 39c70bddf..f0a7a46f9 100755 --- a/etc/di.xml +++ b/etc/di.xml @@ -4101,4 +4101,31 @@ adyen_paypo + + + adyen_upi + Magento\Payment\Block\Form + Adyen\Payment\Block\Info\PaymentMethodInfo + AdyenPaymentUpiValueHandlerPool + AdyenPaymentValidatorPool + AdyenPaymentCommandPool + + + + + + AdyenPaymentUpiConfigValueHandler + + + + + + AdyenPaymentUpiConfig + + + + + adyen_upi + + \ No newline at end of file diff --git a/etc/events.xml b/etc/events.xml index 790760e19..1a0d3874d 100644 --- a/etc/events.xml +++ b/etc/events.xml @@ -290,4 +290,7 @@ + + + \ No newline at end of file diff --git a/etc/frontend/di.xml b/etc/frontend/di.xml index c59b518b4..88cfba95e 100755 --- a/etc/frontend/di.xml +++ b/etc/frontend/di.xml @@ -107,6 +107,7 @@ bizum ach paypo + upi Adyen_Payment/js/view/payment/method-renderer/adyen-cc-method diff --git a/etc/graphql/di.xml b/etc/graphql/di.xml index 63503ef0c..0b3922a2c 100644 --- a/etc/graphql/di.xml +++ b/etc/graphql/di.xml @@ -88,6 +88,7 @@ Adyen\Payment\Model\Cart\Payment\AdditionalDataProvider\AdyenPm Adyen\Payment\Model\Cart\Payment\AdditionalDataProvider\AdyenPm Adyen\Payment\Model\Cart\Payment\AdditionalDataProvider\AdyenPm + Adyen\Payment\Model\Cart\Payment\AdditionalDataProvider\AdyenPm diff --git a/etc/payment.xml b/etc/payment.xml index 3e37e2ec7..b7c2a2e29 100755 --- a/etc/payment.xml +++ b/etc/payment.xml @@ -251,5 +251,8 @@ 1 + + 1 + \ No newline at end of file diff --git a/view/frontend/layout/checkout_index_index.xml b/view/frontend/layout/checkout_index_index.xml index 898d26234..3d9cc5c90 100755 --- a/view/frontend/layout/checkout_index_index.xml +++ b/view/frontend/layout/checkout_index_index.xml @@ -305,6 +305,9 @@ true + + true + diff --git a/view/frontend/layout/multishipping_checkout_billing.xml b/view/frontend/layout/multishipping_checkout_billing.xml index f21c28b67..ae5608a5b 100644 --- a/view/frontend/layout/multishipping_checkout_billing.xml +++ b/view/frontend/layout/multishipping_checkout_billing.xml @@ -97,6 +97,7 @@ Adyen_Payment::form/multishipping/abstract-form.phtml Adyen_Payment::form/multishipping/abstract-form.phtml Adyen_Payment::form/multishipping/abstract-form.phtml + Adyen_Payment::form/multishipping/abstract-form.phtml false From f584eb0593b62bd47f159e73317a630a0d17d2d7 Mon Sep 17 00:00:00 2001 From: raoulritter <59527829+raoulritter@users.noreply.github.com> Date: Fri, 31 May 2024 11:47:28 +0200 Subject: [PATCH 2/2] Update to include logo --- view/base/web/images/logos/upi.svg | 1 + 1 file changed, 1 insertion(+) create mode 100644 view/base/web/images/logos/upi.svg diff --git a/view/base/web/images/logos/upi.svg b/view/base/web/images/logos/upi.svg new file mode 100644 index 000000000..4de79041b --- /dev/null +++ b/view/base/web/images/logos/upi.svg @@ -0,0 +1 @@ + \ No newline at end of file