Skip to content

Instantly share code, notes, and snippets.

@easycartpl
Last active September 15, 2021 07:21
Show Gist options
  • Save easycartpl/b56b0684485a9b4f602f2322abd52fd8 to your computer and use it in GitHub Desktop.
Save easycartpl/b56b0684485a9b4f602f2322abd52fd8 to your computer and use it in GitHub Desktop.
{
"event":"subscription_created",
"success":true,
"is_subscription":true,
"is_renew":false,
"is_new":true,
"last_chance":false,
"error_message":null,
"trial_ends_at":"2021-06-03T13:58:04+02:00",
"subscription_renews_at":null,
"subscription_canceled":false,
"subscription_expired":false,
"subscription_new_plan_name":null,
"amount_paid":0,
"customer_name":"Jan Kowalski",
"customer_first_name":"Jan",
"customer_last_name":"Kowalski",
"customer_email":"jan@kowalski.pl",
"customer_password":"TQVBqUxC",
"customer_id":30,
"customer_stripe_id":"cus_JQDJM3E4uJCk98",
"order_id":27,
"order_amount":10.5,
"order_has_invoice":true,
"invoice_stripe_id":"inv_JKDL919u919a01",
"invoice_data":{
"nip":"1111111111",
"name":"Jan Kowalski",
"first_name":"Jan",
"last_name":"Kowalski",
"street":"ul. Długa",
"street_number":"1",
"house_number":"",
"city":"Warszawa",
"post_code":"00000",
"post_city":""
},
"invoice_api_scope":"ahoy",
"shipping":{
"first_name":"Jan",
"last_name":"Kowalski",
"phone":"000000000",
"address":"Długa 1",
"post_code":"00-000",
"city":"Warszawa"
},
"product_name":"Ahoy! Spo\u0142eczno\u015b\u0107 UI & UX",
"product_description":"Dost\u0119p do ca\u0142ej spo\u0142eczno\u015bci UI \/ UX w ramach Ahoy!",
"price_name":"",
"price_description":"ux-39-monthly",
"subscription_id":27,
"subscription_stripe_id":"sub_JQDJgyZAuIe8PC",
"subscription_plan_name":"ux-39-monthly",
"subscription_plan_price":49,
"subscription_current_period_start":"2021-05-04T13:58:04+02:00",
"subscription_current_period_end":"2021-06-03T13:58:04+02:00",
"ref":"eduweb"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment