datatrans / android-sdk

Accept payments on your Android apps: Our mobile SDKs support your entire payment and registration process and simplify the integration of any payment method in your mobile apps.
Other
6 stars 0 forks source link

[feature request] Scanning mastercard and visa debit cards with the scanner #18

Closed andreaMOnline closed 1 month ago

andreaMOnline commented 10 months ago

I noticed that on some devices the scanner does not work for the newer Mastercard debit cards. As a workaround (when Google Pay is set up) I can use the google pay card scanner though as a workaround.

The model I used (bad camera for close range): HMD Global Nokia 7.2., Android 11

luiscosta commented 10 months ago

Hello @andreaMOnline,

How do you use the Google Card Scanner? Is it on soft input autofill bar?

Why is Google Scanner a workaround? That scanner is our recommended option if you use Google Pay with us.

Best,

Luis

andreaMOnline commented 7 months ago

Hi Luis, unfortunately the later card models can not be recognized via the camera symbol in the datatrans UI. Eg Revolut prepaid cards (Visa) that I have. The Revolut Visa card has the card number written on the back of the card. When I turn it to the back and try to scan the number, it is not recognized by the datatrans scanner.

The google scanner is available via autofill bar yes, although we do not support google pay in our flow. I think the problem is more iOS than Android because no workaround is available on iOS AFAIK

bacherma commented 6 months ago

Hi @andreaMOnline. I think there is some misunderstanding.

On Android

The Google Scanner is not a workaround and we are not talking about the autofill bar. Our current solution is based on it when the SDK camera icon is pressed.

Whether you use Google Pay or not as a payment method does not matter. Please set up your app and request production API access for Google Pay. You don't need to configure Google Pay on our side, support it in your backend or actually use Google Pay. But your app must have access to the Google Pay API.

On iOS

We rewrote the iOS scanner from scratch a while ago. If you use a reasonably recent SDK version (>= version 3.0.0), your app automatically uses the new scanner that can perfectly read modern card designs such as Revolut's.

Does this answer your concerns?

bacherma commented 4 months ago

@andreaMOnline can I close this issue or do you have more questions?