Get PaymentId from iOS SDK

Posted in General by Anand T Tue Nov 13 2018 10:40:20 GMT+0000 (UTC)·2·Viewed 154 times

I have successfully integrated Instamojo with my iOS app using the latest sdk available (1.0.16) that works with Xcode 10. I used the documentation from https://docs.instamojo.com/v1.1/page/ios-sdk. Everything works well, but I couldn't find any options to get the paymentId from SDK. I need payment Id to be processed in the server. Our existing android application receives payment Id in the callback method. But I couldn't find it with iOS SDK Is there any options to get the paymentId from SDK?
Susheel Kumar Yadav
Jan 17, 2019

Hi Anand, Could you say me the process how you installed the SDK.

Actually, I am trying to install in my Objective C project, but I was getting this error message.

Error :
dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /Users/admin/Library/Developer/CoreSimulator/Devices/F03965FF-EEC8-4FB1-BFF5-71F2C3DE3E11/data/Containers/Bundle/Application/5AD10C0D-CCE9-42E8-B03E-26A2EF6637BB/Mojo Demo.app/Frameworks/InstaMojoiOS.framework/InstaMojoiOS
Reason: image not found

My Podfile looks like this :
pod 'Instamojo', :git => 'https://github.com/Instamojo/ios-sdk.git', :tag => '1.0.16'
pod 'InstaMojoiOS', '0.0.3'

Could you help me out Please?

Is there anything we need to change in Project settings.

  
Markdown is allowed