如何将CCAvenue集成到Ionic应用程序? [英] How to integrate CCAvenue to Ionic app?

查看:156
本文介绍了如何将CCAvenue集成到Ionic应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将ccavenue集成到我在Ionic上构建的混合应用程序中,但我无法找到任何示例或代码或任何其他可能对此有所帮助的内容。 Plz让我知道你是否有任何相关信息。

I want to integrate ccavenue to my hybrid app that I am building on Ionic but I am unable to find any example or code or any other thing which can be helpful in this. Plz let me know if you have any information regarding this.

更新
Ccavenue对我来说不起作用iframe因为iframe只能在注册域名(即www.example.com)上工作,而不是任何其他地方所以我离开了它并选择了 Razorpay支付网关,因为它为Ionic / Cordova提供官方支持。

Update: Ccavenue didn't work for me even with the iframe because iframe can only work on the registered domain (ie. www.example.com) and not any other place so I left it and choose the Razorpay Payment gateway because it provides official support for Ionic/Cordova.

以下是示例应用。
https://github.com/razorpay/razorpay-cordova-sample-应用程序

推荐答案

最后,我能够在我的Ionic应用程序上集成CCavenue。您必须执行以下操作

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


  • 默认情况下,ccavenue会阻止显示付款页
    的所有IP地址,但用户拥有的网址除外注册。

  • 首先检查应用程序在运行 ionic serve 时使用的是哪个IP地址,请求ccavenue支持将该IP列入白名单也是端口 8100 或您的应用正在使用的任何内容。

  • 一旦你将ip列入白名单,你必须确保 inappbrowser插件 安装在 ionic 中,现在您必须将付款表单提交到另一个窗口使用此方法

  • 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.

这篇关于如何将CCAvenue集成到Ionic应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆