Question

Why the first event is "RENEWAL"?

  • 30 March 2022
  • 1 reply
  • 39 views

Badge +4

Hello.

 

I'm testing AppStore subscription via TestFlight.


I started a subscription via my app.

Then the first notification was "RENEWAL" view WebHook.
I remember PlayStore is start with “INITIAL_PURCHASE".
 

In case of AppStore, is this right?
 

best regards.

 

 


1 reply

Badge +4

This is the first message.

 

{  "api_version": "1.0",  "event": {    "aliases": [      "@@@"    ],    "app_id": "@@@",    "app_user_id": "@@@",    "country_code": "JP",    "currency": "JPY",    "entitlement_id": null,    "entitlement_ids": null,    "environment": "SANDBOX",    "event_timestamp_ms": 1648621675067,    "expiration_at_ms": 1648621849000,    "id": "@@@",    "is_family_share": false,    "is_trial_conversion": false,    "offer_code": null,    "original_app_user_id": "@@@",    "original_transaction_id": "@@@",    "period_type": "NORMAL",    "presented_offering_id": null,    "price": 8.055,    "price_in_purchased_currency": 980,    "product_id": "@@@",    "purchased_at_ms": 1648621669000,    "store": "APP_STORE",    "subscriber_attributes": {},    "takehome_percentage": 0.7,    "transaction_id": "@@@",    "type": "RENEWAL"  }}

 

Reply