Skip to content

Commit e4ef10b

Browse files
authored
Merge pull request #31 from readdle/3.12.0_add_notification_type_one_time_charge
3.12.0 - Add notification type ONE_TIME_CHARGE
2 parents 257298f + d5e9ef1 commit e4ef10b

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
### [3.12.0] 2025/05/22
2+
3+
**IMPROVEMENTS:**
4+
5+
- New `notificationType` = `ONE_TIME_CHARGE` in `ResponseBodyV2`
6+
17
### [3.11.1] 2025/03/24
28

39
**BUGFIX:**

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"php"
2424
],
2525
"homepage": "https://github.com/readdle/app-store-server-api",
26-
"version": "3.11.1",
26+
"version": "3.12.0",
2727
"php": ">=7.4",
2828
"autoload": {
2929
"psr-4": {

src/ResponseBodyV2.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,13 @@ final class ResponseBodyV2 implements JsonSerializable
170170
*/
171171
const NOTIFICATION_TYPE__SUBSCRIBED = 'SUBSCRIBED';
172172

173+
/**
174+
* A notification type that indicates the customer purchased a consumable, non-consumable, or non-renewing
175+
* subscription. The App Store also sends this notification when the customer receives access to a non-consumable
176+
* product through Family Sharing.
177+
*/
178+
const NOTIFICATION_TYPE__ONE_TIME_CHARGE = 'ONE_TIME_CHARGE';
179+
173180
/**
174181
* A notification type that the App Store server sends when you request it by calling the Request a Test
175182
* Notification endpoint. Call that endpoint to test whether your server is receiving notifications. You receive

0 commit comments

Comments
 (0)