Question

Non-Subscription Purchases with Quantity > 1

  • 30 March 2022
  • 1 reply
  • 73 views

Userlevel 1
Badge +5

I’m implementing Non-Subscription Purchases (in Flutter). While testing I discovered that the Google Play store offers an option to select a quantity. When I submit a quantity greater than 1 the webhook JSON and Subscriber Info retrieved by the REST API do not reflect the selected quantity. Am I missing something or is this something that needs to be added to RevenueCat.

I’ve included a picture of the purchase screen and the webhook JSON. You’ll note that the ‘price’ shown in the JSON reflects the amount for a quantity of three, however, there is no other indication that multiple units were selected.

 

 

 

Webhook:

{
"event_timestamp_ms": 1648663628931,
"product_id": "com_phonelynk_prepaid_phonenumber",
"period_type": "NORMAL",
"purchased_at_ms": 1648663624258,
"expiration_at_ms": null,
"environment": "SANDBOX",
"entitlement_id": null,
"entitlement_ids": [
"voice_calls",
"texting"
],
"presented_offering_id": "default_offering",
"transaction_id": "GPA.3327-0411-9732-1xxxx",
"original_transaction_id": "GPA.3327-0411-9732-1xxxx",
"is_family_share": false,
"country_code": "US",
"app_user_id": "61cb305a7714c82ee9af1add",
"aliases": [
"$RCAnonymousID:c7cd01a126b44b08a43fbfabb3463aa3",
"61cb305a7714c82ee9af1add"
],
"original_app_user_id": "61cb305a7714c82ee9af1add",
"currency": "USD",
"price": 14.97,
"price_in_purchased_currency": 14.97,
"subscriber_attributes": {
"$email": {
"value": "tkeith-----@------.com",
"updated_at_ms": 1647979922682
}
},
"store": "PLAY_STORE",
"takehome_percentage": 0.85,
"offer_code": null,
"type": "NON_RENEWING_PURCHASE",
"id": "A872655C-EA99-4B7B-949E-BE1ACF58XXXX",
"app_id": "app06f1a-----"
}

 


1 reply

Userlevel 1
Badge +5

I just discovered that this multiple purchase quantity option can be disabled on the Google Play Console. I have disabled it for now, but it might be a good feature to have.

 

Regards,

Keith B

Reply