wp-pay-gateways/adyen 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

wp-pay-gateways/adyen

最新稳定版本:v4.8.0

Composer 安装命令:

composer require wp-pay-gateways/adyen

包简介

Adyen driver for the WordPress payment processing library.

README 文档

README

Adyen driver for the WordPress payment processing library.

Build Status Coverage Status Latest Stable Version PHP from Packagist Total Downloads Packagist Pre Release License Built with Grunt Scrutinizer Code Quality Code Coverage Build Status Code Intelligence Status FOSSA Status

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

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

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

FOSSA Status

统计信息

  • 总下载量: 30.26k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 8
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 4
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固