Adyen/adyen-web
关于
Adyen Web Drop-in and Components
商业与金融实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
Adyen Web
Adyen Web provides you with the building blocks to create a checkout experience for your shoppers, allowing them to pay using the payment method of their choice.
You can integrate with Adyen Web in two ways:
- Web Drop-in: an all-in-one solution, the quickest way to accept payments on your website.
- Web Components: one Component per payment method and combine with your own payments form logic.
Prerequisites
Drop-in/Components lifecycle
| Major version | State | Deprecated | End-of-life |
|---|---|---|---|
| 6.x.x | Active | --- | --- |
| 5.x.x | Inactive | TBA | TBA |
| 4.x.x | End-of-life | August 2025 | August 2026 |
| 3.x.x | End-of-life | October 2024 | October 2025 |
More information about our versioning and the Drop-in/Components lifecycle can be found here
Installation
We only provide full support when you use one of these methods of installation.
Node package manager
- Install the Adyen Web Node package:
npm install @adyen/adyen-web --save
- Import Adyen Web into your application:
import { AdyenCheckout } from '@adyen/adyen-web';
import '@adyen/adyen-web/styles/adyen.css';
Using a <script> tag
You can also import Adyen Web using a <script> tag, as shown in the Web Components integration guide.
Running the Development Environment
Requirements:
- Node v24
- Yarn (Using Corepack - Run
corepack enableafter installing Node)
To run the environment:
- Clone this repository.
- Create a
.envfile on your project's root folder following the example inenv.defaultand fill in the environment variables. - Install the dependencies by running:
yarn install
- If you are running the project by the first time, run the build script
yarn build
- Run the development environment, which starts a server listening on http://localhost:3020:
yarn start
Localization
We include UI localizations for many languages. You can check the languages and their respective translations here. Furthermore, it is possible to customize the current translation replacing the default text with your own text in case you want that.
Styling
Adyen Web is themeable and utilizes CSS variables that can be overridden in order to achieve the desired style.
See the styling guide for how to override styles, the full list of CSS variables with their default values, and how to style the secured fields.
Analytics and data tracking
Starting v5.16.0 the Drop-in and Components integrations contain analytics and tracking features that are turned on by default. Find out more about what we track and how you can control it.
Contributing
We merge every pull request into the main branch. We aim to keep main in good shape, which allows us to release a new version whenever we need to.
Have a look at our contributing guidelines to find out how to raise a pull request.
See also
- Accepting online payments
- Sessions flow integration guide
- Advanced flow integration guide
- API Explorer
- Example integrations
- Adyen Components JS Sample Code
- Why we open sourced Adyen Web
Support
If you have a feature request, or spotted a bug or a technical problem, create an issue here.
For other questions, contact our support team.
License
This repository is available under the MIT license.
探索相关项目
加载中…