paytabscom / paytabs-android-library-sample

Sample for Paytabs android library
MIT License
11 stars 7 forks source link

Does the android SDK supports tokenization #14

Closed MahmoudMB closed 3 years ago

MahmoudMB commented 3 years ago

Dear Team,

regarding using the saved card details in another payments, I notice that the token and tokenPassword and tokenEmail all of them is set to null and it is not getting the value that I am sending to the activity.

Does the Mobile SDK support the ExistCustomer and that the user do not need to enter the card again and use the token in case it was already generated before ? and why are these attributes is set to null ?

thanks

Screen Shot 2021-01-18 at 4 51 10 PM
mohamedkhairy953 commented 3 years ago

Yes tokenization is enabled in the sdk.

MahmoudMB commented 3 years ago

@mohamedkhairy953
but why the values are set to null ?

MahmoudMB commented 3 years ago

the values are not retrieved from the intent

MahmoudMB commented 3 years ago

@mohamedkhairy953

I mean when I pass the token and isExitsCustomer, to the PayTabActivity.

its forced to be null for the token and false for isExitsCustomer.

So, why does this happen ?

MahmoudMB commented 3 years ago

@mohamedkhairy953 @mustafaanan @ahmed-mahdi-pt @paytabscom

Dear Team.

could any one please confirm if I can set this parameter (IS_EXISTING_CUSTOMER ) to true.

and also passing: CUSTOMER_EMAIL CUSTOMER_PASSWORD TOKEN

and it should not ask the user to enter his card details again, but thats not happening.

its just ignoring the tokenization values that I am passing.

is this feature available in the mobile sdks ?

and if it is not, how we should use it ?

mohamedkhairy953 commented 3 years ago

In this version, passing the token is not available in mobile SDK. Using the token in mobile SDK will be available in the next version soon