Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "success": true,
- "message": {
- "id": "18648",
- "address": "test test<br\/>6 Anchor Crescent<br\/>Knaphill<br\/>Woking<br\/>GU212PD",
- "items": {
- "7254": {
- "name": "Margherita",
- "type": "line_item",
- "item_meta": {
- "_qty": ["2"],
- "_tax_class": [""],
- "_product_id": ["4252"],
- "_variation_id": ["4263"],
- "_line_subtotal": ["27.98"],
- "_line_total": ["27.98"],
- "_line_subtotal_tax": ["0"],
- "_line_tax": ["0"],
- "_line_tax_data": ["a:2:{s:5:\"total\";a:0:{}s:8:\"subtotal\";a:0:{}}"],
- "pa_size": ["xl"],
- "pa_crust": ["italian-crust"]
- },
- "qty": "2",
- "tax_class": "",
- "product_id": "4252",
- "variation_id": "4263",
- "line_subtotal": "27.98",
- "line_total": "27.98",
- "line_subtotal_tax": "0",
- "line_tax": "0",
- "line_tax_data": "a:2:{s:5:\"total\";a:0:{}s:8:\"subtotal\";a:0:{}}",
- "pa_size": "xl",
- "pa_crust": "italian-crust"
- }
- },
- "shipping_fees": 0,
- "shipping_methods": {
- "7255": {
- "name": "Delivery",
- "type": "shipping",
- "item_meta": {
- "method_id": ["local_delivery"],
- "cost": ["0"],
- "taxes": ["a:0:{}"]
- },
- "method_id": "local_delivery",
- "cost": "0",
- "taxes": "a:0:{}"
- }
- },
- "payment_method": "Cash",
- "coupons": ["wsdefg123d"],
- "cart_discount": 11.19,
- "delivery_mins": "",
- "meta": {
- "_order_key": ["wc_order_5495e28b6fbf5"],
- "_order_currency": ["GBP"],
- "_prices_include_tax": ["no"],
- "_customer_ip_address": ["188.29.164.113"],
- "_customer_user_agent": ["Mozilla\/5.0 (iPhone; CPU iPhone OS 8_1 like Mac OS X) AppleWebKit\/600.1.4 (KHTML, like Gecko) Version\/8.0 Mobile\/12B411 Safari\/600.1.4"],
- "_customer_user": ["6"],
- "_order_shipping": ["0"],
- "_billing_first_name": ["test"],
- "_billing_last_name": ["test"],
- "_billing_email": ["porschekam@gmail.com"],
- "_billing_phone": ["07985219612"],
- "_billing_address_1": ["6 Anchor Crescent"],
- "_billing_address_2": ["Knaphill"],
- "_billing_city": ["Woking"],
- "_billing_postcode": ["GU212PD"],
- "_shipping_country": [""],
- "_shipping_first_name": ["test"],
- "_shipping_last_name": ["test"],
- "_shipping_company": [""],
- "_shipping_address_1": ["6 Anchor Crescent"],
- "_shipping_address_2": ["Knaphill"],
- "_shipping_city": ["Woking"],
- "_shipping_state": [""],
- "_shipping_postcode": ["GU212PD"],
- "_payment_method": ["cod"],
- "_payment_method_title": ["Cash"],
- "_order_discount": ["11.19"],
- "_cart_discount": ["0"],
- "_order_tax": ["0"],
- "_order_shipping_tax": ["0"],
- "_order_total": ["16.79"],
- "_openinghours_time": ["20\/12\/2014 21:50"],
- "_pizaa_store": ["aldershot"],
- "_wc_points_earned": ["4"],
- "_download_permissions_granted": ["1"],
- "_recorded_sales": ["yes"],
- "_recorded_coupon_usage_counts": ["yes"]
- },
- "order_object": {
- "id": 18648,
- "order_type": "simple",
- "prices_include_tax": false,
- "tax_display_cart": "excl",
- "display_totals_ex_tax": true,
- "display_cart_ex_tax": true,
- "post": {
- "ID": 18648,
- "post_author": "1",
- "post_date": "2014-12-20 20:56:43",
- "post_date_gmt": "2014-12-20 20:56:43",
- "post_content": "",
- "post_title": "Order – December 20, 2014 @ 08:56 PM",
- "post_excerpt": "",
- "post_status": "wc-processing",
- "comment_status": "closed",
- "ping_status": "closed",
- "post_password": "order_5495e28b6e41a",
- "post_name": "order-dec-20-2014-0856-pm",
- "to_ping": "",
- "pinged": "",
- "post_modified": "2014-12-20 20:56:43",
- "post_modified_gmt": "2014-12-20 20:56:43",
- "post_content_filtered": "",
- "post_parent": 0,
- "guid": "http:\/\/milano-pizzawoking.co.uk\/?post_type=shop_order&p=18648",
- "menu_order": 0,
- "post_type": "shop_order",
- "post_mime_type": "",
- "comment_count": "3",
- "filter": "raw"
- },
- "order_date": "2014-12-20 20:56:43",
- "modified_date": "2014-12-20 20:56:43",
- "customer_message": "",
- "customer_note": "",
- "post_status": "wc-processing",
- "formatted_shipping_address": "test test<br\/>6 Anchor Crescent<br\/>Knaphill<br\/>Woking<br\/>GU212PD"
- },
- "order_notes": [],
- "billing_phone": "07985219612"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement