- Creazione "AbitareGliIblei"
- Mappa Interattiva con i markers
This commit is contained in:
405
docs/ok4.json
Normal file
405
docs/ok4.json
Normal file
@@ -0,0 +1,405 @@
|
||||
Iniziato: 2024-07-26 16: 01: 45
|
||||
<br>updatecreate: check se ARRIVATO ORDINE test processing
|
||||
<br>updatecreate: ARRIVATO ORDINE test processing
|
||||
<br>{
|
||||
"id": 68499,
|
||||
"parent_id": 0,
|
||||
"status": "processing",
|
||||
"currency": "EUR",
|
||||
"version": "9.0.2",
|
||||
"prices_include_tax": true,
|
||||
"date_created": "2024-07-26T16:00:39",
|
||||
"date_modified": "2024-07-26T16:00:43",
|
||||
"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_ym7aQYrzrzbzM",
|
||||
"billing": {
|
||||
"first_name": "Prova Paolo",
|
||||
"last_name": "Prova Paolo",
|
||||
"company": null,
|
||||
"address_1": "prova paolo",
|
||||
"address_2": null,
|
||||
"city": "PROVA",
|
||||
"state": "RN",
|
||||
"postcode": "47923",
|
||||
"country": "IT",
|
||||
"email": "paolo.arena@gruppomacro.app",
|
||||
"phone": null
|
||||
},
|
||||
"shipping": {
|
||||
"first_name": "Prova Paolo",
|
||||
"last_name": "Prova Paolo",
|
||||
"company": null,
|
||||
"address_1": "prova paolo",
|
||||
"address_2": null,
|
||||
"city": "PROVA",
|
||||
"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.105.64",
|
||||
"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-26T16:00:43",
|
||||
"cart_hash": "da8aea5040d1c7b7a6db467b48360e86",
|
||||
"number": "68499",
|
||||
"meta_data": [
|
||||
{
|
||||
"id": 1385322,
|
||||
"key": "is_vat_exempt",
|
||||
"value": "no"
|
||||
},
|
||||
{
|
||||
"id": 1385323,
|
||||
"key": "yaydp_product_pricing_rules",
|
||||
"value": []
|
||||
},
|
||||
{
|
||||
"id": 1385324,
|
||||
"key": "yaydp_cart_discount_rules",
|
||||
"value": []
|
||||
},
|
||||
{
|
||||
"id": 1385325,
|
||||
"key": "yaydp_checkout_fee_rules",
|
||||
"value": []
|
||||
},
|
||||
{
|
||||
"id": 1385329,
|
||||
"key": "_ga_tracked",
|
||||
"value": "1"
|
||||
}
|
||||
],
|
||||
"line_items": [
|
||||
{
|
||||
"id": 237,
|
||||
"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": 2033,
|
||||
"key": "pa_versione",
|
||||
"value": "nuovo",
|
||||
"display_key": "Versione",
|
||||
"display_value": "Nuovo"
|
||||
},
|
||||
{
|
||||
"id": 2040,
|
||||
"key": "_reduced_stock",
|
||||
"value": "1",
|
||||
"display_key": "_reduced_stock",
|
||||
"display_value": "1"
|
||||
}
|
||||
],
|
||||
"sku": "15102",
|
||||
"price": 23.275,
|
||||
"image": {
|
||||
"id": 67818,
|
||||
"src": "https:\/\/i0.wp.com\/www.fioredellavita.it\/wp-content\/uploads\/2022\/11\/viaggio-verso-casa.jpg?fit=450%2C675&ssl=1"
|
||||
},
|
||||
"parent_name": "Viaggio verso Casa"
|
||||
}
|
||||
],
|
||||
"tax_lines": [],
|
||||
"shipping_lines": [
|
||||
{
|
||||
"id": 238,
|
||||
"method_title": "Spedizione gratuita",
|
||||
"method_id": "free_shipping",
|
||||
"instance_id": "2",
|
||||
"total": "0.00",
|
||||
"total_tax": "0.00",
|
||||
"taxes": [],
|
||||
"meta_data": [
|
||||
{
|
||||
"id": 2039,
|
||||
"key": "Prodotti",
|
||||
"value": "Viaggio verso Casa - Nuovo × 1",
|
||||
"display_key": "Prodotti",
|
||||
"display_value": "Viaggio verso Casa - Nuovo × 1"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"fee_lines": [],
|
||||
"coupon_lines": [],
|
||||
"refunds": [],
|
||||
"payment_url": "https:\/\/www.fioredellavita.it\/pagamento\/order-pay\/68499\/?pay_for_order=true&key=wc_order_ym7aQYrzrzbzM",
|
||||
"is_editable": false,
|
||||
"needs_payment": false,
|
||||
"needs_processing": true,
|
||||
"date_created_gmt": "2024-07-26T14:00:39",
|
||||
"date_modified_gmt": "2024-07-26T14:00:43",
|
||||
"date_completed_gmt": null,
|
||||
"date_paid_gmt": "2024-07-26T14:00:43",
|
||||
"currency_symbol": "\u20ac",
|
||||
"_links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders\/68499"
|
||||
}
|
||||
],
|
||||
"collection": [
|
||||
{
|
||||
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
<br>myidInternet=68499
|
||||
<br>Creazione Ordine... codice=68499
|
||||
<br>$orderdetail->CodArticoloGM= 15102
|
||||
<br>sku=15102
|
||||
<br>Dettaglio Ordine: {
|
||||
"IdInternet": 68499,
|
||||
"CodArticoloGM": 15102,
|
||||
"Qta": 1,
|
||||
"PrezzoLordo": "23.28",
|
||||
"Enabled": 1,
|
||||
"DataOra": "2024-07-26T16:00:39",
|
||||
"id": 53
|
||||
}
|
||||
<br>Cerco il customer_id: 0
|
||||
<br>crea Cliente: Prova Paolo Prova Paolo
|
||||
<br>Errore: Attempt to read property "key" on array
|
||||
<br> ...fine compilazione campi Cliente{
|
||||
"Nominativo": "Prova Paolo Prova Paolo",
|
||||
"Indirizzo": "prova paolo",
|
||||
"Citta": "PROVA",
|
||||
"Cap": "47923",
|
||||
"Provincia": "RN",
|
||||
"Telefono": null,
|
||||
"Email": null,
|
||||
"CodClienteGM": "",
|
||||
"IdNazione": 227,
|
||||
"IdInternet": 68499
|
||||
}
|
||||
<br>Errore nella fase di salvataggio: SQLSTATE[
|
||||
23000
|
||||
]: [Microsoft
|
||||
][ODBC Driver 17 for SQL Server
|
||||
][SQL Server
|
||||
]Impossibile inserire il valore NULL nella colonna 'CodClienteInternet' della tabella 'ANAG_MACRO.dbo.T_WOO_Clienti'. La colonna non ammette valori Null. INSERT avrà esito negativo. (SQL: insert into [T_WOO_Clienti
|
||||
] ([Nominativo
|
||||
],
|
||||
[Indirizzo
|
||||
],
|
||||
[Citta
|
||||
],
|
||||
[Cap
|
||||
],
|
||||
[Provincia
|
||||
],
|
||||
[Telefono
|
||||
],
|
||||
[Email
|
||||
],
|
||||
[CodClienteGM
|
||||
],
|
||||
[IdNazione
|
||||
],
|
||||
[IdInternet
|
||||
]) values (Prova Paolo Prova Paolo, prova paolo, PROVA,
|
||||
47923, RN, ?, ?,
|
||||
,
|
||||
227,
|
||||
68499))
|
||||
<br>Order: {
|
||||
"IdInternet": 68499,
|
||||
"CodClienteInternet": null,
|
||||
"Enabled": 1,
|
||||
"idSito": 7,
|
||||
"DataOra": "2024-07-26T16:00:39",
|
||||
"Note": null,
|
||||
"Totale": "23.28",
|
||||
"Spedizioniere": "GLS",
|
||||
"ImportoSpedizione": "0.00",
|
||||
"id": 0
|
||||
}
|
||||
<br>Inserito ordine !
|
||||
<br>{
|
||||
"id": 68499,
|
||||
"parent_id": 0,
|
||||
"status": "processing",
|
||||
"currency": "EUR",
|
||||
"version": "9.0.2",
|
||||
"prices_include_tax": true,
|
||||
"date_created": "2024-07-26T16:00:39",
|
||||
"date_modified": "2024-07-26T16:00:43",
|
||||
"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_ym7aQYrzrzbzM",
|
||||
"billing": {
|
||||
"first_name": "Prova Paolo",
|
||||
"last_name": "Prova Paolo",
|
||||
"company": null,
|
||||
"address_1": "prova paolo",
|
||||
"address_2": null,
|
||||
"city": "PROVA",
|
||||
"state": "RN",
|
||||
"postcode": "47923",
|
||||
"country": "IT",
|
||||
"email": "paolo.arena@gruppomacro.app",
|
||||
"phone": null
|
||||
},
|
||||
"shipping": {
|
||||
"first_name": "Prova Paolo",
|
||||
"last_name": "Prova Paolo",
|
||||
"company": null,
|
||||
"address_1": "prova paolo",
|
||||
"address_2": null,
|
||||
"city": "PROVA",
|
||||
"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.105.64",
|
||||
"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-26T16:00:43",
|
||||
"cart_hash": "da8aea5040d1c7b7a6db467b48360e86",
|
||||
"number": "68499",
|
||||
"meta_data": [
|
||||
{
|
||||
"id": 1385322,
|
||||
"key": "is_vat_exempt",
|
||||
"value": "no"
|
||||
},
|
||||
{
|
||||
"id": 1385323,
|
||||
"key": "yaydp_product_pricing_rules",
|
||||
"value": []
|
||||
},
|
||||
{
|
||||
"id": 1385324,
|
||||
"key": "yaydp_cart_discount_rules",
|
||||
"value": []
|
||||
},
|
||||
{
|
||||
"id": 1385325,
|
||||
"key": "yaydp_checkout_fee_rules",
|
||||
"value": []
|
||||
},
|
||||
{
|
||||
"id": 1385329,
|
||||
"key": "_ga_tracked",
|
||||
"value": "1"
|
||||
}
|
||||
],
|
||||
"line_items": [
|
||||
{
|
||||
"id": 237,
|
||||
"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": 2033,
|
||||
"key": "pa_versione",
|
||||
"value": "nuovo",
|
||||
"display_key": "Versione",
|
||||
"display_value": "Nuovo"
|
||||
},
|
||||
{
|
||||
"id": 2040,
|
||||
"key": "_reduced_stock",
|
||||
"value": "1",
|
||||
"display_key": "_reduced_stock",
|
||||
"display_value": "1"
|
||||
}
|
||||
],
|
||||
"sku": "15102",
|
||||
"price": 23.275,
|
||||
"image": {
|
||||
"id": 67818,
|
||||
"src": "https:\/\/i0.wp.com\/www.fioredellavita.it\/wp-content\/uploads\/2022\/11\/viaggio-verso-casa.jpg?fit=450%2C675&ssl=1"
|
||||
},
|
||||
"parent_name": "Viaggio verso Casa"
|
||||
}
|
||||
],
|
||||
"tax_lines": [],
|
||||
"shipping_lines": [
|
||||
{
|
||||
"id": 238,
|
||||
"method_title": "Spedizione gratuita",
|
||||
"method_id": "free_shipping",
|
||||
"instance_id": "2",
|
||||
"total": "0.00",
|
||||
"total_tax": "0.00",
|
||||
"taxes": [],
|
||||
"meta_data": [
|
||||
{
|
||||
"id": 2039,
|
||||
"key": "Prodotti",
|
||||
"value": "Viaggio verso Casa - Nuovo × 1",
|
||||
"display_key": "Prodotti",
|
||||
"display_value": "Viaggio verso Casa - Nuovo × 1"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"fee_lines": [],
|
||||
"coupon_lines": [],
|
||||
"refunds": [],
|
||||
"payment_url": "https:\/\/www.fioredellavita.it\/pagamento\/order-pay\/68499\/?pay_for_order=true&key=wc_order_ym7aQYrzrzbzM",
|
||||
"is_editable": false,
|
||||
"needs_payment": false,
|
||||
"needs_processing": true,
|
||||
"date_created_gmt": "2024-07-26T14:00:39",
|
||||
"date_modified_gmt": "2024-07-26T14:00:43",
|
||||
"date_completed_gmt": null,
|
||||
"date_paid_gmt": "2024-07-26T14:00:43",
|
||||
"currency_symbol": "\u20ac",
|
||||
"_links": {
|
||||
"self": [
|
||||
{
|
||||
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders\/68499"
|
||||
}
|
||||
],
|
||||
"collection": [
|
||||
{
|
||||
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
<br>
|
||||
Reference in New Issue
Block a user