1

I'm trying to implement a credit card payment using a flutter app (like Apple/Goggle pay). The main goal is to store the relevant information about the credit card from a scan or from given details (whatever is possible) and later use it to make a payment with a payment terminal device. An example is shown in this video: https://www.youtube.com/watch?v=aifXMV8PLYM, but unfortunately the source code of the mobile application has been removed.

Thanks, Noy.

Noy Bueno
  • 33
  • 1
  • 6
  • On Apple Pay or Google Pay, you see only scanning the card and later using it to tap and pay, but there is a lot happening behind the screen. Tokenization - in one word. You get a card personalized on the device, and this includes the security key which is used for the computation of cryptogram. You can never get this out using any type of reader. If you have used a mock terminal and captured all the details to try on a device, this won't work because the cryptogram is based on an unpredictable number generated by the terminal every time a transaction is performed. – Adarsh Nanu Dec 17 '21 at 19:50

2 Answers2

3

You are definitely able to read NFC-Tags (Credit-Cards) using Flutter. I have tested the nfc_manager package (https://pub.dev/packages/nfc_manager) successfully, with the provided example. Emulating does not seem to be supported by this package.

If you want to emulate NFC maybe checkout this package: https://pub.dev/packages/nfc_emulator

0

You can read it, but obtaining your information such as your number, expiration date and cvv is not possible with that package.

  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Sep 02 '23 at 23:12