paytm / Paytm_iOS_All_in_One_SDK

https://developer.paytm.com/docs/all-in-one-sdk/#ios
6 stars 5 forks source link

Response issue #2

Closed ErAshu closed 4 years ago

ErAshu commented 4 years ago

I have interated All in One SDK, everyThing is fine but response didn't get in didFinish Method.

Can you tell me where i get the response when payment get successfully?

AIHandler().openPaytm(merchantId: merchantId, orderId: orderId, txnToken: token, amount: amount, redirectionUrl: callbackURL, delegate: self)

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

}

mrdishant commented 4 years ago

Hi,

If you are using this version, kindly do modify your code.

Steps:

  1. Create a local variable of AIHandler example : private var appInvoke : AIHandler = AIHandler()

  2. call openPaytm method example: appInvoke.openPaytm(,,,).

ErAshu commented 4 years ago

Yes, i have implemented this.