https://github.com/pronamic/wp-pronamic-pay-adyen
Adyen driver for the WordPress payment processing library.
https://github.com/pronamic/wp-pronamic-pay-adyen
adyen adyen-plugin payment payment-gateway wordpress wordpress-plugin wp-pronamic-pay-gateway
Last synced: about 1 year ago
JSON representation
Adyen driver for the WordPress payment processing library.
- Host: GitHub
- URL: https://github.com/pronamic/wp-pronamic-pay-adyen
- Owner: pronamic
- Created: 2021-01-14T15:41:22.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-06-19T13:51:08.000Z (about 1 year ago)
- Last Synced: 2025-06-19T15:01:56.257Z (about 1 year ago)
- Topics: adyen, adyen-plugin, payment, payment-gateway, wordpress, wordpress-plugin, wp-pronamic-pay-gateway
- Language: PHP
- Homepage: https://www.wp-pay.org/gateways/adyen/
- Size: 1.06 MB
- Stars: 7
- Watchers: 4
- Forks: 2
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# WordPress Pay Gateway: Adyen
**Adyen driver for the WordPress payment processing library.**
[](https://travis-ci.org/wp-pay-gateways/adyen)
[](https://coveralls.io/github/wp-pay-gateways/adyen?branch=develop)
[](https://packagist.org/packages/wp-pay-gateways/adyen)
[](https://packagist.org/packages/wp-pay-gateways/adyen)
[](https://packagist.org/packages/wp-pay-gateways/adyen)
[](https://packagist.org/packages/wp-pay-gateways/adyen)
[](https://packagist.org/packages/wp-pay-gateways/adyen)
[](http://gruntjs.com/)
[](https://scrutinizer-ci.com/g/wp-pay-gateways/adyen/?branch=develop)
[](https://scrutinizer-ci.com/g/wp-pay-gateways/adyen/?branch=develop)
[](https://scrutinizer-ci.com/g/wp-pay-gateways/adyen/build-status/develop)
[](https://scrutinizer-ci.com/code-intelligence)
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fwp-pay-gateways%2Fadyen?ref=badge_shield)
## Adyen Notifications (webhooks)
The Pronamic Pay Adyen gateway can handle Adyen notifications via the WordPress REST API.
**Route:** `/wp-json/pronamic-pay/adyen/v1/notifications`
The WordPress REST API Adyen notifications endpoint can be tested with for example cURL:
```
curl --request POST --user username:password http://pay.test/wp-json/pronamic-pay/adyen/v1/notifications
```
## WordPress Filters
### pronamic_pay_adyen_checkout_head
```php
add_action( 'pronamic_pay_adyen_checkout_head', 'custom_adyen_checkout_head', 15 );
function custom_adyen_checkout_head() {
wp_register_style(
'custom-adyen-checkout-style',
get_stylesheet_directory_uri() . '/css/adyen-checkout.css',
array(),
'1.0.0'
);
wp_print_styles( 'custom-adyen-checkout-style' );
}
```
### pronamic_pay_adyen_config_object
```php
add_filter( 'pronamic_pay_adyen_config_object', 'custom_adyen_config_object', 15 );
function custom_adyen_config_object( $config_object ) {
$style_object = (object) array(
'base' => (object) array(
'color' => '#000',
'fontSize' => '14px',
'lineHeight' => '14px',
'fontSmoothing' => 'antialiased',
),
'error' => (object) array(
'color' => 'red',
),
'placeholder' => (object) array(
'color' => '#d8d8d8',
),
'validated' => (object) array(
'color' => 'green',
),
);
$config_object->paymentMethods = (object) array(
'card' => (object) array(
'sfStyles' => $style_object,
),
);
return $config_object;
}
```
## Production Environment
**Dashboard URL:** https://ca-live.adyen.com/
**API URL:** https://{LIVE_API_URL_PREFIX}-checkout-live.adyenpayments.com/checkout/v41/
## Test Environment
**Dashboard URL:** https://ca-test.adyen.com/
**API URL:** https://checkout-test.adyen.com/v41/
## Frequently Asked Questions
### Why do I get the "Unable to instantiate the payment screen" notice?
**Adyen** says on **August 12, 2019**:
> The "Unable to instantiate the payment screen" appears when Adyen doesn't have any available payment methods to display in our SDK.
>
> Bancontact is exclusive to Belgium and I can see you in `/paymentSession` request, you set `"countryCode" : "NL"`. Could you try setting this to `BE`, then you should be able to see BCMC.
## License
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fwp-pay-gateways%2Fadyen?ref=badge_large)