paytm / Paytm_Payments_Android_Sample_Apps

12 stars 36 forks source link

Network Error #5

Open patidarpavan007 opened 4 years ago

patidarpavan007 commented 4 years ago

Hello,

I am using all in one sdk 1.3 in android, After navigating to payment, it opens your staging paytm app and then suddenly i get network error.

puneet8-sharma commented 4 years ago

Hi Please make sure when hitting initiateTransaction API, base url of api should be correct. https://securegw-stage.paytm.in -> Stage https://securegw.paytm.in -> Production

nsgdev commented 4 years ago

Hello,

I am using all in one sdk 1.3 in android, After navigating to payment, it opens your staging paytm app and then suddenly i get network error.

Hi @patidarpavan007 Did you solve your issue ? Because I am facing the same. After clicking proceed to payment it open a dialog window and suddenly closed and nothing happens. I have logged data and found out that resultCode in onActivityResult is 0 i.e., RESULT_CANCELLED. And I have re-checked the base url is correct.

agherakevan commented 4 years ago

Hello, I am using all in one sdk 1.3 in android, After navigating to payment, it opens your staging paytm app and then suddenly i get network error.

Hi @patidarpavan007 Did you solve your issue ? Because I am facing the same. After clicking proceed to payment it open a dialog window and suddenly closed and nothing happens. I have logged data and found out that resultCode in onActivityResult is 0 i.e., RESULT_CANCELLED. And I have re-checked the base url is correct.

@patidarpavan007 @nsgdev You found any solutions for this?

soumyavats commented 4 years ago

Please download paytm staging app from the below link https://github.com/paytm/Paytm_Payments_Android_Sample_Apps/tree/master/Paytm-Staging-App

I have checked this at my end it's working fine

nsgdev commented 3 years ago

Hi @soumyavats Given project is working with Paytm staging apk that provided on github. But it is not working with play store downloaded app. Same issue is still there. Whenever startTransaction method run it opens a half screen dialog and suddenly disappears. and result comes in onActivityResult with resultCode = 0

Please download paytm staging app from the below link https://github.com/paytm/Paytm_Payments_Android_Sample_Apps/tree/master/Paytm-Staging-App

I have checked this at my end it's working fine

soumyavats commented 3 years ago

Playstore app is for production, it will work when you are doing payment in a production environment