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 calling AIDelegate #4

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

not calling AIDelegate #4

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

Comments

@rakesh-verma-ios
Copy link

func didFinish(with success: Bool, response: [String : Any]) {
debugPrint(response)
}

This delegate function is not called

@phanindra92
Copy link

I am also facing the issue. Let us know the fix for this.

@rakesh-verma-ios
Copy link
Author

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

@phanindra92
Copy link

Does it work all the time(With delay and all) ?

@rakesh-verma-ios
Copy link
Author

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

@phanindra92
Copy link

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)", delegate: self)

@rakesh-verma-ios
Copy link
Author

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

@divyathakkar123
Copy link

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

@rakesh-verma-ios
Copy link
Author

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

@divyathakkar123
Copy link

divyathakkar123 commented Jul 28, 2020

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.

@rakesh-verma-ios
Copy link
Author

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

@divyathakkar123
Copy link

ok thanks.

@androidroadies
Copy link

@rakesh-verma-ios and @divyathakkar123 Able to resolve issue for get success flag facing same issue.

@rakesh-verma-ios
Copy link
Author

rakesh-verma-ios commented Sep 18, 2020 via email

@androidroadies
Copy link

@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?

@androidroadies
Copy link

why can't get flag in didfinish?

@mohdzakir786
Copy link

mohdzakir786 commented Jun 17, 2021

Cannot find type 'AIHandler' in scope

Paytm integration
I am getting this error when I am try to archive project. Please help us

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

5 participants