Donate via in-app billing

前端 未结 2 517
甜味超标
甜味超标 2020-12-29 05:44

Is it possible to donate money via in-app billing?

If not, how can we implement donation from inside an Android app? Please share a few hints.

Thanks

2条回答
  •  孤城傲影
    2020-12-29 06:12

    If you are using in-app billing then market will charge 30% for a transaction. While in-app billing requires items to be sold on a fixed price which will give you a little scope if your items are not managed(fixed priced). There is a way to do it from your android app without leaving it by using Paypal libraries.

    Paypal integration for android becomes fairly simple if you follow their developer site. You will need to download and integrate the library provided by Paypal, which is available on Paypal developer site.

    Sample Pizza application built using Eclipse demonstrate how to do actual integration which is quite simple. Although paypal seems forgot to use relative path for library. So you will have to change library path and application is ready to go.

提交回复
热议问题