Triggered when a Wix user purchases a paid plan for your app.
Date and time of purchase.
Purchased app plan.
Selected payment cycle.
Plan expiration date.
Coupon applied to purchase (if relevant).
Invoice ID.
The data payload will include the following as an encoded JWT:
{
"data": {
"eventType": "PaidPlanPurchased",
"instanceId": "<app-instance-id>",
"data": "<stringified-JSON>",
// The identity field is sent as a stringified JSON
"identity": {
"identityType": "<identityType>", // ANONYMOUS_VISITOR, MEMBER, WIX_USER, APP
"anonymousVisitorId": "<anonymousVisitorId>", // in case of ANONYMOUS_VISITOR
"memberId": "<memberId>", // in case of MEMBER
"wixUserId": "<wixUserId>", // in case of WIX_USER
"appId": "<appId>" // in case of APP
}
}
}
{
"operationTimeStamp": "2019-12-09T07:44:53.659Z",
"vendorProductId": "e8f429d5-0a6a-468f-8044-87f519a53202",
"cycle": "MONTHLY",
"expiresOn": "2020-01-09T07:44:53Z"
}