Skip to content

Adyen Payment plugin for Magento2

License

Notifications You must be signed in to change notification settings

genecommerce/adyen-magento2

 
 

Repository files navigation

Adyen Payment plugin for Magento2

Use Adyen's plugin for Magento 2 to offer frictionless payments online, in-app, and in-store.

Integration

The plugin integrates card component(Secured Fields) using Adyen Checkout for all card payments. Local/redirect payment methods are integrated with DirectoryLookup and HPP. For Point Of Sale (POS) payments we use Terminal API using Cloud-based communication. Boleto and SEPA are a direct API integration into Adyen.

Support Vault and Instant Purchase

Inside Adyen toggle the following settings on inside the API and Responses section (settings -> API and Responses)

  • Recurring details
  • Card summary
  • Expiry date
  • Variant

Requirements

This plugin supports Magento2 version

  • 2.2.9 and higher
  • 2.3.1 and higher

Contributing

We strongly encourage you to join us in contributing to this repository so everyone can benefit from:

  • New features and functionality
  • Resolved bug fixes and issues
  • Any general improvements

Read our contribution guidelines to find out how.

Installation

You can install our plugin through Composer:

composer require adyen/module-payment
bin/magento module:enable Adyen_Payment
bin/magento setup:upgrade

For more information see our installation section

Documentation

Magento 2 documentation

Setup Cron

Make sure that your Magento cron is running every minute. We are using a cronjob to process the notifications (our webhook service) and to update Adyen servers' IP addresses. The cronjobs will be executed every minute.

<group id="adyen_payment">
    <job name="adyen_payment_process_notification" instance="Adyen\Payment\Model\Cron" method="processNotification">
        <schedule>*/1 * * * *</schedule>
    </job>
    <job name="adyen_payment_server_address_caching" instance="Adyen\Payment\Cron\ServerIpAddress" method="execute">
        <schedule>*/1 * * * *</schedule>
    </job>
</group>

The notification processing service queries the records that have been received at least 2 minutes ago. This is to ensure that Magento has created the order, and all save after events are executed. A handy tool to get insight into your cronjobs is AOE scheduler. You can download this tool through Magento Connect or GitHub.

If you need to setup your cronjob in Magento this is described here

Support

If you have a feature request, or spotted a bug or a technical problem, create a GitHub issue. For other questions, contact our support team.

API Library

This module is using the Adyen APIs Library for PHP for all (API) connections to Adyen. This library can be found here

License

MIT license. For more information, see the LICENSE file.

About

Adyen Payment plugin for Magento2

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 71.7%
  • JavaScript 10.9%
  • HTML 10.2%
  • CSS 7.2%