Manuals Payment providers Adyen How to connect Adyen to WordPress with Pronamic Pay

How to connect Adyen to WordPress with Pronamic Pay

The payment provider Adyen can be used in the Pronamic Pay plugin to receive payments via WordPress with an Adyen account.

NB: In order to download the Adyen addon a Pro license for Pronamic Pay is required. From your account on pronamic.eu you can upgrade if you already have a Basic license for Pronamic Pay.

Set up Adyen configuration

Time required: 15 minutes.

Step by step guide to link Adyen with the Pronamic Pay plugin.

  1. Install and activate Pronamic Pay and the Adyen add-on

    After installation you can create an Adyen configuration.

  2. Create an Adyen configuration

    Create a new configuration within the WordPress dashboard via Payment » Configurations. Give your configuration a name of your choice such as “Adyen – [username]”.

  3. Choose Adyen as payment provider

    Select 'Adyen' from the list of payment providers. Test mode is selected by default. In order to properly test your configuration, we recommend that you keep it active in test mode first.

  4. Enter merchant account code

    Enter your merchant account code in the Adyen tab. You can find these in the dashboard of your Adyen account.

  5. Enter your Adyen API key

    Enter the Adyen API key. You can find this in your Adyen dashboard » Account » Users. If you don't have a web service user yet, you need to create one. Please refer to Adyen's documentation for instructions.

  6. Enter your API live URL prefix

    You can find your prefix in the Adyen dashboard » Account » API URLs. The prefix is a combination of a unique number and your account code (for example: 123456789-accountCode).
    The 'API Live URL Prefix' setting is only necessary for payments in live mode. It is not yet mandatory for test mode.

  7. Create and fill in origin key

    Go back to the Web Service User in the Adyen dashboard. Create a 'origin key' by entering your domain name in the section of the same name and click on 'Generate Origin key'. Copy the generated key, go back to your WordPress dashboard and enter it within the appropriate field of your Adyen payment configuration.

  8. Publish your configuration

    Publish your Adyen configuration. You can now test it.

  9. Test your configuration

    You can test your configuration by making a test payment from the 'Test' meta box in the configuration.

  10. Change the configuration to 'live' mode

    When you are done testing you can change the mode from 'test' to 'live'. Save the changes and you are ready to use Adyen within your WordPress website.

Congratulations, your payment configuration is ready to use.

Using Adyen in Live Mode

The web service user must have the “Checkout web service role”. If the user does not have this role, it can be requested via Adyen support (Account » Support in Adyen's dashboard).

Set up feedback

It is recommended to also configure the transaction feedback. This ensures that Adyen links the payment status of an order back to the website.

  1. Within the WordPress dashboard, go to the Adyen payment configuration.
  2. Open the 'Transaction Feedback' tab and copy the 'Webhook URL'.
  3. Within the Adyen dashboard, go to Account » Server communication.
  4. Add a 'Standard notification' by clicking 'Add'.
  5. Paste the previously copied Webhook URL into the 'URL' field.
  6. The other fields are set correctly by default.
  7. Under 'Authentication', enter a 'User Name' and 'Password'. You can come up with this information yourself, but keep it, because you will need it later.
  8. Save the notification within the Adyen dashboard.
  9. In the WordPress dashboard, go to Payment » Settings.
  10. In the 'Adyen notification authentication' section, enter the previously used 'User Name' and 'Password' within the fields of the same name.
  11. Save the changes.

The transaction feedback has been completed, the payment status of the order will be fed back to your website from now on.

Pronamic Pay Adyen configuration

Pay with Google Pay

With the support for Adyen, it is also possible to pay with Google Pay. To be able to offer this payment method on your website, an additional configuration is still required. For this you can read the manual 'Configure Google Pay for Adyen' consult.