magento2adyen

Adyen-Scalapay integration in Magento2


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.


Solution

  • You 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.

    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.