我正在尝试使用JSON API以便通过ADYEN进行(测试)付款。
这是代码(我从Github-> Adyen-> adyen-php-sample-code获得了这个示例:
<?php
/**
* Create Payment through the API (HTTP Post)
*
*
* Please note: using our API requires a web service user. Set up your Webservice
* user: Adyen Test CA >> Settings >> Users >> ws@Company. >> Generate Password >> Submit
*
* @author Created by Adyen - Payments Made Easy
*/
/**
* A payment can be submitted by sending a PaymentRequest
* to the authorise action of the web service, the …Run Code Online (Sandbox Code Playgroud)