A Chrome extension allowing to copy and prefill Adyen test card numbers with a single click.
Check also our video to learn how to install and use it.
Adyen provides test card numbers to test the Checkout integration with different payment methods and flows.
This Chrome extension brings those test card numbers directly into your browser where you can:
- copy the card number to the clipboard
- prefill the Adyen Web Drop-in with the selected card details and perform the testing quickly and easily.
- Find the extension in the Chrome Web Store
- Click "Add to Chrome"
The installation will warn that the extension can read and write data on all websites:
Note This is necessary as we do not know where your integration is hosted. The Adyen Test Cards extension only copies (using Javascript) the selected card details into the Credit Card fields. No other data or fields are read or changed. All of the code is Open-Source and there is no telemetry in this extension.
- Go to the Extensions page by entering
chrome://extensions
in a new tab. - Enable Developer Mode.
- Click the "Load unpacked" button and select the extension directory.
Open the extension and choose a card number.
We commit all our new features directly into our GitHub repository. Feel free to request or suggest new features or code changes yourself as well!
Find out more in our contributing guidelines.
To contribute:
- create a new GitHub issue (please specify if it is a feature, improvement or bug fix)
- create a local branch
- develop and test your changes locally ("Load unpacked" from your source)
- run the E2E tests locally
cd e2e npx playwright test
- submit a PR
Note: the list of cards, giftcards, etc.. are saved (as JSON) on local storage. If the JSON format changes then the existing users might be affected (breaking change?).
In order to publish a new release:
- develop and test features and changes
- update
manifest.json
(update version and other applicable attributes ie update description, modify permissions, etc..) - create zip file:
zip -r adyen-testcards-ext.zip ./ -x "./e2e/*" ".git/*" "./chrome-store-assets/*"
- upload zip file to Chrome Web Store
Note: the list of cards, giftcards, etc.. are saved (as JSON) on local storage. If the JSON format changes then the existing users might be affected (breaking change?).
MIT license. For more information, see the LICENSE file.