开发者

Integrating google checkout in Android?

Is there any way we can integrate Google Checkout in Android?

I am able to post the order request and in response I get the checkout redirect url where the user is redirected. But then how to proceed with it. How will the android application come to know when the payment is done.

The redirect url is called in Webview and then there is no connection between the mobile app and google checkout. How can the mobile application g开发者_运维问答et the response from Google checkout?


If you are looking for an in-app purchase user experience, Google Checkout may not be the best choice, as there is no automatic re-direct for the buyer after the Google Checkout transaction finishes. You may want to consider Google In-App Payments API which provides the notification callback you are looking for. Please note that this API is for web-based apps only:

http://code.google.com/apis/inapppayments/

For Android Market In-app Billing, please see:

http://developer.android.com/guide/market/billing/index.html


Looks like you have to setup a server than can handle notifications and check for the charged/charging flag. IN your mobile app, probably you can poll for the status change to your server.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜