Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to proceed with transaction token in test mode #3

Open
rakesh-verma-ios opened this issue Jun 17, 2020 · 10 comments
Open

Not able to proceed with transaction token in test mode #3

rakesh-verma-ios opened this issue Jun 17, 2020 · 10 comments

Comments

@rakesh-verma-ios
Copy link

When i am using test merchant id and key i am not able to initiate payment.

@n1tesh
Copy link

n1tesh commented Jul 21, 2020

@rakesh-verma-ios found solution for this ??

@rakesh-verma-ios
Copy link
Author

rakesh-verma-ios commented Jul 21, 2020 via email

@n1tesh
Copy link

n1tesh commented Jul 22, 2020

@rakesh-verma-ios ‘lost in space’ error. I think this is because I’m using Staging credentials and SDK is pointing at Production url. I cannot find any option to set environment in this sdk.

@rakesh-verma-ios
Copy link
Author

rakesh-verma-ios commented Jul 22, 2020 via email

@n1tesh
Copy link

n1tesh commented Jul 23, 2020

@rakesh-verma-ios Found a hack for it. I noticed the variables used are public so simply change them to UAT URL and it would work.

  kProduction_PGServerURL = "https://securegw-stage.paytm.in/theia/api/v1/showPaymentPage"
   kStaging_PGServerURL = "https://securegw-stage.paytm.in/theia/api/v1/showPaymentPage"

THIS APPROACH WORKS FOR Redirection Flow ONLY. YOU MAY NEED TO DELETE PAYTM APP.

Still @paytm it would a better if we get a proper solution for this problem as this SDK is marked as Recommended one in website.

@rakesh-verma-ios
Copy link
Author

rakesh-verma-ios commented Jul 23, 2020 via email

@n1tesh
Copy link

n1tesh commented Jul 23, 2020

What I am using is " https://securegw.paytm.in/theia/paytmCallback?ORDER_ID=order_id". When I change to staging this URL it does not work as you have mentioned. Let me know how you have made it working on staging.

No that's callbackURL. You need to change Server url to staging one. Just add above code in your viewDidLoad

@rakesh-verma-ios
Copy link
Author

rakesh-verma-ios commented Jul 24, 2020 via email

@gupta163
Copy link

Hi Any one send me sample code for paytm integration for swift or sample project for paytm integration

@n1tesh
Copy link

n1tesh commented Sep 24, 2020

I have used staging url but still it is not initiating SDK

THIS APPROACH WORKS FOR Redirection Flow ONLY. YOU MAY NEED TO DELETE PAYTM APP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants