我正在 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.
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/