cancel stripe subscription php

Solutions on MaxInterview for cancel stripe subscription php by the best coders in the world

showing results for - "cancel stripe subscription php"
Max
17 Nov 2016
1$stripe = new \Stripe\StripeClient(
2  'sk_test_4eC39HqLyjWDarjtT1zdp7dc'
3);
4$stripe->subscriptions->update(
5  'sub_36VrPHS2vVxJMq',
6  ['metadata' => ['order_id' => '6735']]
7);
8
9// Response
10{
11  "id": "sub_36VrPHS2vVxJMq",
12  "object": "subscription",
13  "application_fee_percent": null,
14  "billing_cycle_anchor": 1387222772,
15  "billing_thresholds": null,
16  "cancel_at": null,
17  "cancel_at_period_end": false,
18  "canceled_at": 1445989053,
19  "collection_method": "charge_automatically",
20  "created": 1386790772,
21  "current_period_end": 1447702772,
22  "current_period_start": 1444678772,
23  "customer": "cus_36Akh5CetFGg9T",
24  "days_until_due": null,
25  "default_payment_method": null,
26  "default_source": null,
27  "default_tax_rates": [],
28  "discount": null,
29  "ended_at": 1445989053,
30  "items": {
31    "object": "list",
32    "data": [
33      {
34        "id": "si_18SfBn2eZvKYlo2C1fwOImYF",
35        "object": "subscription_item",
36        "billing_thresholds": null,
37        "created": 1386790772,
38        "metadata": {},
39        "price": {
40          "id": "40",
41          "object": "price",
42          "active": true,
43          "billing_scheme": "per_unit",
44          "created": 1386694689,
45          "currency": "usd",
46          "livemode": false,
47          "lookup_key": null,
48          "metadata": {
49            "charset": "utf-8",
50            "content": "40"
51          },
52          "nickname": null,
53          "product": "prod_BTcfj5EqyqxDVn",
54          "recurring": {
55            "aggregate_usage": null,
56            "interval": "week",
57            "interval_count": 5,
58            "usage_type": "licensed"
59          },
60          "tiers_mode": null,
61          "transform_quantity": null,
62          "type": "recurring",
63          "unit_amount": 5465,
64          "unit_amount_decimal": "5465"
65        },
66        "quantity": 1,
67        "subscription": "sub_36VrPHS2vVxJMq",
68        "tax_rates": []
69      }
70    ],
71    "has_more": false,
72    "url": "/v1/subscription_items?subscription=sub_36VrPHS2vVxJMq"
73  },
74  "latest_invoice": null,
75  "livemode": false,
76  "metadata": {
77    "order_id": "6735"
78  },
79  "next_pending_invoice_item_invoice": null,
80  "pause_collection": null,
81  "pending_invoice_item_interval": null,
82  "pending_setup_intent": null,
83  "pending_update": null,
84  "schedule": null,
85  "start_date": 1386790772,
86  "status": "canceled",
87  "transfer_data": null,
88  "trial_end": 1387222772,
89  "trial_start": 1386790772
90}
queries leading to this page
stripe php sdk cancel subscriptioncreate subscription stripe phpupdate subscription stripe phphow to stop recurring subscription in stripe phpstripe cancel subscription customerstripe remove subscriptioncancel one item subscription striperetrieve subscription stripe cancel atretrieve subscription stripe phpstripe php subscription examplestripe subscription cancelstripe php cancel subscriptionstripe client cancel subscriptiondelete stripe account phpcancel stripe paymentstripe can i cancel stripe cancel subscriptionstripe cancel subscription with phpstripe recurring subscription phphow to delete a subscription stripe phpphp stripe create a subscriptionscancel subscription in stripestripe cancel subscription immediatelystripe subscription phpstripe cancel subscription atstripe subscription automatically set to cancelhow to show how to cancel subscription during stripe checkoutcancel a subscription stripehow to stop recurring payment in stripe in phpstripe checkout cancel subscriptionverify subscription stripe phpsubscription payment stripe phpcancel subscription at end stripestripe cancel requeststripe remove card from customer phphow to cancel a stripe subscriptionstripe cancel subscription nowstripe payment cancelhandle subscription cancel in stripestripe cancel subscription proratestripe cancel membershipcancel stripe subscriptionstripe cancel paymentstripe how to cancel subscriptioncancel stripe subscription phpstripe cancel subscription phpstripe subscription example phpsubscription cancel stripecancel stripe subscription for userstripe jobscancel subscription now in stripestripe cancel subscriptioncancel subscription stripehow to cancel a subscription in stripecancel a stripe subscriptionsubscription cancel from stripestripe cancel subscription at period end laravelphp stripe get subscriptioncancel stripe subscription from subcription itemcancel stripe subscription php