简体   繁体   English

如何在我的网站上集成 Adyen

[英]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:现在的工作流程简单多了:

  1. 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 身份验证

  2. Setup a webhook : this is necessary to receive the final confirmation of each payment transaction.设置网络钩子:这是接收每笔付款交易的最终确认所必需的。

  3. 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.这是一个非常重要的步骤,在设置过程中经常被忽视。

  4. 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,它为购物者提供可用的付款方式(即基于国家和其他因素)并负责付款执行。

  5. 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.

相关问题 如何将 Stack 的编辑器正确集成到我的网站中? - How can I properly integrate Stack's editor in my website? 如何将嵌入式播放器集成到我网站的元数据中? - How do I integrate an embedded player into my website's metadata? 我如何将strapi作为CMS集成到我的网站中,这意味着我不希望所有后端都使用strapi构建, - How can I integrate strapi as CMS in my website, meaning i don't want all the backend built with strapi, 如何使用 JavaScript 或 Java 在网站中集成 Razorpay? - How I can integrate Razorpay in website using JavaScript or Java? 如何将scorm课程整合到我的网站 - How integrate scorm courses to my website 如何将Facebook与自己的“赞”按钮集成 - How Can I Integrate Facebook With My Own Like Button 如何将Zoom.us集成到我的angularJS应用程序中? - How can i integrate Zoom.us into my angularJS app? 如何将这支笔的代码集成到我的网站上? - How can I integrate the code from this pen onto my site? 我怎样才能将对话框和polyfill集成到我的React应用程序中? - How can I Integrate dialog-polyfill into my React app? 如何将我的网页上的位置搜索与Google地图集成在一起? - How can I integrate a location search on my webpage with google maps?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM