Skip to main content
Solved

Webhook PRODUCT_CHANGE entitlement_ids is null

  • September 26, 2021
  • 1 reply
  • 133 views

Forum|alt.badge.img+3

When changing a Stripe subscription the entitlement_ids in the PRODUCT_CHANGE webhook are always null. But all Stripe products are mapped to entitlements.

The webhook:

{
  "api_version": "1.0",
  "event": {
    "aliases": [
      "uQw121nienNLn6WAMns2abjPMAl2"
    ],
    "app_id": "app6e36463a7d",
    "app_user_id": "uQw121nienNLn6WAMns2abjPMAl2",
    "country_code": null,
    "currency": "EUR",
    "entitlement_id": null,
    "entitlement_ids": null,
    "environment": "SANDBOX",
    "event_timestamp_ms": 1632605983882,
    "expiration_at_ms": 1635186961000,
    "id": "061D6082-0653-41F8-ACF0-5575F696B4FA",
    "is_family_share": false,
    "new_product_id": "prod_K9as7Q7v8AdiUJ",
    "offer_code": null,
    "original_app_user_id": "uQw121nienNLn6WAMns2abjPMAl2",
    "original_transaction_id": "si_KIGFeHwEFeth5c",
    "period_type": "NORMAL",
    "presented_offering_id": null,
    "price": 0,
    "price_in_purchased_currency": 0,
    "product_id": "prod_KAFcPrBfELJ4cX",
    "purchased_at_ms": 1632594962000,
    "store": "STRIPE",
    "subscriber_attributes": {
      "$displayName": {
        "updated_at_ms": 1632594865463,
        "value": "Florian Thiel"
      },
      "$email": {
        "updated_at_ms": 1632594865463,
        "value": "thiel.florian@me.com"
      }
    },
    "takehome_percentage": 1,
    "transaction_id": "si_KIGFeHwEFeth5c",
    "type": "PRODUCT_CHANGE"
  }
}

All products are mapped:

 

Best answer by tina

This was reported to engineering. Will post updates here when I hear back.

 

Edit:

This issue has been resolved as of October, 2021.

View original
Did this post help you find an answer to your question?
This post has been closed for comments

1 reply

tina
RevenueCat Staff
Forum|alt.badge.img+10
  • RevenueCat Staff
  • 338 replies
  • Answer
  • September 29, 2021

This was reported to engineering. Will post updates here when I hear back.

 

Edit:

This issue has been resolved as of October, 2021.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings