Transactional Event
This section provides details on the TRANSACTION_PROCESSED event
The Transactional Event is generated by the Purchasely Platform when a transaction occurs and that it involves an amount other than 0 (not for free trials therefore).
It is composed of one event TRANSACTION_PROCESSED which consists in a JSON payload including all the relevant data to get revenue information about the transaction.
| Transaction Event | Used to | Triggered when |
|---|---|---|
TRANSACTION_PROCESSED | Fetch the revenue information associated to a transaction | Every time a paid transaction has been processed by the store (only for subscriptions) |
Why a dedicated TRANSACTION_PROCESSED event?
Since multiple events can be sent for a same interaction (e.g., when a purchase is made with an introductory period, you will receive
ACTIVATE,SUBSCRIPTION_STARTEDandINTRO_PERIOD_STARTED), you could mistakenly count the same amount three times in your revenues.To prevent this, we’ve added a fourth event called
TRANSACTION_PROCESSED, which should be your sole reference for tracking money.
Updated over 1 year ago