Skip to content

Instantly share code, notes, and snippets.

@congthien
Last active July 30, 2023 12:39
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 congthien/2e4c4107f41e7a33aa7f9d5d4909fef0 to your computer and use it in GitHub Desktop.
Save congthien/2e4c4107f41e7a33aa7f9d5d4909fef0 to your computer and use it in GitHub Desktop.
stripe event from woo
{
"id": "pi_3NXqHtGw8WZ4Yvq01fmfTBYy",
"object": "payment_intent",
"amount": 8794,
"amount_capturable": 0,
"amount_details": {
"tip": {
}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "automatic",
"client_secret": "pi_3N**********************_******_*********************a7IS",
"confirmation_method": "automatic",
"created": 1690310929,
"currency": "usd",
"customer": null,
"description": "PT-689410 | emma soiffer",
"invoice": null,
"last_payment_error": null,
"latest_charge": null,
"livemode": true,
"metadata": {
"order_id": "689410",
"customer_email": "emma745au@gmail.com",
"customer_name": "emma soiffer"
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1NXqHmGw8WZ4Yvq0LKRViVTs",
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": "off_session",
"shipping": {
"address": {
"city": "portage",
"country": "US",
"line1": "2395 sloan st",
"line2": "",
"postal_code": "46368",
"state": "IN"
},
"carrier": null,
"name": "emma soiffer",
"phone": "2194060834",
"tracking_number": null
},
"source": null,
"statement_descriptor": "PRINTGH",
"statement_descriptor_suffix": null,
"status": "requires_confirmation",
"transfer_data": null,
"transfer_group": null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment