forked from jpcnmm/Scripting
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmojo.vip.js
39 lines (36 loc) · 1.04 KB
/
mojo.vip.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
var obj = JSON.parse($response.body);
obj= {
"request_date_ms": 1572490296249,
"request_date": "2019-10-31T02:51:36Z",
"subscriber": {
"first_seen": "2019-10-12T00:37:49Z",
"original_application_version": "194",
"other_purchases": {
},
"subscriptions": {
"video.mojo.pro.yearly": {
"is_sandbox": false,
"period_type": "trial",
"billing_issues_detected_at": null,
"unsubscribe_detected_at": null,
"expires_date": "2099-12-01T03:51:32Z",
"original_purchase_date": "2019-10-31T02:51:33Z",
"purchase_date": "2019-10-31T02:51:32Z",
"store": "app_store"
}
},
"entitlements": {
"pro": {
"expires_date": "2099-12-01T03:51:32Z",
"product_identifier": "video.mojo.pro.yearly",
"purchase_date": "2019-10-31T02:51:32Z"
}
},
"original_purchase_date": "2019-10-12T00:03:39Z",
"original_app_user_id": "lTNT8zWozfXUzstQM02ZqqkoSh03",
"non_subscriptions": {
}
}
};
$done({body: JSON.stringify(obj)});
// Descriptions