eWAYPayment / eway-rapid-ios

eWAY Rapid iOS library
https://www.eway.com.au/
MIT License
5 stars 5 forks source link

Not working on swift 4.2 #3

Open jitendraIntesols opened 5 years ago

jitendraIntesols commented 5 years ago

I have successfully install eway pod, than set setRapidEndpoint and setPublicAPIKey in didFinishLaunchingWithOptions function on app delegate file, its not working on iOS (swift 4.2+ language)

I have attached error screen shot

Screenshot 2019-07-04 at 1 30 20 PM Screenshot 2019-07-04 at 1 30 26 PM Screenshot 2019-07-04 at 1 30 40 PM

tomhall commented 5 years ago

This lib hasn't been updated for years, so it's not surprising. Fork & fix yourself is probably your only option.

PreethiGIOS commented 5 years ago

Create Object for RapidAPI class and assign value let rapid = RapidAPI() rapid.publicAPIKey = PublicAPIKey rapid.rapidEndpoint = Endpoint

aprashar3 commented 1 month ago

I am also facing the same issue. Tried @PreethiGIOS solution. It removes the errors regarding endpoint and public key. Now I am facing issue while doing a sandbox transaction. While calling the Rapid Api I am getting error code "S992" which means as per documentation "Communication error with Rapid API". Can anyone help to resolve the issue as there seems to be no support available. @jitendraIntesols Let me know if you were able to resolve the issues.