X

Sign in

Sign in to confirm

Have you forgotten your password?

... or login with Facebook:

Don't have an AndroidPIT account yet? Sign up

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)