iphone - 有没有通过iTunes账户捐款的API?

标签 iphone ios ipad ios5

我正在 iOS 上准备一个慈善应用程序。 Paypal 是我的第一选择。 我不能假设所有用户都有 Paypal,但我确信他们都有 iTunes 帐户。

我可以让用户通过输入 iTunes 帐户用户名和密码来向慈善机构捐款吗?

Apple 支持 Red Cross donation for Japan quake .苹果有开放这种API吗?

最佳答案

更新:

US non-profits can accept donations via Apple Pay :

Starting November 14, 2016, nonprofits based in the United States can use Apple Pay to provide a simple and secure way to accept donations from within their app and website. Similar to using Apple Pay to buy goods and services, users can donate without entering their billing, shipping, or contact details.

App Store guidelines继续说:

Acceptable

Approved nonprofits may fundraise directly within their own apps using Apple Pay, provided those fundraising campaigns adhere to all App Review Guidelines. These apps must disclose how the funds will be used, abide by all required local and federal laws, and make appropriate tax receipts available to donors. Nonprofit platforms that connect donors to other nonprofits must ensure that every nonprofit listed in the app has also gone through the nonprofit approval process. Learn more about becoming an approved nonprofit.

Unacceptable

Unless you are an approved nonprofit, collecting funds within the app for charities and fundraisers. Apps that seek to raise money for such causes must be free on the App Store and may only collect funds outside of the app, such as via Safari or SMS.

我在下面的旧答案早于对慈善捐赠政策的修订。


他们不仅没有 API,而且似乎明确排除了这样做的可能性。参见 App Store Review Guidelines 的第 21 节:

21 Charities and contributions

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

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

我不太清楚他们为什么这样做(可能是 501(c)(3) 组织的会计问题)。

无论如何,通过MFMessageComposeViewController发起短信或者通过

将尽可能多的用户参数传递给 Safari 中的网页
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:urlForDonation]];

关于iphone - 有没有通过iTunes账户捐款的API?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11498917/

相关文章:

iphone - iPhone 上的 GMT 时间

ios - 对 iTunes 应用内购买项目的一些说明

iphone - 使用 IP 地址和/或主机名获取 Bonjour 地址

ios - 我如何知道哪些联系人有 iMessage?

iphone - UIWebView 从本地文件系统加载 HTML 文件

iphone - 多线程实现的最佳方式

ios - swift 4 : Unable to programmatically change the height on my Navigation Bar

iphone - UITextView - 禁用垂直滚动

ios - 检测三角形按钮网格中的触摸?

iphone - CoreDataGeneratedAccessor 方法给出 "unrecognized selector sent to instance"错误