Giter VIP home page Giter VIP logo

adyen-testcards-extension's People

Contributors

aleffio avatar ayodejidev avatar gcatanese avatar jlengrand avatar sam-artuso avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

adyen-testcards-extension's Issues

Display dual-branded cards

The extension includes cards which have a dual branding, but that's not made visible. For example, the BCMC card 4871049999999910 is bcmc/visa card, the Cartes Bancaires card 4035 5010 0000 0008 is bc/ visa debit.

Update the extension to display dual-branded cards.

Revise font

Adopt a new font that displays the card numbers in a clearer/sharper manner

Extend Prefill functionality

Pressing the "Prefill" functionality should override & copy-paste the test card number into the Dropin/component.

This also covers the scenario in the case of clicking on the wrong card while prefilling.

Filter 3DS cards

Would be great if there was a way to get only 3DS cards, if I use the filter with the string "3DS" I still get non-3DS cards.

Screenshot 2023-10-09 at 15 27 03

Breaks on Arc

For some reason, it doesn't even open up in Arc. Doesn't show any error messages anywhere. Just won't open like it does on Chrome. Adding a screen recording here showing other extensions like Wappalyzer opens correctly but this doesn't. Tried quitting and reopening Arc after installing the extension. Tried reinstalling the extension as well.

Any lead is helpful, I can help figure this out because I need it to work.

Screen.Recording.2024-04-12.at.3.35.21.PM.mov

Add autofill for Custom Card fields

The custom card implementation is typified by having separate date fields for the month and year.
It would also be nice if prefill covered these fields.

It means you will need something like:
var expiry = document.querySelector('input[id^="adyen-checkout-encryptedExpiryMonth-"]'); &
var expiry = document.querySelector('input[id^="adyen-checkout-encryptedExpiryYear-"]');
detection in your code

tdCardNumber is too larger and causes 'Prefill' to be out-of-the-screen

Prefill is out-of-the-screen when a card is favorited (unless expanded).

When favoriting a card, the card number (such as 222 4000 7000 0005) is not collapsed compared to: 3700 0000 0000 002

image

Suggested changes

  • Fix the css tdCardNumber class in <td class="tdCardNumber">2222 4000 7000 0005</td>
  • Turn "copy" into the "copy"-image as we know we save space

Package the extension (GitHub action)

Create a GitHub action to package the extension (in a zip file) to be released.
Action should run upon tagging the repository and store the zip file as an artifact.

Gift cards prefill cvc enhancement

Gift cards currently prefills: 123 and ends up refusing all my gift card payments > prefill 100 instead (default).

Let's find a way in which we can help developers with other use cases like:

Amount (last three digits) resultCode refusalReason
100 Authorised ย 
123 Refused Refused
124 Refused Not enough balance
125 Refused Blocked Card
126 Refused Expired Card
130 Error Acquirer Error
134 Refused Invalid Pin
135 Refused Pin tries exceeded

Table taken from: https://docs.adyen.com/payment-methods/gift-cards/web-component/#test-and-go-live

Allow sorting

It would be good to have a "sort alphabetically: ascending/descending" type toggle.
The use case is I want a Visa card, it's at the bottom of the list - I either have to scroll or type into the filter box (so much work! ๐Ÿ˜›)
Ideally, with a single click on the "sort" button, I could flip Visa to the top of the list

Favourited cards do not show expiration date and cvc

Hello,

First of all, thanks for the extension. I use it everyday and helps me a lot.

This issue is about the favourite feature. I do not have the adyen drop-in payment flow so I do not benefit from the Prefill button, so I manually copy the card number, cvc and expiration date to test my checkout. I currently can not use favourites because when I do the cvc and expiration date are replaced by the brand logo, so I have no way of copying the CVC and EXP date.

My suggestion: Keep the CVC and expiration date and make it so when you click at the field you copy the value. You can still keep the brand logo at the end of everything maybe.
I will be happy to submit a PR if you like this idea, let me know :)

Thanks again.

Display issuing country

On the Adyen Test Cards page several cards are associated with a country. Consider displaying the country with the card information, optionally in the Favourite section too.

It is useful to provide the developers with all the information available, but without cluttering the extension.

Testing the extension (GitHub action)

Introduce (where applicable) unit and integration (Playwright) testing. Ideally, we would verify:

  • filter cards, giftcards, ibans
  • save as favourites
  • copy in clipboard

It doesn't seem possible to use Playwright to test the interaction of the extension with the Drop-in component. Investigate further to assess the feasibility or other options.

Show Gift Card logos

When saved as favourites the Gift Cards should display the corresponding brand logo (i.e. Givex, Generic, SVS).

IBAN could show an IBAN logo (if available), otherwise keep the text.

Reduce font size

The current font size in the extension is 14px which is very large.
Can it be reduced to something like 12px?

Support for locally stored entries

Add support for locally stored entries. The objective is to be able to add some card numbers that are not public, for example some giftcards or for french mealvouchers.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.