backend-manager 5.9.4 → 5.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +6 -0
- package/package.json +8 -1
- package/src/cli/commands/install.js +4 -3
- package/src/cli/commands/setup-tests/backend-manager.js +2 -1
- package/src/cli/commands/setup-tests/firebase-admin.js +2 -1
- package/src/cli/commands/setup-tests/firebase-functions.js +2 -1
- package/src/cli/utils/safe-install.js +13 -0
- package/src/manager/routes/payments/cancel/post.js +22 -2
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-11T03-28-07/metadata.json +14 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-11T03-28-07/newsletter.html +486 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-11T03-28-07/newsletter.md +41 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-11T03-28-07/newsletter.mjml +97 -0
- package/{test/email/fixtures/clean.json → src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-11T03-28-07/structure.json} +16 -4
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-11T03-28-07/summary.md +1 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-00-28/metadata.json +14 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-00-28/newsletter.html +486 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-00-28/newsletter.md +41 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-00-28/newsletter.mjml +97 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-00-28/structure.json +42 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-00-28/summary.md +1 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-01-34/metadata.json +14 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-01-34/newsletter.html +486 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-01-34/newsletter.md +41 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-01-34/newsletter.mjml +97 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-01-34/structure.json +42 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-01-34/summary.md +1 -0
- package/src/test/fixtures/firebase-project/.temp/test-mode.json +6 -0
- package/src/test/fixtures/firebase-project/database-debug.log +12 -0
- package/src/test/fixtures/firebase-project/firestore-debug.log +136 -0
- package/src/test/fixtures/firebase-project/pubsub-debug.log +17 -0
- package/src/test/test-accounts.js +9 -0
- package/.codeclimate.yml +0 -32
- package/.nvmrc +0 -1
- package/CHANGELOG.md +0 -1432
- package/PROGRESS.md +0 -86
- package/TODO-2.md +0 -121
- package/TODO-CHARGEBLAST.md +0 -32
- package/TODO-WEBHOOK-KEY-LEGACY-REMOVAL.md +0 -15
- package/TODO-WEBHOOK-KEY-UPGRADE.md +0 -138
- package/TODO-email-auth.md +0 -14
- package/TODO.md +0 -187
- package/plans/mcp2.md +0 -247
- package/scripts/test-helper-providers.js +0 -162
- package/scripts/update-disposable-domains.js +0 -44
- package/templates/_.env +0 -42
- package/templates/_.gitignore +0 -60
- package/templates/backend-manager-config.json +0 -249
- package/templates/database.rules.json +0 -83
- package/templates/firebase.json +0 -66
- package/templates/firestore.indexes.json +0 -4
- package/templates/firestore.rules +0 -112
- package/templates/public/404.html +0 -26
- package/templates/public/index.html +0 -24
- package/templates/remoteconfig.template.json +0 -1
- package/templates/storage-lifecycle-config-1-day.json +0 -9
- package/templates/storage-lifecycle-config-30-days.json +0 -9
- package/templates/storage.rules +0 -8
- package/test/_init/accounts-validation.js +0 -58
- package/test/_legacy/ai/index.js +0 -231
- package/test/_legacy/ai/test.jpg +0 -0
- package/test/_legacy/ai/test.pdf +0 -0
- package/test/_legacy/index.js +0 -31
- package/test/_legacy/payment-resolver/chargebee/orders/refunded.json +0 -0
- package/test/_legacy/payment-resolver/chargebee/orders/unpaid.json +0 -98
- package/test/_legacy/payment-resolver/chargebee/subscriptions/active.json +0 -578
- package/test/_legacy/payment-resolver/chargebee/subscriptions/trial-in-trial.json +0 -38
- package/test/_legacy/payment-resolver/chargebee/subscriptions/trial-skipped-to-active.json +0 -135
- package/test/_legacy/payment-resolver/chargebee/subscriptions/trial-to-active-to-cancelled.json +0 -42
- package/test/_legacy/payment-resolver/chargebee/subscriptions/trial-to-active.json +0 -44
- package/test/_legacy/payment-resolver/chargebee/subscriptions/trial-to-cancelled.json +0 -39
- package/test/_legacy/payment-resolver/chargebee/subscriptions/trial-to-refund.json +0 -143
- package/test/_legacy/payment-resolver/chargebee/subscriptions/trial-to-suspended.json +0 -48
- package/test/_legacy/payment-resolver/coinbase/orders/regular.json +0 -204
- package/test/_legacy/payment-resolver/coinbase/subscriptions/cancelled.json +0 -204
- package/test/_legacy/payment-resolver/coinbase/subscriptions/paid-2.json +0 -125
- package/test/_legacy/payment-resolver/index.js +0 -1558
- package/test/_legacy/payment-resolver/paypal/orders/refunded.json +0 -0
- package/test/_legacy/payment-resolver/paypal/orders/regular.json +0 -120
- package/test/_legacy/payment-resolver/paypal/subscriptions/active-refund-previous-stmnt.json +0 -323
- package/test/_legacy/payment-resolver/paypal/subscriptions/active.json +0 -192
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-in-trial.json +0 -125
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-payment-not-complete.json +0 -76
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-payment-overdue-2.json +0 -114
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-payment-overdue.json +0 -114
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-to-active-to-cancelled.json +0 -111
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-to-active.json +0 -132
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-to-cancelled.json +0 -107
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-to-expired.json +0 -91
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-to-refund.json +0 -147
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-to-suspended.json +0 -120
- package/test/_legacy/payment-resolver/stripe/orders/refunded.json +0 -0
- package/test/_legacy/payment-resolver/stripe/orders/regular.json +0 -91
- package/test/_legacy/payment-resolver/stripe/subscriptions/active.json +0 -421
- package/test/_legacy/payment-resolver/stripe/subscriptions/trial-in-trial.json +0 -349
- package/test/_legacy/payment-resolver/stripe/subscriptions/trial-to-active-failed-authorization.json +0 -430
- package/test/_legacy/payment-resolver/stripe/subscriptions/trial-to-active.json +0 -319
- package/test/_legacy/payment-resolver/stripe/subscriptions/trial-to-cancelled.json +0 -319
- package/test/_legacy/payment-resolver/stripe/subscriptions/trial-to-refund.json +0 -414
- package/test/_legacy/payment-resolver/stripe/subscriptions/trial-to-suspended.json +0 -319
- package/test/_legacy/payment-resolver/stripe/subscriptions/unsure.json +0 -339
- package/test/_legacy/test-new +0 -1178
- package/test/_legacy/test.md +0 -89
- package/test/_legacy/usage.js +0 -175
- package/test/_legacy/user.js +0 -31
- package/test/ai/tools-live.js +0 -170
- package/test/boot/emulator-boots.js +0 -37
- package/test/content/blog-generate.js +0 -160
- package/test/email/campaign-send.js +0 -45
- package/test/email/consent-lifecycle.js +0 -257
- package/test/email/feedback-and-plain-send.js +0 -52
- package/test/email/fixtures/editorial.json +0 -30
- package/test/email/fixtures/field-report.json +0 -53
- package/test/email/marketing-lifecycle.js +0 -132
- package/test/email/newsletter-generate.js +0 -819
- package/test/email/newsletter-templates.js +0 -491
- package/test/email/templates.js +0 -207
- package/test/email/transactional-send.js +0 -34
- package/test/email/transactional.js +0 -560
- package/test/email/validation.js +0 -710
- package/test/events/auth-delete-race.js +0 -201
- package/test/events/payments/journey-payments-cancel-endpoint.js +0 -100
- package/test/events/payments/journey-payments-cancel.js +0 -182
- package/test/events/payments/journey-payments-discount.js +0 -89
- package/test/events/payments/journey-payments-failure.js +0 -146
- package/test/events/payments/journey-payments-legacy-product.js +0 -149
- package/test/events/payments/journey-payments-one-time-failure.js +0 -111
- package/test/events/payments/journey-payments-one-time.js +0 -136
- package/test/events/payments/journey-payments-plan-change.js +0 -144
- package/test/events/payments/journey-payments-refund-webhook.js +0 -180
- package/test/events/payments/journey-payments-suspend.js +0 -181
- package/test/events/payments/journey-payments-trial-cancel.js +0 -130
- package/test/events/payments/journey-payments-trial.js +0 -171
- package/test/events/payments/journey-payments-uid-resolution.js +0 -132
- package/test/events/payments/journey-payments-upgrade.js +0 -135
- package/test/fixtures/chargebee/invoice-one-time.json +0 -27
- package/test/fixtures/chargebee/subscription-active.json +0 -44
- package/test/fixtures/chargebee/subscription-cancelled.json +0 -42
- package/test/fixtures/chargebee/subscription-in-trial.json +0 -41
- package/test/fixtures/chargebee/subscription-legacy-plan.json +0 -41
- package/test/fixtures/chargebee/subscription-non-renewing.json +0 -41
- package/test/fixtures/chargebee/subscription-paused.json +0 -42
- package/test/fixtures/chargebee/webhook-payment-failed.json +0 -51
- package/test/fixtures/chargebee/webhook-subscription-created.json +0 -47
- package/test/fixtures/paypal/order-approved.json +0 -62
- package/test/fixtures/paypal/order-completed.json +0 -110
- package/test/fixtures/paypal/subscription-active.json +0 -76
- package/test/fixtures/paypal/subscription-cancelled.json +0 -50
- package/test/fixtures/paypal/subscription-suspended.json +0 -65
- package/test/fixtures/stripe/checkout-session-completed.json +0 -130
- package/test/fixtures/stripe/invoice-payment-failed.json +0 -148
- package/test/fixtures/stripe/invoice-subscription-payment-failed.json +0 -28
- package/test/fixtures/stripe/subscription-active.json +0 -161
- package/test/fixtures/stripe/subscription-canceled.json +0 -161
- package/test/fixtures/stripe/subscription-trialing.json +0 -161
- package/test/functions/admin/database-read.js +0 -134
- package/test/functions/admin/database-write.js +0 -159
- package/test/functions/admin/edit-post.js +0 -366
- package/test/functions/admin/firestore-query.js +0 -207
- package/test/functions/admin/firestore-read.js +0 -129
- package/test/functions/admin/firestore-write.js +0 -105
- package/test/functions/admin/get-stats.js +0 -115
- package/test/functions/admin/send-email.js +0 -119
- package/test/functions/admin/send-notification.js +0 -208
- package/test/functions/admin/write-repo-content.js +0 -223
- package/test/functions/general/add-marketing-contact.js +0 -335
- package/test/functions/general/fetch-post.js +0 -54
- package/test/functions/general/generate-uuid.js +0 -114
- package/test/functions/test/authenticate.js +0 -64
- package/test/functions/user/create-custom-token.js +0 -73
- package/test/functions/user/delete.js +0 -135
- package/test/functions/user/get-active-sessions.js +0 -111
- package/test/functions/user/get-subscription-info.js +0 -99
- package/test/functions/user/regenerate-api-keys.js +0 -156
- package/test/functions/user/resolve.js +0 -52
- package/test/functions/user/sign-out-all-sessions.js +0 -94
- package/test/functions/user/sign-up.js +0 -252
- package/test/functions/user/submit-feedback.js +0 -104
- package/test/functions/user/validate-settings.js +0 -82
- package/test/helpers/ai-request-payload.js +0 -300
- package/test/helpers/ai-test-provider.js +0 -202
- package/test/helpers/ai-tools-format.js +0 -383
- package/test/helpers/content/blog-auto-publisher.js +0 -484
- package/test/helpers/content/feed-parser.js +0 -528
- package/test/helpers/content/ghostii-blocks.js +0 -134
- package/test/helpers/content/ghostii-feed-integration.js +0 -404
- package/test/helpers/content/ghostii-write-article.js +0 -243
- package/test/helpers/environment.js +0 -230
- package/test/helpers/infer-contact.js +0 -113
- package/test/helpers/merge-line-files.js +0 -271
- package/test/helpers/payment/chargebee/parse-webhook.js +0 -413
- package/test/helpers/payment/chargebee/to-unified-one-time.js +0 -147
- package/test/helpers/payment/chargebee/to-unified-subscription.js +0 -648
- package/test/helpers/payment/paypal/parse-webhook.js +0 -539
- package/test/helpers/payment/paypal/to-unified-one-time.js +0 -382
- package/test/helpers/payment/paypal/to-unified-subscription.js +0 -820
- package/test/helpers/payment/stripe/parse-webhook.js +0 -447
- package/test/helpers/payment/stripe/to-unified-one-time.js +0 -306
- package/test/helpers/payment/stripe/to-unified-subscription.js +0 -708
- package/test/helpers/sanitize.js +0 -222
- package/test/helpers/slugify.js +0 -394
- package/test/helpers/storage.js +0 -194
- package/test/helpers/user.js +0 -755
- package/test/helpers/webhook-forward.js +0 -418
- package/test/mcp/discovery.js +0 -53
- package/test/mcp/oauth.js +0 -161
- package/test/mcp/protocol.js +0 -268
- package/test/mcp/roles.js +0 -188
- package/test/mcp/utils.js +0 -245
- package/test/routes/admin/create-post.js +0 -364
- package/test/routes/admin/database.js +0 -131
- package/test/routes/admin/deduplicate-image-alts.js +0 -190
- package/test/routes/admin/email.js +0 -114
- package/test/routes/admin/firestore-query.js +0 -204
- package/test/routes/admin/firestore.js +0 -127
- package/test/routes/admin/infer-contact.js +0 -218
- package/test/routes/admin/notification.js +0 -198
- package/test/routes/admin/post-resize-image.js +0 -184
- package/test/routes/admin/post.js +0 -368
- package/test/routes/admin/repo-content.js +0 -223
- package/test/routes/admin/stats.js +0 -112
- package/test/routes/content/post.js +0 -54
- package/test/routes/general/uuid.js +0 -115
- package/test/routes/marketing/campaign.js +0 -125
- package/test/routes/marketing/contact.js +0 -370
- package/test/routes/marketing/email-preferences.js +0 -292
- package/test/routes/marketing/push-send.js +0 -32
- package/test/routes/marketing/webhook-forward.js +0 -61
- package/test/routes/marketing/webhook.js +0 -639
- package/test/routes/payments/cancel.js +0 -140
- package/test/routes/payments/discount.js +0 -80
- package/test/routes/payments/dispute-alert.js +0 -320
- package/test/routes/payments/intent.js +0 -336
- package/test/routes/payments/portal.js +0 -92
- package/test/routes/payments/refund.js +0 -179
- package/test/routes/payments/trial-eligibility.js +0 -71
- package/test/routes/payments/webhook.js +0 -107
- package/test/routes/test/authenticate.js +0 -59
- package/test/routes/test/schema.js +0 -554
- package/test/routes/test/usage.js +0 -342
- package/test/routes/user/api-keys.js +0 -156
- package/test/routes/user/delete.js +0 -136
- package/test/routes/user/feedback.js +0 -104
- package/test/routes/user/sessions.js +0 -199
- package/test/routes/user/settings-validate.js +0 -82
- package/test/routes/user/signup.js +0 -542
- package/test/routes/user/subscription.js +0 -99
- package/test/routes/user/token.js +0 -73
- package/test/routes/user/user.js +0 -157
- package/test/rules/notifications.js +0 -410
- package/test/rules/payments-carts.js +0 -371
- package/test/rules/user.js +0 -396
|
File without changes
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "5CA68427PY850452F",
|
|
3
|
-
"intent": "CAPTURE",
|
|
4
|
-
"status": "COMPLETED",
|
|
5
|
-
"payment_source": {
|
|
6
|
-
"paypal": {
|
|
7
|
-
"email_address": "client@gmail.com",
|
|
8
|
-
"account_id": "DQ3E2AURE5JJN",
|
|
9
|
-
"name": {
|
|
10
|
-
"given_name": "Test",
|
|
11
|
-
"surname": "Lastname"
|
|
12
|
-
},
|
|
13
|
-
"address": {
|
|
14
|
-
"country_code": "US"
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"purchase_units": [
|
|
19
|
-
{
|
|
20
|
-
"reference_id": "default",
|
|
21
|
-
"amount": {
|
|
22
|
-
"currency_code": "USD",
|
|
23
|
-
"value": "1.00"
|
|
24
|
-
},
|
|
25
|
-
"payee": {
|
|
26
|
-
"email_address": "client@gmail.com",
|
|
27
|
-
"merchant_id": "7DH38EWJF939D"
|
|
28
|
-
},
|
|
29
|
-
"description": "Spotify Playlist",
|
|
30
|
-
"custom_id": "1682566496984-0545",
|
|
31
|
-
"soft_descriptor": "PAYPAL *ITWCW SPOTIFY ",
|
|
32
|
-
"shipping": {
|
|
33
|
-
"name": {
|
|
34
|
-
"full_name": "Test Lastname"
|
|
35
|
-
},
|
|
36
|
-
"address": {
|
|
37
|
-
"address_line_1": "1234 Main Street",
|
|
38
|
-
"admin_area_2": "Los Angeles",
|
|
39
|
-
"admin_area_1": "CA",
|
|
40
|
-
"postal_code": "90000",
|
|
41
|
-
"country_code": "US"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"payments": {
|
|
45
|
-
"captures": [
|
|
46
|
-
{
|
|
47
|
-
"id": "1HG55291LY6744213",
|
|
48
|
-
"status": "COMPLETED",
|
|
49
|
-
"amount": {
|
|
50
|
-
"currency_code": "USD",
|
|
51
|
-
"value": "1.00"
|
|
52
|
-
},
|
|
53
|
-
"final_capture": true,
|
|
54
|
-
"seller_protection": {
|
|
55
|
-
"status": "ELIGIBLE",
|
|
56
|
-
"dispute_categories": [
|
|
57
|
-
"ITEM_NOT_RECEIVED",
|
|
58
|
-
"UNAUTHORIZED_TRANSACTION"
|
|
59
|
-
]
|
|
60
|
-
},
|
|
61
|
-
"seller_receivable_breakdown": {
|
|
62
|
-
"gross_amount": {
|
|
63
|
-
"currency_code": "USD",
|
|
64
|
-
"value": "1.00"
|
|
65
|
-
},
|
|
66
|
-
"paypal_fee": {
|
|
67
|
-
"currency_code": "USD",
|
|
68
|
-
"value": "0.52"
|
|
69
|
-
},
|
|
70
|
-
"net_amount": {
|
|
71
|
-
"currency_code": "USD",
|
|
72
|
-
"value": "0.48"
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
"custom_id": "1682566496984-0545",
|
|
76
|
-
"links": [
|
|
77
|
-
{
|
|
78
|
-
"href": "https://api.paypal.com/v2/payments/captures/1HG55291LY6744213",
|
|
79
|
-
"rel": "self",
|
|
80
|
-
"method": "GET"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"href": "https://api.paypal.com/v2/payments/captures/1HG55291LY6744213/refund",
|
|
84
|
-
"rel": "refund",
|
|
85
|
-
"method": "POST"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"href": "https://api.paypal.com/v2/checkout/orders/5CA68427PY850452F",
|
|
89
|
-
"rel": "up",
|
|
90
|
-
"method": "GET"
|
|
91
|
-
}
|
|
92
|
-
],
|
|
93
|
-
"create_time": "2023-04-27T03:40:38Z",
|
|
94
|
-
"update_time": "2023-04-27T03:40:38Z"
|
|
95
|
-
}
|
|
96
|
-
]
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
],
|
|
100
|
-
"payer": {
|
|
101
|
-
"name": {
|
|
102
|
-
"given_name": "Test",
|
|
103
|
-
"surname": "Lastname"
|
|
104
|
-
},
|
|
105
|
-
"email_address": "customer@gmail.com",
|
|
106
|
-
"payer_id": "98FJ29FJ389TH",
|
|
107
|
-
"address": {
|
|
108
|
-
"country_code": "US"
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
"create_time": "2023-04-27T03:39:50Z",
|
|
112
|
-
"update_time": "2023-04-27T03:40:38Z",
|
|
113
|
-
"links": [
|
|
114
|
-
{
|
|
115
|
-
"href": "https://api.paypal.com/v2/checkout/orders/5CA68427PY850452F",
|
|
116
|
-
"rel": "self",
|
|
117
|
-
"method": "GET"
|
|
118
|
-
}
|
|
119
|
-
]
|
|
120
|
-
}
|
package/test/_legacy/payment-resolver/paypal/subscriptions/active-refund-previous-stmnt.json
DELETED
|
@@ -1,323 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"status": "ACTIVE",
|
|
3
|
-
"status_update_time": "2024-01-18T12:32:53Z",
|
|
4
|
-
"id": "I-PXC8BVN91X5W",
|
|
5
|
-
"plan_id": "P-10V185024H967894YMBE2XEQ",
|
|
6
|
-
"start_time": "2023-02-12T13:34:46Z",
|
|
7
|
-
"quantity": "1",
|
|
8
|
-
"shipping_amount": {
|
|
9
|
-
"currency_code": "USD",
|
|
10
|
-
"value": "0.0"
|
|
11
|
-
},
|
|
12
|
-
"subscriber": {
|
|
13
|
-
"email_address": "valueyournetwork@gmail.com",
|
|
14
|
-
"payer_id": "CVPVMLXCN65JU",
|
|
15
|
-
"name": {
|
|
16
|
-
"given_name": "Bertrand",
|
|
17
|
-
"surname": "Dolbeau"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"billing_info": {
|
|
21
|
-
"outstanding_balance": {
|
|
22
|
-
"currency_code": "USD",
|
|
23
|
-
"value": "0.0"
|
|
24
|
-
},
|
|
25
|
-
"cycle_executions": [{
|
|
26
|
-
"tenure_type": "REGULAR",
|
|
27
|
-
"sequence": 1,
|
|
28
|
-
"cycles_completed": 12,
|
|
29
|
-
"cycles_remaining": 0,
|
|
30
|
-
"current_pricing_scheme_version": 2,
|
|
31
|
-
"total_cycles": 0
|
|
32
|
-
}],
|
|
33
|
-
"last_payment": {
|
|
34
|
-
"amount": {
|
|
35
|
-
"currency_code": "USD",
|
|
36
|
-
"value": "19.95"
|
|
37
|
-
},
|
|
38
|
-
"time": "2024-01-12T10:29:45Z"
|
|
39
|
-
},
|
|
40
|
-
"failed_payments_count": 0
|
|
41
|
-
},
|
|
42
|
-
"create_time": "2023-02-12T13:35:12Z",
|
|
43
|
-
"update_time": "2024-01-18T12:32:53Z",
|
|
44
|
-
"custom_id": "1676208874533-0516",
|
|
45
|
-
"plan_overridden": false,
|
|
46
|
-
"plan": {
|
|
47
|
-
"product_id": "somiibo-premium-1",
|
|
48
|
-
"name": "Somiibo Premium (Monthly)",
|
|
49
|
-
"description": "A free social media automation platform that organically grows your online presence and gets you more followers.",
|
|
50
|
-
"billing_cycles": [{
|
|
51
|
-
"pricing_scheme": {
|
|
52
|
-
"fixed_price": {
|
|
53
|
-
"currency_code": "USD",
|
|
54
|
-
"value": "19.95"
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"frequency": {
|
|
58
|
-
"interval_unit": "MONTH",
|
|
59
|
-
"interval_count": 1
|
|
60
|
-
},
|
|
61
|
-
"tenure_type": "REGULAR",
|
|
62
|
-
"sequence": 1,
|
|
63
|
-
"total_cycles": 0
|
|
64
|
-
}],
|
|
65
|
-
"payment_preferences": {
|
|
66
|
-
"service_type": "PREPAID",
|
|
67
|
-
"auto_bill_outstanding": true,
|
|
68
|
-
"setup_fee": {
|
|
69
|
-
"currency_code": "USD",
|
|
70
|
-
"value": "0.0"
|
|
71
|
-
},
|
|
72
|
-
"setup_fee_failure_action": "CANCEL",
|
|
73
|
-
"payment_failure_threshold": 0
|
|
74
|
-
},
|
|
75
|
-
"quantity_supported": true
|
|
76
|
-
},
|
|
77
|
-
"links": [{
|
|
78
|
-
"href": "https://api.paypal.com/v1/billing/subscriptions/I-PXC8BVN91X5W?fields=plan",
|
|
79
|
-
"rel": "self",
|
|
80
|
-
"method": "GET"
|
|
81
|
-
}],
|
|
82
|
-
"transactions": [{
|
|
83
|
-
"status": "HELD",
|
|
84
|
-
"id": "5VJ49181YC978572C",
|
|
85
|
-
"amount_with_breakdown": {
|
|
86
|
-
"gross_amount": {
|
|
87
|
-
"currency_code": "USD",
|
|
88
|
-
"value": "19.95"
|
|
89
|
-
},
|
|
90
|
-
"fee_amount": {
|
|
91
|
-
"currency_code": "USD",
|
|
92
|
-
"value": "1.49"
|
|
93
|
-
},
|
|
94
|
-
"net_amount": {
|
|
95
|
-
"currency_code": "USD",
|
|
96
|
-
"value": "18.46"
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
"payer_name": {},
|
|
100
|
-
"payer_email": "valueyournetwork@gmail.com",
|
|
101
|
-
"time": "2024-01-12T10:29:45.000Z"
|
|
102
|
-
}, {
|
|
103
|
-
"status": "COMPLETED",
|
|
104
|
-
"id": "76E70166T15960016",
|
|
105
|
-
"amount_with_breakdown": {
|
|
106
|
-
"gross_amount": {
|
|
107
|
-
"currency_code": "USD",
|
|
108
|
-
"value": "19.95"
|
|
109
|
-
},
|
|
110
|
-
"fee_amount": {
|
|
111
|
-
"currency_code": "USD",
|
|
112
|
-
"value": "1.49"
|
|
113
|
-
},
|
|
114
|
-
"net_amount": {
|
|
115
|
-
"currency_code": "USD",
|
|
116
|
-
"value": "18.46"
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
"payer_name": {},
|
|
120
|
-
"payer_email": "valueyournetwork@gmail.com",
|
|
121
|
-
"time": "2023-12-12T11:07:05.000Z"
|
|
122
|
-
}, {
|
|
123
|
-
"status": "COMPLETED",
|
|
124
|
-
"id": "10E00037LN3466131",
|
|
125
|
-
"amount_with_breakdown": {
|
|
126
|
-
"gross_amount": {
|
|
127
|
-
"currency_code": "USD",
|
|
128
|
-
"value": "19.95"
|
|
129
|
-
},
|
|
130
|
-
"fee_amount": {
|
|
131
|
-
"currency_code": "USD",
|
|
132
|
-
"value": "1.49"
|
|
133
|
-
},
|
|
134
|
-
"net_amount": {
|
|
135
|
-
"currency_code": "USD",
|
|
136
|
-
"value": "18.46"
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
"payer_name": {},
|
|
140
|
-
"payer_email": "valueyournetwork@gmail.com",
|
|
141
|
-
"time": "2023-11-12T11:22:39.000Z"
|
|
142
|
-
}, {
|
|
143
|
-
"status": "COMPLETED",
|
|
144
|
-
"id": "02D13956H0210330C",
|
|
145
|
-
"amount_with_breakdown": {
|
|
146
|
-
"gross_amount": {
|
|
147
|
-
"currency_code": "USD",
|
|
148
|
-
"value": "19.95"
|
|
149
|
-
},
|
|
150
|
-
"fee_amount": {
|
|
151
|
-
"currency_code": "USD",
|
|
152
|
-
"value": "1.49"
|
|
153
|
-
},
|
|
154
|
-
"net_amount": {
|
|
155
|
-
"currency_code": "USD",
|
|
156
|
-
"value": "18.46"
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
"payer_name": {},
|
|
160
|
-
"payer_email": "valueyournetwork@gmail.com",
|
|
161
|
-
"time": "2023-10-12T11:20:24.000Z"
|
|
162
|
-
}, {
|
|
163
|
-
"status": "REFUNDED",
|
|
164
|
-
"id": "13X09084AW3591226",
|
|
165
|
-
"amount_with_breakdown": {
|
|
166
|
-
"gross_amount": {
|
|
167
|
-
"currency_code": "USD",
|
|
168
|
-
"value": "19.95"
|
|
169
|
-
},
|
|
170
|
-
"fee_amount": {
|
|
171
|
-
"currency_code": "USD",
|
|
172
|
-
"value": "1.49"
|
|
173
|
-
},
|
|
174
|
-
"net_amount": {
|
|
175
|
-
"currency_code": "USD",
|
|
176
|
-
"value": "18.46"
|
|
177
|
-
}
|
|
178
|
-
},
|
|
179
|
-
"payer_name": {},
|
|
180
|
-
"payer_email": "valueyournetwork@gmail.com",
|
|
181
|
-
"time": "2023-09-12T11:30:15.000Z"
|
|
182
|
-
}, {
|
|
183
|
-
"status": "REFUNDED",
|
|
184
|
-
"id": "7WK170085B2522010",
|
|
185
|
-
"amount_with_breakdown": {
|
|
186
|
-
"gross_amount": {
|
|
187
|
-
"currency_code": "USD",
|
|
188
|
-
"value": "19.95"
|
|
189
|
-
},
|
|
190
|
-
"fee_amount": {
|
|
191
|
-
"currency_code": "USD",
|
|
192
|
-
"value": "1.49"
|
|
193
|
-
},
|
|
194
|
-
"net_amount": {
|
|
195
|
-
"currency_code": "USD",
|
|
196
|
-
"value": "18.46"
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
"payer_name": {},
|
|
200
|
-
"payer_email": "valueyournetwork@gmail.com",
|
|
201
|
-
"time": "2023-08-12T10:46:12.000Z"
|
|
202
|
-
}, {
|
|
203
|
-
"status": "REFUNDED",
|
|
204
|
-
"id": "67C16195BG287701E",
|
|
205
|
-
"amount_with_breakdown": {
|
|
206
|
-
"gross_amount": {
|
|
207
|
-
"currency_code": "USD",
|
|
208
|
-
"value": "19.95"
|
|
209
|
-
},
|
|
210
|
-
"fee_amount": {
|
|
211
|
-
"currency_code": "USD",
|
|
212
|
-
"value": "1.49"
|
|
213
|
-
},
|
|
214
|
-
"net_amount": {
|
|
215
|
-
"currency_code": "USD",
|
|
216
|
-
"value": "18.46"
|
|
217
|
-
}
|
|
218
|
-
},
|
|
219
|
-
"payer_name": {},
|
|
220
|
-
"payer_email": "valueyournetwork@gmail.com",
|
|
221
|
-
"time": "2023-07-12T10:48:22.000Z"
|
|
222
|
-
}, {
|
|
223
|
-
"status": "COMPLETED",
|
|
224
|
-
"id": "03G34761BH814324U",
|
|
225
|
-
"amount_with_breakdown": {
|
|
226
|
-
"gross_amount": {
|
|
227
|
-
"currency_code": "USD",
|
|
228
|
-
"value": "19.95"
|
|
229
|
-
},
|
|
230
|
-
"fee_amount": {
|
|
231
|
-
"currency_code": "USD",
|
|
232
|
-
"value": "1.49"
|
|
233
|
-
},
|
|
234
|
-
"net_amount": {
|
|
235
|
-
"currency_code": "USD",
|
|
236
|
-
"value": "18.46"
|
|
237
|
-
}
|
|
238
|
-
},
|
|
239
|
-
"payer_name": {},
|
|
240
|
-
"payer_email": "valueyournetwork@gmail.com",
|
|
241
|
-
"time": "2023-06-12T10:22:59.000Z"
|
|
242
|
-
}, {
|
|
243
|
-
"status": "COMPLETED",
|
|
244
|
-
"id": "7VJ692573X8193742",
|
|
245
|
-
"amount_with_breakdown": {
|
|
246
|
-
"gross_amount": {
|
|
247
|
-
"currency_code": "USD",
|
|
248
|
-
"value": "19.95"
|
|
249
|
-
},
|
|
250
|
-
"fee_amount": {
|
|
251
|
-
"currency_code": "USD",
|
|
252
|
-
"value": "1.49"
|
|
253
|
-
},
|
|
254
|
-
"net_amount": {
|
|
255
|
-
"currency_code": "USD",
|
|
256
|
-
"value": "18.46"
|
|
257
|
-
}
|
|
258
|
-
},
|
|
259
|
-
"payer_name": {},
|
|
260
|
-
"payer_email": "valueyournetwork@gmail.com",
|
|
261
|
-
"time": "2023-05-12T10:47:07.000Z"
|
|
262
|
-
}, {
|
|
263
|
-
"status": "COMPLETED",
|
|
264
|
-
"id": "1MU53011BA108752K",
|
|
265
|
-
"amount_with_breakdown": {
|
|
266
|
-
"gross_amount": {
|
|
267
|
-
"currency_code": "USD",
|
|
268
|
-
"value": "19.95"
|
|
269
|
-
},
|
|
270
|
-
"fee_amount": {
|
|
271
|
-
"currency_code": "USD",
|
|
272
|
-
"value": "1.49"
|
|
273
|
-
},
|
|
274
|
-
"net_amount": {
|
|
275
|
-
"currency_code": "USD",
|
|
276
|
-
"value": "18.46"
|
|
277
|
-
}
|
|
278
|
-
},
|
|
279
|
-
"payer_name": {},
|
|
280
|
-
"payer_email": "valueyournetwork@gmail.com",
|
|
281
|
-
"time": "2023-04-12T11:32:48.000Z"
|
|
282
|
-
}, {
|
|
283
|
-
"status": "COMPLETED",
|
|
284
|
-
"id": "3SM59944C89293912",
|
|
285
|
-
"amount_with_breakdown": {
|
|
286
|
-
"gross_amount": {
|
|
287
|
-
"currency_code": "USD",
|
|
288
|
-
"value": "14.95"
|
|
289
|
-
},
|
|
290
|
-
"fee_amount": {
|
|
291
|
-
"currency_code": "USD",
|
|
292
|
-
"value": "1.24"
|
|
293
|
-
},
|
|
294
|
-
"net_amount": {
|
|
295
|
-
"currency_code": "USD",
|
|
296
|
-
"value": "13.71"
|
|
297
|
-
}
|
|
298
|
-
},
|
|
299
|
-
"payer_name": {},
|
|
300
|
-
"payer_email": "valueyournetwork@gmail.com",
|
|
301
|
-
"time": "2023-03-12T10:41:40.000Z"
|
|
302
|
-
}, {
|
|
303
|
-
"status": "COMPLETED",
|
|
304
|
-
"id": "9W200388HJ765311C",
|
|
305
|
-
"amount_with_breakdown": {
|
|
306
|
-
"gross_amount": {
|
|
307
|
-
"currency_code": "USD",
|
|
308
|
-
"value": "14.95"
|
|
309
|
-
},
|
|
310
|
-
"fee_amount": {
|
|
311
|
-
"currency_code": "USD",
|
|
312
|
-
"value": "1.24"
|
|
313
|
-
},
|
|
314
|
-
"net_amount": {
|
|
315
|
-
"currency_code": "USD",
|
|
316
|
-
"value": "13.71"
|
|
317
|
-
}
|
|
318
|
-
},
|
|
319
|
-
"payer_name": {},
|
|
320
|
-
"payer_email": "valueyournetwork@gmail.com",
|
|
321
|
-
"time": "2023-02-12T13:35:12.000Z"
|
|
322
|
-
}]
|
|
323
|
-
}
|
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"status": "ACTIVE",
|
|
3
|
-
"status_update_time": "2023-08-22T11:03:16Z",
|
|
4
|
-
"id": "I-GLYNACJCERDD",
|
|
5
|
-
"plan_id": "P-10V185024H967894YMBE2XEQ",
|
|
6
|
-
"start_time": "2023-03-22T22:38:03Z",
|
|
7
|
-
"quantity": "1",
|
|
8
|
-
"shipping_amount": {
|
|
9
|
-
"currency_code": "USD",
|
|
10
|
-
"value": "0.0"
|
|
11
|
-
},
|
|
12
|
-
"subscriber": {
|
|
13
|
-
"email_address": "lonobristol@Gmail.com",
|
|
14
|
-
"payer_id": "MLXEKAUCX6CL2",
|
|
15
|
-
"name": {
|
|
16
|
-
"given_name": "Jason",
|
|
17
|
-
"surname": "fish"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"billing_info": {
|
|
21
|
-
"outstanding_balance": {
|
|
22
|
-
"currency_code": "USD",
|
|
23
|
-
"value": "0.0"
|
|
24
|
-
},
|
|
25
|
-
"cycle_executions": [{
|
|
26
|
-
"tenure_type": "REGULAR",
|
|
27
|
-
"sequence": 1,
|
|
28
|
-
"cycles_completed": 6,
|
|
29
|
-
"cycles_remaining": 0,
|
|
30
|
-
"current_pricing_scheme_version": 2,
|
|
31
|
-
"total_cycles": 0
|
|
32
|
-
}],
|
|
33
|
-
"last_payment": {
|
|
34
|
-
"amount": {
|
|
35
|
-
"currency_code": "USD",
|
|
36
|
-
"value": "59.85"
|
|
37
|
-
},
|
|
38
|
-
"time": "2023-08-22T11:03:15Z"
|
|
39
|
-
},
|
|
40
|
-
"next_billing_time": "2023-09-22T10:00:00Z",
|
|
41
|
-
"failed_payments_count": 0
|
|
42
|
-
},
|
|
43
|
-
"create_time": "2023-03-22T22:39:32Z",
|
|
44
|
-
"update_time": "2023-08-22T11:03:16Z",
|
|
45
|
-
"custom_id": "1679524171883-0183",
|
|
46
|
-
"plan_overridden": false,
|
|
47
|
-
"plan": {
|
|
48
|
-
"product_id": "somiibo-premium-1",
|
|
49
|
-
"name": "Somiibo Premium (Monthly)",
|
|
50
|
-
"description": "A free social media automation platform that organically grows your online presence and gets you more followers.",
|
|
51
|
-
"billing_cycles": [{
|
|
52
|
-
"pricing_scheme": {
|
|
53
|
-
"fixed_price": {
|
|
54
|
-
"currency_code": "USD",
|
|
55
|
-
"value": "19.95"
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
"frequency": {
|
|
59
|
-
"interval_unit": "MONTH",
|
|
60
|
-
"interval_count": 1
|
|
61
|
-
},
|
|
62
|
-
"tenure_type": "REGULAR",
|
|
63
|
-
"sequence": 1,
|
|
64
|
-
"total_cycles": 0
|
|
65
|
-
}],
|
|
66
|
-
"payment_preferences": {
|
|
67
|
-
"service_type": "PREPAID",
|
|
68
|
-
"auto_bill_outstanding": true,
|
|
69
|
-
"setup_fee": {
|
|
70
|
-
"currency_code": "USD",
|
|
71
|
-
"value": "0.0"
|
|
72
|
-
},
|
|
73
|
-
"setup_fee_failure_action": "CANCEL",
|
|
74
|
-
"payment_failure_threshold": 0
|
|
75
|
-
},
|
|
76
|
-
"quantity_supported": true
|
|
77
|
-
},
|
|
78
|
-
"links": [{
|
|
79
|
-
"href": "https://api.paypal.com/v1/billing/subscriptions/I-GLYNACJCERDD/cancel",
|
|
80
|
-
"rel": "cancel",
|
|
81
|
-
"method": "POST"
|
|
82
|
-
}, {
|
|
83
|
-
"href": "https://api.paypal.com/v1/billing/subscriptions/I-GLYNACJCERDD",
|
|
84
|
-
"rel": "edit",
|
|
85
|
-
"method": "PATCH"
|
|
86
|
-
}, {
|
|
87
|
-
"href": "https://api.paypal.com/v1/billing/subscriptions/I-GLYNACJCERDD?fields=plan",
|
|
88
|
-
"rel": "self",
|
|
89
|
-
"method": "GET"
|
|
90
|
-
}, {
|
|
91
|
-
"href": "https://api.paypal.com/v1/billing/subscriptions/I-GLYNACJCERDD/suspend",
|
|
92
|
-
"rel": "suspend",
|
|
93
|
-
"method": "POST"
|
|
94
|
-
}, {
|
|
95
|
-
"href": "https://api.paypal.com/v1/billing/subscriptions/I-GLYNACJCERDD/capture",
|
|
96
|
-
"rel": "capture",
|
|
97
|
-
"method": "POST"
|
|
98
|
-
}],
|
|
99
|
-
"transactions": [{
|
|
100
|
-
"status": "COMPLETED",
|
|
101
|
-
"id": "7KX90535E6515060M",
|
|
102
|
-
"amount_with_breakdown": {
|
|
103
|
-
"gross_amount": {
|
|
104
|
-
"currency_code": "USD",
|
|
105
|
-
"value": "59.85"
|
|
106
|
-
},
|
|
107
|
-
"fee_amount": {
|
|
108
|
-
"currency_code": "USD",
|
|
109
|
-
"value": "2.58"
|
|
110
|
-
},
|
|
111
|
-
"net_amount": {
|
|
112
|
-
"currency_code": "USD",
|
|
113
|
-
"value": "57.27"
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
"payer_name": {
|
|
117
|
-
"given_name": "Jason",
|
|
118
|
-
"surname": "fish"
|
|
119
|
-
},
|
|
120
|
-
"payer_email": "lonobristol@Gmail.com",
|
|
121
|
-
"time": "2023-08-22T11:03:15.000Z"
|
|
122
|
-
}, {
|
|
123
|
-
"status": "COMPLETED",
|
|
124
|
-
"id": "5VM484746W3107616",
|
|
125
|
-
"amount_with_breakdown": {
|
|
126
|
-
"gross_amount": {
|
|
127
|
-
"currency_code": "USD",
|
|
128
|
-
"value": "19.95"
|
|
129
|
-
},
|
|
130
|
-
"fee_amount": {
|
|
131
|
-
"currency_code": "USD",
|
|
132
|
-
"value": "1.19"
|
|
133
|
-
},
|
|
134
|
-
"net_amount": {
|
|
135
|
-
"currency_code": "USD",
|
|
136
|
-
"value": "18.76"
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
"payer_name": {
|
|
140
|
-
"given_name": "Jason",
|
|
141
|
-
"surname": "fish"
|
|
142
|
-
},
|
|
143
|
-
"payer_email": "lonobristol@Gmail.com",
|
|
144
|
-
"time": "2023-05-22T11:28:19.000Z"
|
|
145
|
-
}, {
|
|
146
|
-
"status": "COMPLETED",
|
|
147
|
-
"id": "3D889516S86193235",
|
|
148
|
-
"amount_with_breakdown": {
|
|
149
|
-
"gross_amount": {
|
|
150
|
-
"currency_code": "USD",
|
|
151
|
-
"value": "19.95"
|
|
152
|
-
},
|
|
153
|
-
"fee_amount": {
|
|
154
|
-
"currency_code": "USD",
|
|
155
|
-
"value": "1.19"
|
|
156
|
-
},
|
|
157
|
-
"net_amount": {
|
|
158
|
-
"currency_code": "USD",
|
|
159
|
-
"value": "18.76"
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
"payer_name": {
|
|
163
|
-
"given_name": "Jason",
|
|
164
|
-
"surname": "fish"
|
|
165
|
-
},
|
|
166
|
-
"payer_email": "lonobristol@Gmail.com",
|
|
167
|
-
"time": "2023-04-22T10:05:07.000Z"
|
|
168
|
-
}, {
|
|
169
|
-
"status": "COMPLETED",
|
|
170
|
-
"id": "4WA03938SW3393725",
|
|
171
|
-
"amount_with_breakdown": {
|
|
172
|
-
"gross_amount": {
|
|
173
|
-
"currency_code": "USD",
|
|
174
|
-
"value": "19.95"
|
|
175
|
-
},
|
|
176
|
-
"fee_amount": {
|
|
177
|
-
"currency_code": "USD",
|
|
178
|
-
"value": "1.19"
|
|
179
|
-
},
|
|
180
|
-
"net_amount": {
|
|
181
|
-
"currency_code": "USD",
|
|
182
|
-
"value": "18.76"
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
"payer_name": {
|
|
186
|
-
"given_name": "Jason",
|
|
187
|
-
"surname": "fish"
|
|
188
|
-
},
|
|
189
|
-
"payer_email": "lonobristol@Gmail.com",
|
|
190
|
-
"time": "2023-03-22T22:39:33.000Z"
|
|
191
|
-
}]
|
|
192
|
-
}
|