如何通过iOS处理捐款? [英] How can I handle donations through iOS?

查看:151
本文介绍了如何通过iOS处理捐款?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我和我的团队将为一个组织编写应用程序,用户可以在该组织中捐款.应用程序本身不是问题,但我们真的不知道如何处理.

My team and I are going to write an app for an organisation where the user can donate to this organisation. The app itself is not the problem, but we don't really know how we can handle this.

我们首先想到的是,我们可以像在游戏中以真钱购买物品一样进行捐赠.但是有两个问题:

Our first thought was that we could make the donations like if you purchase an item in a game for real money. But there are 2 problems:

  1. 只有固定金额,例如99c等
  2. 苹果获得30%,我们希望用户知道谁获得了多少.开发人员:10%,组织90%.但是,如果苹果拿走了所有钱的30%,并且人们看到了这一点,他们可能不会出于这个原因而捐款.我也不会.

我们的第二个想法是,我们在应用程序中实现了一个webthingy(不知道元素如何称为atm),它的工作原理类似于Safari,我们将其定向到捐赠页面或其他内容,但是组织如何知道那捐赠是来自我们的应用程序吗?

Our second thought was that we implement a webthingy (don't know how the element is called atm) in our app, which simply works like Safari and we direct them to the donation page or something, but how does the organisation know that the donations are from our app then?

还有其他方法可以解决这个问题吗?我认为人们将能够通过信用卡和PayPal捐款.

Is there any other way we can handle this? I think people will be able to donate via credit cards and PayPal.

编辑,我发现了:

21.1能够向公认的慈善组织捐款的应用程序必须免费

21.1 Apps that include the ability to make donations to recognized charitable organizations must be free

21.2必须通过Safari中的网站或SMS收集捐款

21.2 The collection of donations must be done via a web site in Safari or an SMS

该应用程序将是免费的,如果必须通过SMS或Safari可以使用,但组织如何知道捐款来自该应用程序?

The app will be free, and it is fine if it has to be via SMS or Safari, but HOW does the organisation know the donations coming in, are from the app?

推荐答案

但是组织如何知道捐款来自应用程序?

But HOW does the organisation know the donations coming in, are from the app?

  1. 在该组织的网站上创建一个新页面,该页面的URL未链接到任何地方,并且无法被搜索引擎索引(robots.txt).
  2. 在您的应用中,将UIWebView设置为您自己的服务器上的URL,该URL重定向到您在步骤1中创建的页面.您还应该使该URL不可索引.

在该页面

  1. 检查引荐来源网址是否是您的页面
  2. 检查用户代理是否为UIWebView发送的内容
  3. 让页面记录某处发生的任何事情(日期/时间,捐赠金额等)-与他们的数据保持一致
  4. 捐款成功后,应记录该捐款来自此页面(因此也是您的应用)

某人可以伪造他们通过提出适当的请求来使用您的应用程序的信息,但是为什么会这么做.即使他们这样做了,您还是应该应该为此捐款获得信贷.

Someone could fake that they used your app by making the appropriate request, but why would they. Even if they did, you should probably get credit for that donation anyway.

这篇关于如何通过iOS处理捐款?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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