António Ferreira b283a98f7e feature: onAddressLookup (#2151)
* adds initial work for onAddressLookup

* adds onSelect functionality

* Update dependency filesize to v10.0.7 (#2146)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency @types/jest to v29.5.1 (#2150)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update codeql-analysis.yml (#2153)

* Update codeql-analysis.yml

Upgrading CodeQL to v2 
https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/

* Update codeql-analysis.yml

* chore: format all files with eslint and prettier (#2152)

* Update dependency eslint-plugin-testing-library to v5.10.3 (#2154)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Sonarcloud - Unit test coverage (#2155)

* feat: attempt to scan

* feat: attempt with sonar file

* fix: another attempt

* fix: clean up

* Update sonar-project.properties

* fix: pulling history

* tes

* feat: testing file

* Delete TestFile2.ts

* Update dependency html-webpack-plugin to v5.5.1 (#2158)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency prettier to v2.8.7 (#2107)

* Update dependency prettier to v2.8.7

* feat: removed prettier from e2e

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: guilhermer <guilherme.ribeiro@adyen.com>
Co-authored-by: Guilherme Ribeiro <guilhermemrr@gmail.com>

* Update dependency jest-mock-extended to v3.0.4 (#2159)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Added name property to Sepa ownerName & ibanNumber fields

* Fixes resources not being passed to provider (#2157)

* fixes resources not being passed or provider

adds playwright tests for securefields

* add extra checks if resource is missing

* Adding extra, defensive, check to Icon

---------

Co-authored-by: nicholas <nicholas.spong@adyen.com>

* Add a paymentMethodVariants array to the object sent to the onBinLookup callback

* Click to Pay - Standalone component (#2138)

* feat: ctp folder + element

* feat: fixed pressing enter submission + catching exception on logout + removed section container

* feat: added isAvailable + hiding from dropin

* fix: fixing imports

* feat: fixed missing props

* fix: fixed imports again

* feat: css fix + unit tests

* feat: added onReady callback

* fix: unit tests

* feat: fixing sonarcloud bugs

* fix: unit test

* feat: updating wallets

* feat: adding check if ctpservice fails to be created

* fix: tests + isAvailable check

* feat: simplified format data

* fix: attempt fix sonarcloud issues

* fix: await logout

* Release 5.43.0 (#2164)

* Update dependency postcss to v8.4.23 (#2160)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency webpack-cli to v5.0.2 (#2161)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Field comp stops using div element inside the label

* chore(deps): update dependency prettier to v2.8.8 (#2167)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency webpack-dev-server to v4.13.3 (#2168)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency eslint to v8.39.0 (#2171)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency sass to v1.62.1 (#2172)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency preact to v10.13.2 (#2048)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency webpack to v5.81.0 (#2176)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency stylelint to v15.6.0 (#2175)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Adjusting types of CoreOptions (#1987)

* feat: adjusting types

* feat: fixed more types

* feat: clean up

* chore(deps): update typescript-eslint monorepo to v5.59.1 (#2179)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency concurrently to v8 (#2181)

* chore(deps): update dependency concurrently to v8

* fix: fixing version

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: guilhermer <guilherme.ribeiro@adyen.com>

* Bumping sf version to 4.5.0

* Set static type on SRPanel comp

* Remove aria-hidden attribute on brand icon

* Click to Pay - Adding safeguard check when Shopper checkout with default Card component (#2180)

* Adding extra checks on the config sent when instantiating Checkout (#2187)

* Adding extra checks on the config sent when instantiating Checkout

* Expanding error message to also suggest the merchant checks their BO config

* fix: Add onOrderCancel to CoreOptions (#2193)

* add onOrderCancel to CoreOptions

* fixed order type

* finilizes the UI design of address lookup

* finalized implementation of address lookup

* fix build

* fix data setting issue

* fix validation not triggering

* fix edge cases for invalid lists

* cleans list on select

* cleaned up playground

* adds changeset

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Guilherme Ribeiro <guilhermemrr@gmail.com>
Co-authored-by: Yu Long <longyu901009@gmail.com>
Co-authored-by: guilhermer <guilherme.ribeiro@adyen.com>
Co-authored-by: nicholas <nicholas.spong@adyen.com>
2023-06-14 16:29:29 +02:00
2023-06-14 16:29:29 +02:00
2023-04-04 09:58:32 +02:00
2020-03-18 16:23:32 +01:00
2023-06-02 17:00:42 +02:00

npm

Web

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

Installation

We only provide full support when you use one of these methods of installation.

Node package manager

  1. Install the Adyen Web Node package:
npm install @adyen/adyen-web --save
  1. Import Adyen Web into your application:
import AdyenCheckout from '@adyen/adyen-web';
import '@adyen/adyen-web/dist/adyen.css';

Using a <script> tag

You can also import Adyen Web using a <script> tag, as shown in the Web Components integration guide.

Development

To run the development environment:

  1. Clone this repository.
  2. Create a .env file on your project's root folder following the example in env.default and fill in the environment variables.
  3. Install the dependencies by running:
yarn install
  1. If you are running the project by the first time, run the build script
yarn build
  1. Run the development environment, which starts a server listening on http://localhost:3020:
yarn start

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

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.

Description
No description provided
Readme MIT 13 MiB
Languages
TypeScript 74%
JavaScript 18.5%
SCSS 4.3%
HTML 3.2%