The following images are part of my app. I am using swift 5.0 which I have already given in image. I have installed pod from https://razorpay.com/docs/payment-gateway/ios-integration/standard/. website. In that razorpay for swift 5.0 is given. I followed the same steps. In my podfile , I have written also version,but still the updated pod has been installed. So I have many issues which I have put in following images. I have no solutions. I also downloaded razorpay SDK for swift 5.0, but same issue with SDK. I tried both methods:
https://i.sstatic.net/4vd1Q.png
https://i.sstatic.net/ukMkr.png
https://i.sstatic.net/vpc3D.png enter code here
https://i.sstatic.net/mxfKd.png
Please Update your pod.
pod 'razorpay-pod', '~> 1.1.5'
After that please declare your variable like this.
import Razorpay
var razorpay: RazorpayCheckout!
razorpay = RazorpayCheckout.initWithKey(RAZ_API_KEY_TEST, andDelegate: self) //Change your key based on test or live
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With