Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"event":"subscription_renewed",
"success":true,
"is_subscription":true,
"is_renew":true,
"is_new":false,
"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":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":"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_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":null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment