Skip to main content
Question

Why the "price" will be null?


Forum|alt.badge.img+4

Hello.

 

I'm testing in sandbox with AppStore.

 

I was trying to test my some subscription plans yesterday.

Almost of all are success.
But one of them was failure, because I received a response below.

I mean, "type" is "RENEW", but "price" and “price_in_purchased_currency" are null.

 

Today I was re-try to test the same subscription plan.

It was success.

 

Which kind of cases, is the price will be null?

 

response: yesterday

{
  "api_version": "1.0",
  "event": {
    "aliases": [
      “hogehoge"
    ],
    "app_id": “hogehoge",
    "app_user_id": “hogehoge",
    "country_code": "JP",
    "currency": "USD",
    "entitlement_id": null,
    "entitlement_ids": [
      "Subscriptions"
    ],
    "environment": "SANDBOX",
    "event_timestamp_ms": 1649142391767,
    "expiration_at_ms": 1649144185000,
    "id": “hogehoge",
    "is_family_share": false,
    "is_trial_conversion": false,
    "offer_code": null,
    "original_app_user_id": “hogehoge",
    "original_transaction_id": "1000000787260771",
    "period_type": "NORMAL",
    "presented_offering_id": null,
    "price": null,
    "price_in_purchased_currency": null,
    "product_id": “hogehoge",
    "purchased_at_ms": 1649142385000,
    "store": "APP_STORE",
    "subscriber_attributes": {},
    "takehome_percentage": 0.7,
    "transaction_id": "2000000025944451",
    "type": "RENEWAL"
  }
}

 

response:today

{  "api_version": "1.0",  "event": {    "aliases": [      “hogehoge"    ],    "app_id": “hogehoge",    "app_user_id": “hogehoge",    "country_code": "JP",    "currency": "JPY",    "entitlement_id": null,    "entitlement_ids": [      "Subscriptions"    ],    "environment": "SANDBOX",    "event_timestamp_ms": 1649201204746,    "expiration_at_ms": 1649202999000,    "id": “hogehoge",    "is_family_share": false,    "is_trial_conversion": false,    "offer_code": null,    "original_app_user_id": “hogehoge",    "original_transaction_id": "1000000787260771",    "period_type": "NORMAL",    "presented_offering_id": null,    "price": 137.047,    "price_in_purchased_currency": 16800,    "product_id": “hogehoge",    "purchased_at_ms": 1649201199000,    "store": "APP_STORE",    "subscriber_attributes": {},    "takehome_percentage": 0.7,    "transaction_id": "2000000026559961",    "type": "RENEWAL"  }}

 

best regards

 

0 replies

Be the first to reply!

Reply


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