Open rakesh-verma-ios opened 4 years ago
I am also facing the issue. Let us know the fix for this.
I have called the transaction status api when pop from Paytm sdk.
On Thu, Jul 16, 2020 at 11:22 AM phanindra92 notifications@github.com wrote:
I am also facing the issue. Let us know the fix for this.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/paytm/Paytm_iOS_All_in_One_SDK/issues/4#issuecomment-659175399, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP7WIUEI5JIQMZ6EKNKPTNTR32ISZANCNFSM4OAZY3IA .
Does it work all the time(With delay and all) ?
Yes when payment is made you will always be popped back, when you will be popped back then you will hit transaction status api which will tell you the status of the transaction. We have tested all the cases regarding this.
On Thu, Jul 16, 2020 at 1:24 PM phanindra92 notifications@github.com wrote:
Does it work all the time(With delay and all) ?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/paytm/Paytm_iOS_All_in_One_SDK/issues/4#issuecomment-659227725, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP7WIUGSKMVLCD5YNH7XYRTR32W3HANCNFSM4OAZY3IA .
This will call delegate method.
Create a local variable of AIHandler example : private var appInvoke : AIHandler = AIHandler()
call openPaytm method example: self.appInvoke.openPaytm(merchantId: "put mid here", orderId: orderId, txnToken: txnToken, amount: "100", redirectionUrl : "https://securegw.paytm.in/theia/paytmCallback?ORDER_ID=\(orderId)", delegate: self)
I have used the same but not called
On Tuesday, July 21, 2020, phanindra92 notifications@github.com wrote:
This will call delegate method.
1.
Create a local variable of AIHandler example : private var appInvoke : AIHandler = AIHandler() 2.
call openPaytm method example: self.appInvoke.openPaytm(merchantId: "put mid here", orderId: orderId, txnToken: txnToken, amount: "100", redirectionUrl : " https://securegw.paytm.in/theia/paytmCallback?ORDER_ID=\(orderId) https://securegw.paytm.in/theia/paytmCallback?ORDER_ID=%5C(orderId)", delegate: self)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/paytm/Paytm_iOS_All_in_One_SDK/issues/4#issuecomment-661867719, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP7WIUHH2JKC7KTVVUPWWTDR4WLDHANCNFSM4OAZY3IA .
Facing same issue getting message in Paytm that transaction successful and also getting data in Merchant Dashboard. but didn't get any callback in the delegate method. Please help.
Showing following message after completing transaction.
Finish - https://securegw-stage.paytm.in/theia/paytmCallback?ORDER_ID=B2B45202007280403
You need to check using the transaction status api for Payment successful or not.
On Tue, Jul 28, 2020 at 4:52 PM divyathakkar123 notifications@github.com wrote:
Facing same issue getting message in Paytm that transaction successful and also getting data in Merchant Dashboard. but didn't get any callback in the delegate method. Please help.
Showing following message after completing transaction.
Finish - https://securegw-stage.paytm.in/theia/paytmCallback?ORDER_ID=B2B45202007280403 https://securegw-stage.paytm.in/theia/paytmCallback?ORDER_ID=B2B45202007280403
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/paytm/Paytm_iOS_All_in_One_SDK/issues/4#issuecomment-664983398, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP7WIUGIDWSPYVAHQIWFYITR52YFNANCNFSM4OAZY3IA .
yes but when can I check that, It should notify in the following method that payment successful.
func didFinish(with status: PaymentStatus, response: [String : Any]) { debugPrint(response) }
I have implemented check status API in this method and it never calls.
No, whenever payment is successful it will pop to the previous screen where you can check.
On Tue, Jul 28, 2020 at 5:12 PM divyathakkar123 notifications@github.com wrote:
yes but when can I check that, It should notify in the following method that payment successful.
func didFinish(with success: Bool, response: [String : Any]) { debugPrint(response) }
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/paytm/Paytm_iOS_All_in_One_SDK/issues/4#issuecomment-664991511, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP7WIUBL22FW62CMLECV3JTR522TJANCNFSM4OAZY3IA .
ok thanks.
@rakesh-verma-ios and @divyathakkar123 Able to resolve issue for get success flag facing same issue.
Yes I was receiving this. I have checked on the previous screen after payment it will pop. You can add check there and hit getTransaction api to know the status of the transaction.
On Thu, Sep 17, 2020 at 6:15 PM Mayank notifications@github.com wrote:
@rakesh-verma-ios https://github.com/rakesh-verma-ios and @divyathakkar123 https://github.com/divyathakkar123 Able to resolve issue for get success flag facing same issue.
— 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/4#issuecomment-694205896, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP7WIUDCUYQHSADWGYBCWDDSGIAGFANCNFSM4OAZY3IA .
@rakesh-verma-ios Possible to share code snippets specific to how you can check for previous screen as without getting success flag how to identify?
why can't get flag in didfinish?
Cannot find type 'AIHandler' in scope
Paytm integration I am getting this error when I am try to archive project. Please help us
func didFinish(with success: Bool, response: [String : Any]) { debugPrint(response) }
This delegate function is not called