开发者

PayPal In-App Purchase for Android OS - Server/Client Model

We are writing an application for Android OS which communicates with a server to perform its operations.

This application is subscription based and it's the responsibility of server to let the device know about subscription status of currently logged-in user.

We are planning to write In-App purchase usi开发者_运维知识库ng PayPal services, Therefore,I just need to know, Does PayPal Supports Server/Client Model, like iOS Does?

The following is the detailed process we are following for iPhone Applications.

  1. Device Sends purchase request to Apple's payment gateway
  2. The payment gateway sends back a digitally signed receipt.
  3. The device forwards this receipt to our application server
  4. The application server sends the receipt (for verification) to Apple's public Web API
  5. Apple's Web API Verifies the validity of receipt and returns readable contents of receipt back to app server.
  6. The server adjusts the subscription of paid user and sends "Success" back to the device.


Google launched In-app billing yesterday.
It uses the Android Market for payment.

A detailed documentation/examples can be found here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜