Skip to content

Instantly share code, notes, and snippets.

@easycartpl
Last active September 15, 2021 07:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save easycartpl/b98758be152084e46e6401a437bed202 to your computer and use it in GitHub Desktop.
Save easycartpl/b98758be152084e46e6401a437bed202 to your computer and use it in GitHub Desktop.
{
"event":"subscription_renewal_upcoming",
"success":true,
"is_subscription":true,
"is_renew":false,
"is_new":false,
"last_chance":false,
"error_message":null,
"trial_ends_at":"2021-06-03T13:58:04+02:00",
"subscription_renews_at":"2021-06-03T13:58:04+02:00",
"subscription_canceled":false,
"subscription_expired":false,
"subscription_new_plan_name":null,
"amount_paid":99,
"customer_name":"Jan Kowalski",
"customer_first_name":"Jan",
"customer_last_name":"Kowalski",
"customer_email":"jan@kowalski.pl",
"customer_password":null,
"customer_id":30,
"customer_stripe_id":"cus_JQDJM3E4uJCk98",
"order_id":27,
"order_amount":10.5,
"order_has_invoice":true,
"invoice_stripe_id":null,
"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_description":"ux-39-monthly",
"price_name":"z dostępem do społeczności",
"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",
"subscription_onetime":true,
"custom_params":{
"param1":"value1",
"param2":"value2"
},
"ref":null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment