3

My application is used to buy journey tickets. The ticket price is different everytime. Can I use In-App Billing to make the user pay a custom price everytime? If so how? i.e. can I set the price which the user has to pay programmatically?

Cœur
  • 37,241
  • 25
  • 195
  • 267
Mohamed Heiba
  • 1,813
  • 4
  • 38
  • 67

3 Answers3

4

You cannot programmaticaly change the price of a product using Google Play In-App Billing .You could fix the price in the Android developer Console .If you still want to custom price at the runtime you could use PAYPAL for that :

https://www.x.com/developers/paypal/products/mobile-overview

Navdroid
  • 1,541
  • 3
  • 25
  • 52
3

You cannot use Google Play In-App Billing to make the user pay a custom price.

Moreover you cannot use Google Play In-App Billing to sell physical goods and services like journey tickets:

You can use In-app Billing to sell only digital content. You cannot use In-app Billing to sell physical goods, personal services, or anything that requires physical delivery. Unlike with priced applications, once the user has purchased an in-app product there is no refund window.

http://developer.android.com/google/play/billing/billing_overview.html

SMR
  • 6,628
  • 2
  • 35
  • 56
  • 1
    Also, I believe that Google allows you to sell such physical goods without going through their own billing service, which would seem to save you their 30 percent cut for in-app billing. Don't take my word for this, but that's my understanding. – Carl Apr 29 '13 at 08:02
2

Your use case perfectly fits the Google Wallet Instant Buy API for Android. Google Wallet Instant Buy API for Android is specifically for physical goods and services and has a simple integration into your Android App. It was launched during Google I/O 2013 and you can get an overview at the following blog post:

http://googlecommerce.blogspot.com/2013/05/fast-and-easy-checkout-for-android-apps.html

Also, please checkout the Google I/O Talk on the same topic

https://developers.google.com/events/io/sessions/330844794

Since this is still in beta, if you're interested please sign up using the interest form

http://getinstantbuy.withgoogle.com/

Nagesh Susarla
  • 1,660
  • 10
  • 10