admin管理员组文章数量:1391977
I am using magento2 and in my checkout Adyen payment is using.I want to integrate Scalapy in Adyen-Dropin. How can I do it ? What are the changes I have to make to achieve this. Adyen already provides the integration of ScalaPay in its Dropin but it is necessary to extend the Adyen-Magento connector for it to work correctly. How can I integrate scalapy in Adyen Dropin in magento2?
I Want to get an idea to integrate scalapay in Adyen Dropin. Scalapay is selected as a payment method from Adyen customer area. But its not showing in magento2 checkout.
I am using magento2 and in my checkout Adyen payment is using.I want to integrate Scalapy in Adyen-Dropin. How can I do it ? What are the changes I have to make to achieve this. Adyen already provides the integration of ScalaPay in its Dropin but it is necessary to extend the Adyen-Magento connector for it to work correctly. How can I integrate scalapy in Adyen Dropin in magento2?
I Want to get an idea to integrate scalapay in Adyen Dropin. Scalapay is selected as a payment method from Adyen customer area. But its not showing in magento2 checkout.
Share Improve this question asked Mar 13 at 11:08 SreepriyaSreepriya 132 bronze badges1 Answer
Reset to default 1You need to update a couple of files to define the payment method facade in the payment plugin.
There is a naming convention between Adyen and Magento payment methods. A Magento payment method for Adyen plugin should start with adyen_
and followed by the payment method type name scalapay_3x
.
- etc/di.xml: Virtual types for the payment method model needs to added here
- etc/frontend/di.xml: Payment method type name needs to be added to this list (adyen_scalapay_3x => scalapay_3x)
- etc/config.xml: Payment method default configuration block needs to be defined here. You can check this document to find the correct configuration values
- etc/events.xml: Event for payment data assign observer can be defined here.
- etc/graphql/di.xml: GraphQL data provider needs be added for
adyen_scalapay_3x
asAdyen\Payment\Model\Cart\Payment\AdditionalDataProvider\AdyenPm
- etc/payment.xml: Let multipshipping use this payment method
- view/frontend/layout/checkout_index_index.xml: Extend the block to allow billing address selection for
adyen_scalapay_3x
. - view/frontend/multishipping_checkout_billing.xml: Define form template for multipshipping payments
- Download the payment method logo from Adyen Checkout CDN and place it under
view/base/web/images/logos
directory asscalapay_3x.svg
After implementing those changes run the following commands.
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento adyen:enablepaymentmethods:run
bin/magento cache:clean
You can also check pull-request #2918 on the open-source Adyen Magento 2 plugin repository and find generic implementation document here if required.
本文标签: AdyenScalapay integration in Magento2Stack Overflow
版权声明:本文标题:Adyen-Scalapay integration in Magento2 - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744705243a2620803.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论