Open rakesh-verma-ios opened 4 years ago
@rakesh-verma-ios found solution for this ??
What error you are getting?
On Tue, Jul 21, 2020 at 9:02 PM Nitesh notifications@github.com wrote:
@rakesh-verma-ios https://github.com/rakesh-verma-ios found solution for this ??
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/paytm/Paytm_iOS_All_in_One_SDK/issues/3#issuecomment-661932894, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP7WIUANL36SHSSJKGYG6J3R4WYJTANCNFSM4OAZYCVA .
@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.
For iOS there is no test mode yet, you need to work with production. Support team of paytm mentioned this. We have tested with live credentials.
On Wed, Jul 22, 2020 at 11:06 AM Nitesh notifications@github.com wrote:
@rakesh-verma-ios https://github.com/rakesh-verma-ios ‘lost in space’ error. I think this of because I’m using Staging credentials and SDK is pointing at Production url. I cannot find any option to set environment in this sdk.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/paytm/Paytm_iOS_All_in_One_SDK/issues/3#issuecomment-662251604, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP7WIUGP7SEPKIOHQRMTXKDR4Z3GLANCNFSM4OAZYCVA .
@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.
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.
On Thu, Jul 23, 2020 at 7:21 PM Nitesh notifications@github.com wrote:
@rakesh-verma-ios https://github.com/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"
Still @paytm https://github.com/paytm it would a better if we get a proper solution for this problem as this SDK is marked as Recommended one in website.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/paytm/Paytm_iOS_All_in_One_SDK/issues/3#issuecomment-663019179, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP7WIUER35YTJJS6T5O6V4TR5A57NANCNFSM4OAZYCVA .
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
I have used staging url but still it is not initiating SDK
On Thu, Jul 23, 2020 at 8:13 PM Nitesh notifications@github.com wrote:
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. … <#m-4917209857575508537>
No the that's callbackURL. You need to change Server url to staging one. Just add above code in your viewDidLoad
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/paytm/Paytm_iOS_All_in_One_SDK/issues/3#issuecomment-663047861, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP7WIUB5K3G3JBRZTSRQDTDR5BECRANCNFSM4OAZYCVA .
Hi Any one send me sample code for paytm integration for swift or sample project for paytm integration
When i am using test merchant id and key i am not able to initiate payment.