How to integrate CCAvenue to Ionic app?

ε祈祈猫儿з 提交于 2019-11-29 12:43:29
Suhail AKhtar

Finally I was able to integrate CCavenue on my Ionic app. You have to do the following

  • By default ccavenue blocks all ip addresses from showing payment page except the url by which user has registered.
  • First check what ip address is being used by the app while run through ionic serve , ask the ccavenue support to whitelist that ip and also port 8100 or whatever your app is using.
  • Once you've whitelisted the ip now you have to make sure that inappbrowser plugin is installed in the ionic now you have to submit the payment form to another window by using this method

I hope it will help many.

iFrame Integration

https://www.ccavenue.com/ccavenue_index.jsp#feature-block12

Hope this helps you

Suhail,

You may not be able to get it done through iFrames as rightly said by some of the members here.

So you can get around it by having a return url on the server and storing the success/failure message along with other details in temp DB on server, check it from the mobile application from an API and decide whether the payment is done or not.

We have done same with snovel.in application and it works perfectly fine with PayUMoney. Only thing you have to remember is checking constantly from mobile application about success or failure of the payment becomes critical.

I hope that helps.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!