payu-intrepos / PayUMoney-IOS-SDK

Easy to integrate SDK for iOS to facilitate fast mobile checkout
https://www.payumoney.com/
MIT License
11 stars 21 forks source link

surl and furl incorrect error in iOS SDK (working fine in Android) #47

Closed vinaykrgupta closed 4 years ago

vinaykrgupta commented 5 years ago

I am using surl like http://mybackned.org:5000/api/v1/Payment/callback?orderId=3e583e2b6ad24c7 but it's not working if I use -, : or ? across url. Same URL is working fine in Android.

DishaMukherjee commented 5 years ago

We have checked your above URL both in Andriod and iOS but no response is getting fetched. We recommend you to use POST call acceptable URL. Don't append anything in SURL/FURL.

vinaykrgupta commented 5 years ago

The hostname is not actual URL. As I already mentioned that It's working fine for Android. In iOS, It's giving surl is invalid without redirecting to PayuMoney Page. If I remove : and ? from url, it redirect to PayUmoney page. Special characters like :, ? and - are not working. Why so ? can you tell me which type of encoding I should use to make special characters encrypted.

DishaMukherjee commented 5 years ago

Kindly integrate with updated SDK with SURL/FURL validation. Use below link to integrate:

https://github.com/payu-intrepos/PayUMoney-IOS-SDK