datatrans / android-sample-app

sample android app which integrates the datatrans library
https://docs.datatrans.ch/docs/integrations-mobile-sdk
0 stars 13 forks source link

Authorization Screen in Android #1

Closed teraiyamayurcontact closed 8 years ago

teraiyamayurcontact commented 8 years ago

Hello Guys,

IOS Method

pc.paymentOptions.showAuthorizationConfirmationScreen = YES;

i want to display authorization screen to user when transaction is in process with Alias at that time. Need help.

There are no any method found like showAuthorizationConfirmation Screen.

Thanks in advance.

dmengelt commented 8 years ago

hi @teraiyamayurcontact

right. at the moment the android library does not offer this functionality. you have to create such a screen by your own. you have two options to accomplish this:

hope that helps

teraiyamayurcontact commented 8 years ago

Hi domi55,

Thanks for your feedback i understood your point So below attached should be implemented by us or will display from data trans.

Can you please provide your suggestion for same.

Thanks

imgpsh_fullsize

dmengelt commented 8 years ago

Hi @teraiyamayurcontact

I just updated the sample app which now shows a confirmation dialog before the final authorisation. This is of course just one way of achieving a similiar behaviour like with iOS.

Regarding credit card scanning. The android library does not come with this feature out of the box. Please have a look at the code of this sample app. You have to manually integrate card.io into your app.

teraiyamayurcontact commented 8 years ago

Hi domi,

Thanks a lot. i am not able to get transactionid when transaction is complete ? Can you help me ?

dmengelt commented 8 years ago

Correct. Currently we do not send the transactionId in the callback. Please configure the "POST URL" hook from within the Webadmin Tool TEST / PROD to receive the transactionId.

teraiyamayurcontact commented 8 years ago

OK Thanks