Post

Replies

Boosts

Views

Activity

Subscriptions - In app purchase
I'm having trouble with "Subscriptions" on the Apple Store. Users can purchase multiple courses. Multiple courses can have the same price and use the same "Subscriptions". Suppose I have user A, course C1 costs 200 USD (PRODUCT_ID: 200_USD), course C2 costs 200 USD (PRODUCT_ID: 200_USD). When creating a registration, the json response from apple is all in the in_app section, has the same id_product_id, it is not possible to distinguish which element belongs to course C1, which element belongs to course C2. How do I know which renewal item belongs to course C1 or C2? "in_app": [ { "quantity": "1", "product_id": "200_1jp", "transaction_id": "2000000497632148", "original_transaction_id": "2000000497632148", "purchase_date": "2024-01-11 05:06:49 Etc/GMT", "purchase_date_ms": "1704949609000", "purchase_date_pst": "2024-01-10 21:06:49 America/Los_Angeles", "original_purchase_date": "2024-01-11 05:06:57 Etc/GMT", "original_purchase_date_ms": "1704949617000", "original_purchase_date_pst": "2024-01-10 21:06:57 America/Los_Angeles", "expires_date": "2024-01-11 05:21:49 Etc/GMT", "expires_date_ms": "1704950509000", "expires_date_pst": "2024-01-10 21:21:49 America/Los_Angeles", "web_order_line_item_id": "2000000047929472", "is_trial_period": "false", "is_in_intro_offer_period": "false", "in_app_ownership_type": "PURCHASED" }, { "quantity": "1", "product_id": "200_1jp", "transaction_id": "2000000497640048", "original_transaction_id": "2000000497632148", "purchase_date": "2024-01-11 05:22:32 Etc/GMT", "purchase_date_ms": "1704950552000", "purchase_date_pst": "2024-01-10 21:22:32 America/Los_Angeles", "original_purchase_date": "2024-01-11 05:06:57 Etc/GMT", "original_purchase_date_ms": "1704949617000", "original_purchase_date_pst": "2024-01-10 21:06:57 America/Los_Angeles", "expires_date": "2024-01-11 05:37:32 Etc/GMT", "expires_date_ms": "1704951452000", "expires_date_pst": "2024-01-10 21:37:32 America/Los_Angeles", "web_order_line_item_id": "2000000047929473", "is_trial_period": "false", "is_in_intro_offer_period": "false", "in_app_ownership_type": "PURCHASED" },
1
0
371
Jan ’24