Register now » Login
« Login

Forgotten your password?

Purchase Notification

Using the purchase notification you can get informed about each purchase and return of your apps, and you can automatically send a notification e-mail to the buyer

You can chose one of the following options:

none

No purchase notification

Text

Youʼll receive an e-mail for manual processing.

CSV

Youʼll receive an e-mail containing a CSV file. The CSV file looks like this:

First line:
"transactionId";"appId";"userId";"userName";"status";
"purchased";"purchasedMillis";"refundableUntil";"refundableUntilMillis";
"refunded";"refundedMillis";"purchasedAgain";"purchasedAgainMillis"

Second line:
"4322";"de.androidpit.payapp";"61157";"Sven Woltmann";"REFUNDED";
"2 Dec 2010 14:25:05 GMT";"1291299905000";"";"";
"2 Dec 2010 15:22:03 GMT";"1291303323040";"";""

Youʼll find a description of the field in the next section.

XML

Youʼll receive an e-mail containing an XML file. The CSV file looks like this:

<?xml version="1.0" ?>
<purchase
    transactionId="4321"
    appId="de.androidpit.payapp"
    userId="61157"
    userName="Sven Woltmann"
    status="PURCHASED"
    purchased="2 Dec 2010 14:25:05 GMT"
    purchasedMillis="1291299905000"
    refundableUntil="2 Dec 2010 15:25:05 GMT"
    refundableUntilMillis="1291303505000"
    refunded=""
    refundedMillis=""
    purchasedAgain=""
    purchasedAgainMillis="">
</purchase>

Youʼll find a description of the field in the next section.

Description of the Fields in the CSV/XML File

transactionId Unique transactions ID (required for Buyer Notification)
appId Package name of the app
userId Buyerʼs user ID
userName Buyerʼs name
status Purchase status; one of the following options:
PURCHASED = App was purchased
REFUNDED = App was returned and refunded
PURCHASED_AGAIN = App was purchased a second time and cannot be returned again
purchased Purchase date
purchasedMillis Purchase date in milliseconds since January 1, 1970 00:00:00 GMT
refundableUntil Latest return date
refundableUntilMillis Latest return date in milliseconds since January 1, 1970 00:00:00 GMT
refunded Return date
refundedMillis Return date in milliseconds since January 1, 1970 00:00:00 GMT
purchasedAgain Second purchase date
purchasedAgainMillis Second purchase date in milliseconds since January 1, 1970 00:00:00 GMT

Buyer Notification

The Buyer Notification allows you to automatically send messages to your appʼs buyers. Execute the following HTTP GET or POST request:

URL: http://www.androidpit.com/en/android/apix/buyer-notification

Parameters:

  • tid = Transactions ID from the purchase notification
  • key = Personal Notification Key - you will see this key when activating purchase notification
  • txt = Text to send to the user (URL-encoded when using GET)

Support AndroidPIT

Do you enjoy AndroidPIT? We?re thrilled to have your support! How does it work? Just click on the links below.

Recommend to Others

Enjoy AndroidPIT? Then please let other people know about us!

Questions / Help

Do you have questions about AndroidPIT or simply want to learn more about us? Then you might find the following links helpful.

  You are reading: Android Developers - AndroidPIT. All times are UTC+02:00. The time now is 5:06 PM.