Skip to content

Instantly share code, notes, and snippets.

@easycartpl
Last active September 15, 2021 07:28
Show Gist options
  • Save easycartpl/28a71f15dce460000585f9576c8aff9c to your computer and use it in GitHub Desktop.
Save easycartpl/28a71f15dce460000585f9576c8aff9c to your computer and use it in GitHub Desktop.
{
"event":"single_product_bought",
"success":true,
"is_subscription":false,
"is_renew":false,
"is_new":true,
"last_chance":false,
"error_message":null,
"trial_ends_at":null,
"subscription_renews_at":null,
"subscription_canceled":false,
"subscription_expired":false,
"subscription_new_plan_name":null,
"amount_paid":100,
"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":"Pojedynczy produkt",
"product_description":"Dostęp do pojedynczego produktu",
"price_description":"ux-39",
"subscription_id":27,
"subscription_stripe_id":null,
"subscription_plan_name":null,
"subscription_plan_price":null,
"subscription_current_period_start":null,
"subscription_current_period_end":null,
"ref":"eduweb"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment