0

I'm trying to implement a shop into a IOS HTML5 Phonegap app which runs off a .aspx CMS (via xml feeds).

I need to implement client payments - both individual one off payments and recurring payments for repeat services

I have used Paypal in the past to do something similar with individual payments - (simply using their provided form and altering the description and cost fields accordingly in the CMS) - but I cant seem to get it working via Phonegap as i just receive whitelist errors and it wont trigger the form.

I have looked through the Paypal API docs and it isn't really clear whether this should work in a HTML5 app - does anyone have any experience with implementing recurring payments for Phonegap? I also wondered whether it was possible to get flags / emails when a recurring payment is cancelled so we can react to this server side?

Any other suggestions for suitable payment API's also welcome.

4

2 回答 2

0

市面上有很多定期计费解决方案,大多数都带有 JSON 或 XML API,您可以轻松使用:

充电 > http://chargify.com/

递归 > http://recurly.com/

急速 > http://spreedly.com/

仅举几例...

于 2012-12-07T14:38:48.500 回答
0

PayPal 或任何其他网络服务都可以在 PhoneGap 中正常工作。我在 Titanium Appcelerator、jQuery Mobile 和 Sencha 中大量使用了它。

您可以使用 NVP、XML 或 JSON 直接访问 PayPal 的 API,或者我通常会构建自己的 PHP Web 服务,这样我也可以处理自己的数据库更新、第三方 Web 服务调用、电子邮件通知、社交网络更新,等等,所有这些都来自这些服务,并从移动应用程序本身简化一切。

于 2012-12-09T06:30:12.830 回答