[英]How can I integrate Adyen on my website
As I can integrate Adyen API into my website, the checkout documentation does not seem very specific to me.因为我可以将 Adyen API 集成到我的网站中,所以结帐文档对我来说似乎不是很具体。 Does anyone have an example?
有人有例子吗?
您可以参考GitHub示例: Adyen GitHub和API参考将使您了解请求和响应的外观: 这里
The workflow is a lot simpler these days:现在的工作流程简单多了:
Access the Adyen Customer Area (with your Adyen account ) and setup the keys:访问 Adyen 客户专区(使用您的Adyen 帐户)并设置密钥:
API key : required to access the Adyen platform API 密钥:访问 Adyen 平台所需
Client Key : required to render client components 客户端密钥:需要呈现客户端组件
Merchant Account : merchant identifier商家帐户:商家标识符
HMAC Key : required to perform webhook authentication HMAC 密钥:需要执行 webhook 身份验证
Setup a webhook : this is necessary to receive the final confirmation of each payment transaction.设置网络钩子:这是接收每笔付款交易的最终确认所必需的。
In the Adyen Customer Area do not forget to update the Allowed Origin list: include the URL(s) of the web application which will host the Adyen checkout.在 Adyen 客户区,不要忘记更新允许来源列表:包括将托管 Adyen 结帐的 web 应用程序的 URL。 This is a very important step and often overlooked during the setup.
这是一个非常重要的步骤,在设置过程中经常被忽视。
Integrate the Web Drop-in (*): given the nature of the project (web site) the most convenient approach is to use the Web Drop-in which renders the payment methods available to the shopper (ie based on country and other factors) and takes care of the payment execution.集成 Web Drop-in (*):鉴于项目(网站)的性质,最方便的方法是使用 Web Drop-in,它为购物者提供可用的付款方式(即基于国家和其他因素)并负责付款执行。
Implement the Webhook (*) that will receive the payment confirmation from the Adyen server.实施将从 Adyen 服务器接收付款确认的 Webhook (*)。
(*) Adyen supports a variety of languages and frameworks. (*) Adyen 支持多种语言和框架。 Head to Adyen Examples repositories and checkout the example that suits your need (ie Python with Flask, Java with Spring, .Net core, etc..).
前往Adyen 示例存储库并检查适合您需要的示例(即 Python 和 Flask、Java 和 Spring、.Net 核心等)。
Every example includes the instructions on how to setup and run the demo as well as the code needed to integrate the Drop-in and the webhook.每个示例都包含有关如何设置和运行演示的说明以及集成 Drop-in 和 Webhook 所需的代码。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.