Files
salvato.newfreeplanet/docs/ok5.json
Surya Paolo 822585cf33 - Creazione "AbitareGliIblei"
- Mappa Interattiva con i markers
2024-07-31 15:02:30 +02:00

379 lines
11 KiB
JSON

Iniziato: 2024-07-26 17: 41: 22
<br>updatecreate: check se ARRIVATO ORDINE test processing
<br>updatecreate: ARRIVATO ORDINE test processing
<br>{
"id": 68500,
"parent_id": 0,
"status": "processing",
"currency": "EUR",
"version": "9.0.2",
"prices_include_tax": true,
"date_created": "2024-07-26T17:41:03",
"date_modified": "2024-07-26T17:41:09",
"discount_total": "0.00",
"discount_tax": "0.00",
"shipping_total": "0.00",
"shipping_tax": "0.00",
"cart_tax": "0.00",
"total": "23.28",
"total_tax": "0.00",
"customer_id": 0,
"order_key": "wc_order_5Pln8XSDzeve0",
"billing": {
"first_name": "Test Paolo",
"last_name": "Test Paolo2",
"company": null,
"address_1": "via TEST,",
"address_2": null,
"city": "Rimini",
"state": "RN",
"postcode": "47923",
"country": "IT",
"email": "paolo@riso.app",
"phone": null
},
"shipping": {
"first_name": "Test Paolo",
"last_name": "Test Paolo2",
"company": null,
"address_1": "via TEST,",
"address_2": null,
"city": "Rimini",
"state": "RN",
"postcode": "47923",
"country": "IT",
"phone": null
},
"payment_method": "test",
"payment_method_title": "Test Pagamento per PROVE",
"transaction_id": null,
"customer_ip_address": "141.101.104.103",
"customer_user_agent": "Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/126.0.0.0 Safari\/537.36",
"created_via": "checkout",
"customer_note": null,
"date_completed": null,
"date_paid": "2024-07-26T17:41:09",
"cart_hash": "da8aea5040d1c7b7a6db467b48360e86",
"number": "68500",
"meta_data": [
{
"id": 1385369,
"key": "is_vat_exempt",
"value": "no"
},
{
"id": 1385370,
"key": "yaydp_product_pricing_rules",
"value": []
},
{
"id": 1385371,
"key": "yaydp_cart_discount_rules",
"value": []
},
{
"id": 1385372,
"key": "yaydp_checkout_fee_rules",
"value": []
}
],
"line_items": [
{
"id": 239,
"name": "Viaggio verso Casa - Nuovo",
"product_id": 42713,
"variation_id": 42714,
"quantity": 1,
"tax_class": null,
"subtotal": "23.28",
"subtotal_tax": "0.00",
"total": "23.28",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 2050,
"key": "pa_versione",
"value": "nuovo",
"display_key": "Versione",
"display_value": "Nuovo"
},
{
"id": 2057,
"key": "_reduced_stock",
"value": "1",
"display_key": "_reduced_stock",
"display_value": "1"
}
],
"sku": "15102",
"price": 23.275,
"image": {
"id": 67818,
"src": "https:\/\/www.fioredellavita.it\/wp-content\/uploads\/2022\/11\/viaggio-verso-casa.jpg"
},
"parent_name": "Viaggio verso Casa"
}
],
"tax_lines": [],
"shipping_lines": [
{
"id": 240,
"method_title": "Spedizione gratuita",
"method_id": "free_shipping",
"instance_id": "2",
"total": "0.00",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 2056,
"key": "Prodotti",
"value": "Viaggio verso Casa - Nuovo &times; 1",
"display_key": "Prodotti",
"display_value": "Viaggio verso Casa - Nuovo &times; 1"
}
]
}
],
"fee_lines": [],
"coupon_lines": [],
"refunds": [],
"payment_url": "https:\/\/www.fioredellavita.it\/pagamento\/order-pay\/68500\/?pay_for_order=true&key=wc_order_5Pln8XSDzeve0",
"is_editable": false,
"needs_payment": false,
"needs_processing": true,
"date_created_gmt": "2024-07-26T15:41:03",
"date_modified_gmt": "2024-07-26T15:41:09",
"date_completed_gmt": null,
"date_paid_gmt": "2024-07-26T15:41:09",
"currency_symbol": "\u20ac",
"_links": {
"self": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders\/68500"
}
],
"collection": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders"
}
]
}
}
<br>myidInternet=68500
<br>Creazione Ordine... codice=68500
<br>$orderdetail->CodArticoloGM= 15102
<br>sku=15102
<br>Dettaglio Ordine: {
"IdInternet": 68500,
"CodArticoloGM": 15102,
"Qta": 1,
"PrezzoLordo": "23.28",
"Enabled": 1,
"DataOra": "2024-07-26T17:41:03",
"id": 54
}
<br>Cerco il customer_id: 0
<br>crea Cliente: Test Paolo Test Paolo2
<br>Errore: Attempt to read property "key" on array
<br> ...fine compilazione campi Cliente{
"CodClienteInternet": "100",
"Nominativo": "Test Paolo Test Paolo2",
"Indirizzo": "via TEST,",
"Citta": "Rimini",
"Cap": "47923",
"Provincia": "RN",
"Telefono": null,
"Email": null,
"CodClienteGM": "",
"IdNazione": 227,
"IdInternet": 68500
}
<br>Salvato Cliente: {
"CodClienteInternet": "100",
"Nominativo": "Test Paolo Test Paolo2",
"Indirizzo": "via TEST,",
"Citta": "Rimini",
"Cap": "47923",
"Provincia": "RN",
"Telefono": null,
"Email": null,
"CodClienteGM": "",
"IdNazione": 227,
"IdInternet": 68500
}
<br>Order: {
"IdInternet": 68500,
"CodClienteInternet": 0,
"Enabled": 1,
"idSito": 7,
"DataOra": "2024-07-26T17:41:03",
"Note": null,
"Totale": "23.28",
"Spedizioniere": "GLS",
"ImportoSpedizione": "0.00",
"id": 0
}
<br>Inserito ordine !
<br>{
"id": 68500,
"parent_id": 0,
"status": "processing",
"currency": "EUR",
"version": "9.0.2",
"prices_include_tax": true,
"date_created": "2024-07-26T17:41:03",
"date_modified": "2024-07-26T17:41:09",
"discount_total": "0.00",
"discount_tax": "0.00",
"shipping_total": "0.00",
"shipping_tax": "0.00",
"cart_tax": "0.00",
"total": "23.28",
"total_tax": "0.00",
"customer_id": 0,
"order_key": "wc_order_5Pln8XSDzeve0",
"billing": {
"first_name": "Test Paolo",
"last_name": "Test Paolo2",
"company": null,
"address_1": "via TEST,",
"address_2": null,
"city": "Rimini",
"state": "RN",
"postcode": "47923",
"country": "IT",
"email": "paolo@riso.app",
"phone": null
},
"shipping": {
"first_name": "Test Paolo",
"last_name": "Test Paolo2",
"company": null,
"address_1": "via TEST,",
"address_2": null,
"city": "Rimini",
"state": "RN",
"postcode": "47923",
"country": "IT",
"phone": null
},
"payment_method": "test",
"payment_method_title": "Test Pagamento per PROVE",
"transaction_id": null,
"customer_ip_address": "141.101.104.103",
"customer_user_agent": "Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/126.0.0.0 Safari\/537.36",
"created_via": "checkout",
"customer_note": null,
"date_completed": null,
"date_paid": "2024-07-26T17:41:09",
"cart_hash": "da8aea5040d1c7b7a6db467b48360e86",
"number": "68500",
"meta_data": [
{
"id": 1385369,
"key": "is_vat_exempt",
"value": "no"
},
{
"id": 1385370,
"key": "yaydp_product_pricing_rules",
"value": []
},
{
"id": 1385371,
"key": "yaydp_cart_discount_rules",
"value": []
},
{
"id": 1385372,
"key": "yaydp_checkout_fee_rules",
"value": []
}
],
"line_items": [
{
"id": 239,
"name": "Viaggio verso Casa - Nuovo",
"product_id": 42713,
"variation_id": 42714,
"quantity": 1,
"tax_class": null,
"subtotal": "23.28",
"subtotal_tax": "0.00",
"total": "23.28",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 2050,
"key": "pa_versione",
"value": "nuovo",
"display_key": "Versione",
"display_value": "Nuovo"
},
{
"id": 2057,
"key": "_reduced_stock",
"value": "1",
"display_key": "_reduced_stock",
"display_value": "1"
}
],
"sku": "15102",
"price": 23.275,
"image": {
"id": 67818,
"src": "https:\/\/www.fioredellavita.it\/wp-content\/uploads\/2022\/11\/viaggio-verso-casa.jpg"
},
"parent_name": "Viaggio verso Casa"
}
],
"tax_lines": [],
"shipping_lines": [
{
"id": 240,
"method_title": "Spedizione gratuita",
"method_id": "free_shipping",
"instance_id": "2",
"total": "0.00",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 2056,
"key": "Prodotti",
"value": "Viaggio verso Casa - Nuovo &times; 1",
"display_key": "Prodotti",
"display_value": "Viaggio verso Casa - Nuovo &times; 1"
}
]
}
],
"fee_lines": [],
"coupon_lines": [],
"refunds": [],
"payment_url": "https:\/\/www.fioredellavita.it\/pagamento\/order-pay\/68500\/?pay_for_order=true&key=wc_order_5Pln8XSDzeve0",
"is_editable": false,
"needs_payment": false,
"needs_processing": true,
"date_created_gmt": "2024-07-26T15:41:03",
"date_modified_gmt": "2024-07-26T15:41:09",
"date_completed_gmt": null,
"date_paid_gmt": "2024-07-26T15:41:09",
"currency_symbol": "\u20ac",
"_links": {
"self": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders\/68500"
}
],
"collection": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders"
}
]
}
}
<br>