- Creazione "AbitareGliIblei"

- Mappa Interattiva con i markers
This commit is contained in:
Surya Paolo
2024-07-31 15:02:30 +02:00
parent 3ab18b591f
commit 822585cf33
252 changed files with 3600294 additions and 4300 deletions

225
docs/ccc.json Normal file
View File

@@ -0,0 +1,225 @@
<br>{
"id": 66583,
"parent_id": 0,
"status": "on-hold",
"currency": "EUR",
"version": "9.0.2",
"prices_include_tax": true,
"date_created": "2024-06-19T18:04:00",
"date_modified": "2024-07-16T14:03:39",
"discount_total": "0.00",
"discount_tax": "0.00",
"shipping_total": "0.00",
"shipping_tax": "0.00",
"cart_tax": "0.00",
"total": "19.86",
"total_tax": "0.00",
"customer_id": 188,
"order_key": "wc_order_GuLQldPhXjgU0",
"billing": {
"first_name": "Giovanni Carlo",
"last_name": "Lombardo",
"company": null,
"address_1": "Via Vincenzo Foppa 9",
"address_2": null,
"city": "Milano",
"state": "MI",
"postcode": "20144",
"country": "IT",
"email": "Joecarl0@yahoo.it",
"phone": null
},
"shipping": {
"first_name": "Giovanni Carlo",
"last_name": "Lombardo",
"company": null,
"address_1": "Via Vincenzo Foppa 9",
"address_2": null,
"city": "Milano",
"state": "MI",
"postcode": "20144",
"country": "IT",
"phone": null
},
"payment_method": "paypal",
"payment_method_title": "PayPal",
"transaction_id": "61939211E8299643B",
"customer_ip_address": "162.158.130.19",
"customer_user_agent": "Mozilla\/5.0 (Linux; Android 12; SAMSUNG SM-G990B2) AppleWebKit\/537.36 (KHTML, like Gecko) SamsungBrowser\/16.2 Chrome\/92.0.4515.166 Mobile Safari\/537.36",
"created_via": "checkout",
"customer_note": null,
"date_completed": "2024-07-09T12:39:32",
"date_paid": "2024-06-19T18:04:50",
"cart_hash": "fa3c8f2807ee376b35d6478bc8738f73",
"number": "66583",
"meta_data": [
{
"id": 1372044,
"key": "is_vat_exempt",
"value": "no"
},
{
"id": 1372045,
"key": "_preorder_date",
"value": "2024-07-09"
},
{
"id": 1372047,
"key": "_wc_order_attribution_source_type",
"value": "typein"
},
{
"id": 1372048,
"key": "_wc_order_attribution_utm_source",
"value": "(direct)"
},
{
"id": 1372049,
"key": "_wc_order_attribution_session_entry",
"value": "https:\/\/www.fioredellavita.it\/centro-yoga\/collasso-donda-quantica\/"
},
{
"id": 1372050,
"key": "_wc_order_attribution_session_start_time",
"value": "2024-06-19 15:54:23"
},
{
"id": 1372051,
"key": "_wc_order_attribution_session_pages",
"value": "12"
},
{
"id": 1372052,
"key": "_wc_order_attribution_session_count",
"value": "1"
},
{
"id": 1372053,
"key": "_wc_order_attribution_user_agent",
"value": "Mozilla\/5.0 (Linux; Android 12; SAMSUNG SM-G990B2) AppleWebKit\/537.36 (KHTML, like Gecko) SamsungBrowser\/16.2 Chrome\/92.0.4515.166 Mobile Safari\/537.36"
},
{
"id": 1372054,
"key": "_wc_order_attribution_device_type",
"value": "Mobile"
},
{
"id": 1372055,
"key": "yaydp_product_pricing_rules",
"value": []
},
{
"id": 1372056,
"key": "yaydp_cart_discount_rules",
"value": []
},
{
"id": 1372057,
"key": "yaydp_checkout_fee_rules",
"value": []
},
{
"id": 1372067,
"key": "Payment type",
"value": "instant"
},
{
"id": 1372068,
"key": "_paypal_status",
"value": "completed"
},
{
"id": 1372071,
"key": "PayPal Transaction Fee",
"value": "1.03"
}
],
"line_items": [
{
"id": 139,
"name": "Potenzia il Tuo Cervello Quantico - Nuovo",
"product_id": 55960,
"variation_id": 55961,
"quantity": 1,
"tax_class": null,
"subtotal": "19.86",
"subtotal_tax": "0.00",
"total": "19.86",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 1182,
"key": "pa_versione",
"value": "nuovo",
"display_key": "Versione",
"display_value": "Nuovo"
},
{
"id": 1189,
"key": "_reduced_stock",
"value": "1",
"display_key": "_reduced_stock",
"display_value": "1"
}
],
"sku": "21205",
"price": 19.855,
"image": {
"id": 66246,
"src": "https:\/\/i0.wp.com\/www.fioredellavita.it\/wp-content\/uploads\/2023\/10\/potenzia-il-tuo-cervello-quantico-copertina.jpg?fit=450%2C621&ssl=1"
},
"parent_name": "Potenzia il Tuo Cervello Quantico"
}
],
"tax_lines": [],
"shipping_lines": [
{
"id": 140,
"method_title": "Spedizione gratuita",
"method_id": "free_shipping",
"instance_id": "2",
"total": "0.00",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 1188,
"key": "Prodotti",
"value": "Potenzia il Tuo Cervello Quantico - Nuovo &times; 1",
"display_key": "Prodotti",
"display_value": "Potenzia il Tuo Cervello Quantico - Nuovo &times; 1"
}
]
}
],
"fee_lines": [],
"coupon_lines": [],
"refunds": [],
"payment_url": "https:\/\/www.fioredellavita.it\/pagamento\/order-pay\/66583\/?pay_for_order=true&key=wc_order_GuLQldPhXjgU0",
"is_editable": true,
"needs_payment": false,
"needs_processing": true,
"date_created_gmt": "2024-06-19T16:04:00",
"date_modified_gmt": "2024-07-16T12:03:39",
"date_completed_gmt": "2024-07-09T10:39:32",
"date_paid_gmt": "2024-06-19T16:04:50",
"currency_symbol": "\u20ac",
"_links": {
"self": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders\/66583"
}
],
"collection": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders"
}
],
"customer": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/customers\/188"
}
]
}
}

389
docs/ok1.json Normal file
View File

@@ -0,0 +1,389 @@
Iniziato: 2024-07-11 12: 49: 29
<br>updatecreate: check se ARRIVATO ORDINE test processing
<br>updatecreate: ARRIVATO ORDINE test processing
<br>{
"id": 68121,
"parent_id": 0,
"status": "processing",
"currency": "EUR",
"version": "9.0.2",
"prices_include_tax": true,
"date_created": "2024-07-11T12:48:56",
"date_modified": "2024-07-11T12:49:00",
"discount_total": "0.00",
"discount_tax": "0.00",
"shipping_total": "0.00",
"shipping_tax": "0.00",
"cart_tax": "0.00",
"total": "9.98",
"total_tax": "0.00",
"customer_id": 81,
"order_key": "wc_order_Uyz0DGlMoozIp",
"billing": {
"first_name": "TEST PAOLO",
"last_name": "TEST PAOLO",
"company": null,
"address_1": "TEST DI PAOLO NON SPEDIRE",
"address_2": null,
"city": "ROMA",
"state": "RM",
"postcode": "47900",
"country": "IT",
"email": "surya@riso.app",
"phone": null
},
"shipping": {
"first_name": "TEST PAOLO",
"last_name": "TEST PAOLO",
"company": null,
"address_1": "TEST DI PAOLO NON SPEDIRE",
"address_2": null,
"city": "ROMA",
"state": "RM",
"postcode": "47900",
"country": "IT",
"phone": null
},
"payment_method": "test",
"payment_method_title": "Test Pagamento per PROVE",
"transaction_id": null,
"customer_ip_address": "172.71.99.230",
"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-11T12:49:00",
"cart_hash": "df374a92c5ab9fc0895aea1509930d7f",
"number": "68121",
"meta_data": [
{
"id": 1382750,
"key": "is_vat_exempt",
"value": "no"
},
{
"id": 1382751,
"key": "yaydp_product_pricing_rules",
"value": []
},
{
"id": 1382752,
"key": "yaydp_cart_discount_rules",
"value": []
},
{
"id": 1382753,
"key": "yaydp_checkout_fee_rules",
"value": []
}
],
"line_items": [
{
"id": 202,
"name": "Cos\u00ec come sei! - Nuovo",
"product_id": 64524,
"variation_id": 64525,
"quantity": 1,
"tax_class": null,
"subtotal": "9.98",
"subtotal_tax": "0.00",
"total": "9.98",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 1733,
"key": "pa_versione",
"value": "nuovo",
"display_key": "Versione",
"display_value": "Nuovo"
},
{
"id": 1740,
"key": "_reduced_stock",
"value": "1",
"display_key": "_reduced_stock",
"display_value": "1"
}
],
"sku": "21897",
"price": 9.975,
"image": {
"id": 65079,
"src": "https:\/\/i0.wp.com\/www.fioredellavita.it\/wp-content\/uploads\/2024\/04\/cosi-come-sei.jpg?fit=450%2C369&ssl=1"
},
"parent_name": "Cos\u00ec come sei!"
}
],
"tax_lines": [],
"shipping_lines": [
{
"id": 203,
"method_title": "Spedizione gratuita",
"method_id": "free_shipping",
"instance_id": "2",
"total": "0.00",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 1739,
"key": "Prodotti",
"value": "Cos\u00ec come sei! - Nuovo &times; 1",
"display_key": "Prodotti",
"display_value": "Cos\u00ec come sei! - Nuovo &times; 1"
}
]
}
],
"fee_lines": [],
"coupon_lines": [],
"refunds": [],
"payment_url": "https:\/\/www.fioredellavita.it\/pagamento\/order-pay\/68121\/?pay_for_order=true&key=wc_order_Uyz0DGlMoozIp",
"is_editable": false,
"needs_payment": false,
"needs_processing": true,
"date_created_gmt": "2024-07-11T10:48:56",
"date_modified_gmt": "2024-07-11T10:49:00",
"date_completed_gmt": null,
"date_paid_gmt": "2024-07-11T10:49:00",
"currency_symbol": "\u20ac",
"_links": {
"self": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders\/68121"
}
],
"collection": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders"
}
],
"customer": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/customers\/81"
}
]
}
}
<br>Creazione Ordine... codice=68121
<br>Order: {
"IdInternet": 68121,
"CodClienteInternet": 81,
"Enabled": 1,
"DataOra": "2024-07-11T12:48:56",
"Note": null,
"Totale": "9.98",
"Spedizioniere": "GLS",
"ImportoSpedizione": "0.00",
"id": 0
}
<br>$orderdetail->CodArticoloGM= 21897
<br>sku=21897
<br>Dettaglio Ordine: {
"IdInternet": 68121,
"CodArticoloGM": 21897,
"Qta": 1,
"PrezzoLordo": "9.98",
"Enabled": 1,
"DataOra": "2024-07-11T12:48:56",
"id": 41
}
<br>Cerco il customer_id: 81
<br>crea Cliente: TEST PAOLO TEST PAOLO
<br>Array Clienti su GM! nullcon IdInternet=68121
<br> ...fine compilazione campi Cliente{
"CodClienteInternet": 81,
"Nominativo": "TEST PAOLO TEST PAOLO",
"Indirizzo": "TEST DI PAOLO NON SPEDIRE ",
"Citta": "ROMA",
"Cap": "47900",
"Provincia": "RM",
"Telefono": "",
"Email": "surya@riso.app",
"IdNazione": 227,
"CodiceFiscale": "",
"PIVA": "",
"IdInternet": 68121
}
<br>Salvato Cliente: {
"CodClienteInternet": 81,
"Nominativo": "TEST PAOLO TEST PAOLO",
"Indirizzo": "TEST DI PAOLO NON SPEDIRE ",
"Citta": "ROMA",
"Cap": "47900",
"Provincia": "RM",
"Telefono": "",
"Email": "surya@riso.app",
"IdNazione": 227,
"CodiceFiscale": "",
"PIVA": "",
"IdInternet": 68121
}
<br>Inserito ordine !
<br>{
"id": 68121,
"parent_id": 0,
"status": "processing",
"currency": "EUR",
"version": "9.0.2",
"prices_include_tax": true,
"date_created": "2024-07-11T12:48:56",
"date_modified": "2024-07-11T12:49:00",
"discount_total": "0.00",
"discount_tax": "0.00",
"shipping_total": "0.00",
"shipping_tax": "0.00",
"cart_tax": "0.00",
"total": "9.98",
"total_tax": "0.00",
"customer_id": 81,
"order_key": "wc_order_Uyz0DGlMoozIp",
"billing": {
"first_name": "TEST PAOLO",
"last_name": "TEST PAOLO",
"company": null,
"address_1": "TEST DI PAOLO NON SPEDIRE",
"address_2": null,
"city": "ROMA",
"state": "RM",
"postcode": "47900",
"country": "IT",
"email": "surya@riso.app",
"phone": null
},
"shipping": {
"first_name": "TEST PAOLO",
"last_name": "TEST PAOLO",
"company": null,
"address_1": "TEST DI PAOLO NON SPEDIRE",
"address_2": null,
"city": "ROMA",
"state": "RM",
"postcode": "47900",
"country": "IT",
"phone": null
},
"payment_method": "test",
"payment_method_title": "Test Pagamento per PROVE",
"transaction_id": null,
"customer_ip_address": "172.71.99.230",
"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-11T12:49:00",
"cart_hash": "df374a92c5ab9fc0895aea1509930d7f",
"number": "68121",
"meta_data": [
{
"id": 1382750,
"key": "is_vat_exempt",
"value": "no"
},
{
"id": 1382751,
"key": "yaydp_product_pricing_rules",
"value": []
},
{
"id": 1382752,
"key": "yaydp_cart_discount_rules",
"value": []
},
{
"id": 1382753,
"key": "yaydp_checkout_fee_rules",
"value": []
}
],
"line_items": [
{
"id": 202,
"name": "Cos\u00ec come sei! - Nuovo",
"product_id": 64524,
"variation_id": 64525,
"quantity": 1,
"tax_class": null,
"subtotal": "9.98",
"subtotal_tax": "0.00",
"total": "9.98",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 1733,
"key": "pa_versione",
"value": "nuovo",
"display_key": "Versione",
"display_value": "Nuovo"
},
{
"id": 1740,
"key": "_reduced_stock",
"value": "1",
"display_key": "_reduced_stock",
"display_value": "1"
}
],
"sku": "21897",
"price": 9.975,
"image": {
"id": 65079,
"src": "https:\/\/i0.wp.com\/www.fioredellavita.it\/wp-content\/uploads\/2024\/04\/cosi-come-sei.jpg?fit=450%2C369&ssl=1"
},
"parent_name": "Cos\u00ec come sei!"
}
],
"tax_lines": [],
"shipping_lines": [
{
"id": 203,
"method_title": "Spedizione gratuita",
"method_id": "free_shipping",
"instance_id": "2",
"total": "0.00",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 1739,
"key": "Prodotti",
"value": "Cos\u00ec come sei! - Nuovo &times; 1",
"display_key": "Prodotti",
"display_value": "Cos\u00ec come sei! - Nuovo &times; 1"
}
]
}
],
"fee_lines": [],
"coupon_lines": [],
"refunds": [],
"payment_url": "https:\/\/www.fioredellavita.it\/pagamento\/order-pay\/68121\/?pay_for_order=true&key=wc_order_Uyz0DGlMoozIp",
"is_editable": false,
"needs_payment": false,
"needs_processing": true,
"date_created_gmt": "2024-07-11T10:48:56",
"date_modified_gmt": "2024-07-11T10:49:00",
"date_completed_gmt": null,
"date_paid_gmt": "2024-07-11T10:49:00",
"currency_symbol": "\u20ac",
"_links": {
"self": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders\/68121"
}
],
"collection": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders"
}
],
"customer": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/customers\/81"
}
]
}
}
<br>

388
docs/ok2.json Normal file
View File

@@ -0,0 +1,388 @@
Iniziato: 2024-07-11 14: 52: 24
<br>updatecreate: check se ARRIVATO ORDINE test processing
<br>updatecreate: ARRIVATO ORDINE test processing
<br>{
"id": 68131,
"parent_id": 0,
"status": "processing",
"currency": "EUR",
"version": "9.0.2",
"prices_include_tax": true,
"date_created": "2024-07-11T14:51:36",
"date_modified": "2024-07-11T14:51:40",
"discount_total": "0.00",
"discount_tax": "0.00",
"shipping_total": "0.00",
"shipping_tax": "0.00",
"cart_tax": "0.00",
"total": "9.98",
"total_tax": "0.00",
"customer_id": 81,
"order_key": "wc_order_X4yqmcVNYAr21",
"billing": {
"first_name": "TEST PAOLO",
"last_name": "TEST PAOLO",
"company": null,
"address_1": "TEST DI PAOLO NON SPEDIRE",
"address_2": null,
"city": "ROMA",
"state": "RM",
"postcode": "47900",
"country": "IT",
"email": "surya@riso.app",
"phone": null
},
"shipping": {
"first_name": "TEST PAOLO",
"last_name": "TEST PAOLO",
"company": null,
"address_1": "TEST DI PAOLO NON SPEDIRE",
"address_2": null,
"city": "ROMA",
"state": "RM",
"postcode": "47900",
"country": "IT",
"phone": null
},
"payment_method": "test",
"payment_method_title": "Test Pagamento per PROVE",
"transaction_id": null,
"customer_ip_address": "172.70.90.205",
"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-11T14:51:40",
"cart_hash": "df374a92c5ab9fc0895aea1509930d7f",
"number": "68131",
"meta_data": [
{
"id": 1382974,
"key": "is_vat_exempt",
"value": "no"
},
{
"id": 1382975,
"key": "yaydp_product_pricing_rules",
"value": []
},
{
"id": 1382976,
"key": "yaydp_cart_discount_rules",
"value": []
},
{
"id": 1382977,
"key": "yaydp_checkout_fee_rules",
"value": []
}
],
"line_items": [
{
"id": 210,
"name": "Cos\u00ec come sei! - Nuovo",
"product_id": 64524,
"variation_id": 64525,
"quantity": 1,
"tax_class": null,
"subtotal": "9.98",
"subtotal_tax": "0.00",
"total": "9.98",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 1801,
"key": "pa_versione",
"value": "nuovo",
"display_key": "Versione",
"display_value": "Nuovo"
},
{
"id": 1808,
"key": "_reduced_stock",
"value": "1",
"display_key": "_reduced_stock",
"display_value": "1"
}
],
"sku": "21897",
"price": 9.975,
"image": {
"id": 65079,
"src": "https:\/\/www.fioredellavita.it\/wp-content\/uploads\/2024\/04\/cosi-come-sei.jpg"
},
"parent_name": "Cos\u00ec come sei!"
}
],
"tax_lines": [],
"shipping_lines": [
{
"id": 211,
"method_title": "Spedizione gratuita",
"method_id": "free_shipping",
"instance_id": "2",
"total": "0.00",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 1807,
"key": "Prodotti",
"value": "Cos\u00ec come sei! - Nuovo &times; 1",
"display_key": "Prodotti",
"display_value": "Cos\u00ec come sei! - Nuovo &times; 1"
}
]
}
],
"fee_lines": [],
"coupon_lines": [],
"refunds": [],
"payment_url": "https:\/\/www.fioredellavita.it\/pagamento\/order-pay\/68131\/?pay_for_order=true&key=wc_order_X4yqmcVNYAr21",
"is_editable": false,
"needs_payment": false,
"needs_processing": true,
"date_created_gmt": "2024-07-11T12:51:36",
"date_modified_gmt": "2024-07-11T12:51:40",
"date_completed_gmt": null,
"date_paid_gmt": "2024-07-11T12:51:40",
"currency_symbol": "\u20ac",
"_links": {
"self": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders\/68131"
}
],
"collection": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders"
}
],
"customer": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/customers\/81"
}
]
}
}
<br>myidInternet=68131
<br>Creazione Ordine... codice=68131
<br>Order: {
"IdInternet": 68131,
"CodClienteInternet": 81,
"Enabled": 1,
"DataOra": "2024-07-11T14:51:36",
"Note": null,
"Totale": "9.98",
"Spedizioniere": "GLS",
"ImportoSpedizione": "0.00",
"id": 0
}
<br>$orderdetail->CodArticoloGM= 21897
<br>sku=21897
<br>Dettaglio Ordine: {
"IdInternet": 68131,
"CodArticoloGM": 21897,
"Qta": 1,
"PrezzoLordo": "9.98",
"Enabled": 1,
"DataOra": "2024-07-11T14:51:36",
"id": 45
}
<br>Cerco il customer_id: 81
<br>crea Cliente: TEST PAOLO TEST PAOLO
<br> ...fine compilazione campi Cliente{
"CodClienteInternet": 81,
"Nominativo": "TEST PAOLO TEST PAOLO",
"Indirizzo": "TEST DI PAOLO NON SPEDIRE ",
"Citta": "ROMA",
"Cap": "47900",
"Provincia": "RM",
"Telefono": "",
"Email": "surya@riso.app",
"IdNazione": 227,
"CodiceFiscale": "",
"PIVA": "",
"IdInternet": 68131
}
<br>Salvato Cliente: {
"CodClienteInternet": 81,
"Nominativo": "TEST PAOLO TEST PAOLO",
"Indirizzo": "TEST DI PAOLO NON SPEDIRE ",
"Citta": "ROMA",
"Cap": "47900",
"Provincia": "RM",
"Telefono": "",
"Email": "surya@riso.app",
"IdNazione": 227,
"CodiceFiscale": "",
"PIVA": "",
"IdInternet": 68131
}
<br>Inserito ordine !
<br>{
"id": 68131,
"parent_id": 0,
"status": "processing",
"currency": "EUR",
"version": "9.0.2",
"prices_include_tax": true,
"date_created": "2024-07-11T14:51:36",
"date_modified": "2024-07-11T14:51:40",
"discount_total": "0.00",
"discount_tax": "0.00",
"shipping_total": "0.00",
"shipping_tax": "0.00",
"cart_tax": "0.00",
"total": "9.98",
"total_tax": "0.00",
"customer_id": 81,
"order_key": "wc_order_X4yqmcVNYAr21",
"billing": {
"first_name": "TEST PAOLO",
"last_name": "TEST PAOLO",
"company": null,
"address_1": "TEST DI PAOLO NON SPEDIRE",
"address_2": null,
"city": "ROMA",
"state": "RM",
"postcode": "47900",
"country": "IT",
"email": "surya@riso.app",
"phone": null
},
"shipping": {
"first_name": "TEST PAOLO",
"last_name": "TEST PAOLO",
"company": null,
"address_1": "TEST DI PAOLO NON SPEDIRE",
"address_2": null,
"city": "ROMA",
"state": "RM",
"postcode": "47900",
"country": "IT",
"phone": null
},
"payment_method": "test",
"payment_method_title": "Test Pagamento per PROVE",
"transaction_id": null,
"customer_ip_address": "172.70.90.205",
"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-11T14:51:40",
"cart_hash": "df374a92c5ab9fc0895aea1509930d7f",
"number": "68131",
"meta_data": [
{
"id": 1382974,
"key": "is_vat_exempt",
"value": "no"
},
{
"id": 1382975,
"key": "yaydp_product_pricing_rules",
"value": []
},
{
"id": 1382976,
"key": "yaydp_cart_discount_rules",
"value": []
},
{
"id": 1382977,
"key": "yaydp_checkout_fee_rules",
"value": []
}
],
"line_items": [
{
"id": 210,
"name": "Cos\u00ec come sei! - Nuovo",
"product_id": 64524,
"variation_id": 64525,
"quantity": 1,
"tax_class": null,
"subtotal": "9.98",
"subtotal_tax": "0.00",
"total": "9.98",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 1801,
"key": "pa_versione",
"value": "nuovo",
"display_key": "Versione",
"display_value": "Nuovo"
},
{
"id": 1808,
"key": "_reduced_stock",
"value": "1",
"display_key": "_reduced_stock",
"display_value": "1"
}
],
"sku": "21897",
"price": 9.975,
"image": {
"id": 65079,
"src": "https:\/\/www.fioredellavita.it\/wp-content\/uploads\/2024\/04\/cosi-come-sei.jpg"
},
"parent_name": "Cos\u00ec come sei!"
}
],
"tax_lines": [],
"shipping_lines": [
{
"id": 211,
"method_title": "Spedizione gratuita",
"method_id": "free_shipping",
"instance_id": "2",
"total": "0.00",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 1807,
"key": "Prodotti",
"value": "Cos\u00ec come sei! - Nuovo &times; 1",
"display_key": "Prodotti",
"display_value": "Cos\u00ec come sei! - Nuovo &times; 1"
}
]
}
],
"fee_lines": [],
"coupon_lines": [],
"refunds": [],
"payment_url": "https:\/\/www.fioredellavita.it\/pagamento\/order-pay\/68131\/?pay_for_order=true&key=wc_order_X4yqmcVNYAr21",
"is_editable": false,
"needs_payment": false,
"needs_processing": true,
"date_created_gmt": "2024-07-11T12:51:36",
"date_modified_gmt": "2024-07-11T12:51:40",
"date_completed_gmt": null,
"date_paid_gmt": "2024-07-11T12:51:40",
"currency_symbol": "\u20ac",
"_links": {
"self": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders\/68131"
}
],
"collection": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders"
}
],
"customer": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/customers\/81"
}
]
}
}

400
docs/ok3.json Normal file
View File

@@ -0,0 +1,400 @@
Iniziato: 2024-07-23 08: 59: 18
<br>updatecreate: check se ARRIVATO ORDINE wc_gateway_gestpay processing
<br>updatecreate: ARRIVATO ORDINE wc_gateway_gestpay processing
<br>{
"id": 68393,
"parent_id": 0,
"status": "processing",
"currency": "EUR",
"version": "9.0.2",
"prices_include_tax": true,
"date_created": "2024-07-23T08:57:01",
"date_modified": "2024-07-23T08:59:00",
"discount_total": "0.00",
"discount_tax": "0.00",
"shipping_total": "0.00",
"shipping_tax": "0.00",
"cart_tax": "0.00",
"total": "13.21",
"total_tax": "0.00",
"customer_id": 0,
"order_key": "wc_order_tBF1PQdcPmm24",
"billing": {
"first_name": "Gabriella",
"last_name": "Di fatta",
"company": null,
"address_1": "Via Cavour 38",
"address_2": null,
"city": "Cefalu",
"state": "PA",
"postcode": "90015",
"country": "IT",
"email": "gabrielladifatta@libero.it",
"phone": null
},
"shipping": {
"first_name": "Gabriella",
"last_name": "Di fatta",
"company": null,
"address_1": "Via Cavour 38",
"address_2": null,
"city": "Cefalu",
"state": "PA",
"postcode": "90015",
"country": "IT",
"phone": null
},
"payment_method": "wc_gateway_gestpay",
"payment_method_title": "Paga con carta di credito",
"transaction_id": "39\/861088",
"customer_ip_address": "162.158.23.73",
"customer_user_agent": "Mozilla\/5.0 (Linux; Android 10; K) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/126.0.0.0 Mobile Safari\/537.36",
"created_via": "checkout",
"customer_note": null,
"date_completed": null,
"date_paid": "2024-07-23T08:59:00",
"cart_hash": "58b8502569d6c1786f6186a58b2a4659",
"number": "68393",
"meta_data": [
{
"id": 1384546,
"key": "is_vat_exempt",
"value": "no"
},
{
"id": 1384547,
"key": "yaydp_product_pricing_rules",
"value": []
},
{
"id": 1384548,
"key": "yaydp_cart_discount_rules",
"value": []
},
{
"id": 1384549,
"key": "yaydp_checkout_fee_rules",
"value": []
},
{
"id": 1384550,
"key": "_wc_gestpay_banktid",
"value": "39"
},
{
"id": 1384551,
"key": "_wc_gestpay_authcode",
"value": "861088"
}
],
"line_items": [
{
"id": 235,
"name": "Ferv\u00ecda - Fermenti di vita - Nuovo",
"product_id": 55772,
"variation_id": 55773,
"quantity": 1,
"tax_class": null,
"subtotal": "13.21",
"subtotal_tax": "0.00",
"total": "13.21",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 2016,
"key": "pa_versione",
"value": "nuovo",
"display_key": "Versione",
"display_value": "Nuovo"
},
{
"id": 2023,
"key": "_reduced_stock",
"value": "1",
"display_key": "_reduced_stock",
"display_value": "1"
}
],
"sku": "20923",
"price": 13.205,
"image": {
"id": 63750,
"src": "https:\/\/www.fioredellavita.it\/wp-content\/uploads\/2023\/10\/fervida-fermenti-di-vita-scaled.jpg"
},
"parent_name": "Ferv\u00ecda - Fermenti di vita"
}
],
"tax_lines": [],
"shipping_lines": [
{
"id": 236,
"method_title": "Spedizione gratuita",
"method_id": "free_shipping",
"instance_id": "2",
"total": "0.00",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 2022,
"key": "Prodotti",
"value": "Ferv\u00ecda - Fermenti di vita - Nuovo &times; 1",
"display_key": "Prodotti",
"display_value": "Ferv\u00ecda - Fermenti di vita - Nuovo &times; 1"
}
]
}
],
"fee_lines": [],
"coupon_lines": [],
"refunds": [],
"payment_url": "https:\/\/www.fioredellavita.it\/pagamento\/order-pay\/68393\/?pay_for_order=true&key=wc_order_tBF1PQdcPmm24",
"is_editable": false,
"needs_payment": false,
"needs_processing": true,
"date_created_gmt": "2024-07-23T06:57:01",
"date_modified_gmt": "2024-07-23T06:59:00",
"date_completed_gmt": null,
"date_paid_gmt": "2024-07-23T06:59:00",
"currency_symbol": "\u20ac",
"_links": {
"self": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders\/68393"
}
],
"collection": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders"
}
]
}
}
<br>myidInternet=68393
<br>Creazione Ordine... codice=68393
<br>Order: {
"IdInternet": 68393,
"CodClienteInternet": 0,
"Enabled": 1,
"idSito": 7,
"DataOra": "2024-07-23T08:57:01",
"Note": null,
"Totale": "13.21",
"CodPagamentoGM": "CARTASELLA",
"Spedizioniere": "GLS",
"ImportoSpedizione": "0.00",
"id": 0
}
<br>$orderdetail->CodArticoloGM= 20923
<br>sku=20923
<br>Dettaglio Ordine: {
"IdInternet": 68393,
"CodArticoloGM": 20923,
"Qta": 1,
"PrezzoLordo": "13.21",
"Enabled": 1,
"DataOra": "2024-07-23T08:57:01",
"id": 52
}
<br>Cerco il customer_id: 0
<br>crea Cliente: Gabriella Di fatta
<br>Errore: Attempt to read property "key" on array
<br> ...fine compilazione campi Cliente{
"CodClienteInternet": 0,
"Nominativo": "Gabriella Di fatta",
"Indirizzo": "Via Cavour 38",
"Citta": "Cefalu",
"Cap": "90015",
"Provincia": "PA",
"Telefono": null,
"Email": null,
"CodClienteGM": "",
"IdNazione": 227,
"IdInternet": 68393
}
<br>Salvato Cliente: {
"CodClienteInternet": 0,
"Nominativo": "Gabriella Di fatta",
"Indirizzo": "Via Cavour 38",
"Citta": "Cefalu",
"Cap": "90015",
"Provincia": "PA",
"Telefono": null,
"Email": null,
"CodClienteGM": "",
"IdNazione": 227,
"IdInternet": 68393
}
<br>Inserito ordine !
<br>{
"id": 68393,
"parent_id": 0,
"status": "processing",
"currency": "EUR",
"version": "9.0.2",
"prices_include_tax": true,
"date_created": "2024-07-23T08:57:01",
"date_modified": "2024-07-23T08:59:00",
"discount_total": "0.00",
"discount_tax": "0.00",
"shipping_total": "0.00",
"shipping_tax": "0.00",
"cart_tax": "0.00",
"total": "13.21",
"total_tax": "0.00",
"customer_id": 0,
"order_key": "wc_order_tBF1PQdcPmm24",
"billing": {
"first_name": "Gabriella",
"last_name": "Di fatta",
"company": null,
"address_1": "Via Cavour 38",
"address_2": null,
"city": "Cefalu",
"state": "PA",
"postcode": "90015",
"country": "IT",
"email": "gabrielladifatta@libero.it",
"phone": null
},
"shipping": {
"first_name": "Gabriella",
"last_name": "Di fatta",
"company": null,
"address_1": "Via Cavour 38",
"address_2": null,
"city": "Cefalu",
"state": "PA",
"postcode": "90015",
"country": "IT",
"phone": null
},
"payment_method": "wc_gateway_gestpay",
"payment_method_title": "Paga con carta di credito",
"transaction_id": "39\/861088",
"customer_ip_address": "162.158.23.73",
"customer_user_agent": "Mozilla\/5.0 (Linux; Android 10; K) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/126.0.0.0 Mobile Safari\/537.36",
"created_via": "checkout",
"customer_note": null,
"date_completed": null,
"date_paid": "2024-07-23T08:59:00",
"cart_hash": "58b8502569d6c1786f6186a58b2a4659",
"number": "68393",
"meta_data": [
{
"id": 1384546,
"key": "is_vat_exempt",
"value": "no"
},
{
"id": 1384547,
"key": "yaydp_product_pricing_rules",
"value": []
},
{
"id": 1384548,
"key": "yaydp_cart_discount_rules",
"value": []
},
{
"id": 1384549,
"key": "yaydp_checkout_fee_rules",
"value": []
},
{
"id": 1384550,
"key": "_wc_gestpay_banktid",
"value": "39"
},
{
"id": 1384551,
"key": "_wc_gestpay_authcode",
"value": "861088"
}
],
"line_items": [
{
"id": 235,
"name": "Ferv\u00ecda - Fermenti di vita - Nuovo",
"product_id": 55772,
"variation_id": 55773,
"quantity": 1,
"tax_class": null,
"subtotal": "13.21",
"subtotal_tax": "0.00",
"total": "13.21",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 2016,
"key": "pa_versione",
"value": "nuovo",
"display_key": "Versione",
"display_value": "Nuovo"
},
{
"id": 2023,
"key": "_reduced_stock",
"value": "1",
"display_key": "_reduced_stock",
"display_value": "1"
}
],
"sku": "20923",
"price": 13.205,
"image": {
"id": 63750,
"src": "https:\/\/www.fioredellavita.it\/wp-content\/uploads\/2023\/10\/fervida-fermenti-di-vita-scaled.jpg"
},
"parent_name": "Ferv\u00ecda - Fermenti di vita"
}
],
"tax_lines": [],
"shipping_lines": [
{
"id": 236,
"method_title": "Spedizione gratuita",
"method_id": "free_shipping",
"instance_id": "2",
"total": "0.00",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 2022,
"key": "Prodotti",
"value": "Ferv\u00ecda - Fermenti di vita - Nuovo &times; 1",
"display_key": "Prodotti",
"display_value": "Ferv\u00ecda - Fermenti di vita - Nuovo &times; 1"
}
]
}
],
"fee_lines": [],
"coupon_lines": [],
"refunds": [],
"payment_url": "https:\/\/www.fioredellavita.it\/pagamento\/order-pay\/68393\/?pay_for_order=true&key=wc_order_tBF1PQdcPmm24",
"is_editable": false,
"needs_payment": false,
"needs_processing": true,
"date_created_gmt": "2024-07-23T06:57:01",
"date_modified_gmt": "2024-07-23T06:59:00",
"date_completed_gmt": null,
"date_paid_gmt": "2024-07-23T06:59:00",
"currency_symbol": "\u20ac",
"_links": {
"self": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders\/68393"
}
],
"collection": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders"
}
]
}
}
<br>

405
docs/ok4.json Normal file
View 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 &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\/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 &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\/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>

379
docs/ok5.json Normal file
View File

@@ -0,0 +1,379 @@
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>

263
docs/ok5_seconda_volta.json Normal file
View File

@@ -0,0 +1,263 @@
Iniziato: 2024-07-26 17: 41: 31
<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": []
},
{
"id": 1385376,
"key": "_ga_tracked",
"value": "1"
}
],
"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": 55
}
<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>Errore nella fase di salvataggio: SQLSTATE[
23000
]: [Microsoft
][ODBC Driver 17 for SQL Server
][SQL Server
]Violazione del vincolo PRIMARY KEY 'PK_T_WOO_Clienti'. Impossibile inserire la chiave duplicata nell'oggetto 'dbo.T_WOO_Clienti'. Valore della chiave duplicata: (100,
68500). (SQL: insert into [T_WOO_Clienti
] ([CodClienteInternet
],
[Nominativo
],
[Indirizzo
],
[Citta
],
[Cap
],
[Provincia
],
[Telefono
],
[Email
],
[CodClienteGM
],
[IdNazione
],
[IdInternet
]) values (100, Test Paolo Test Paolo2, via TEST,
, Rimini,
47923, RN, ?, ?,
,
227,
68500))
<br>Errore Nuovo Ordine: SQLSTATE[
23000
]: [Microsoft
][ODBC Driver 17 for SQL Server
][SQL Server
]Violazione del vincolo PRIMARY KEY 'PK_T_WOO_TestateOrdini'. Impossibile inserire la chiave duplicata nell'oggetto 'dbo.T_WOO_TestateOrdini'. Valore della chiave duplicata: (68500). (SQL: insert into [T_WOO_TestateOrdini
] ([IdInternet
],
[CodClienteInternet
],
[Enabled
],
[idSito
],
[DataOra
],
[Note
],
[Totale
],
[Spedizioniere
],
[ImportoSpedizione
]) values (68500,
0,
1,
7,
2024-07-26T17: 41: 03, ?,
23.28, GLS,
0.00))
<br>

388
docs/ok6.json Normal file
View File

@@ -0,0 +1,388 @@
Iniziato: 2024-07-26 17: 50: 30
<br>updatecreate: check se ARRIVATO ORDINE test processing
<br>updatecreate: ARRIVATO ORDINE test processing
<br>{
"id": 68501,
"parent_id": 0,
"status": "processing",
"currency": "EUR",
"version": "9.0.2",
"prices_include_tax": true,
"date_created": "2024-07-26T17:49:39",
"date_modified": "2024-07-26T17:49:44",
"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_8fUNMfWNegwzq",
"billing": {
"first_name": "Test3",
"last_name": "Test3 PAOLO",
"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": "Test3",
"last_name": "Test3 PAOLO",
"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": "108.162.220.114",
"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:49:44",
"cart_hash": "da8aea5040d1c7b7a6db467b48360e86",
"number": "68501",
"meta_data": [
{
"id": 1385416,
"key": "is_vat_exempt",
"value": "no"
},
{
"id": 1385417,
"key": "yaydp_product_pricing_rules",
"value": []
},
{
"id": 1385418,
"key": "yaydp_cart_discount_rules",
"value": []
},
{
"id": 1385419,
"key": "yaydp_checkout_fee_rules",
"value": []
},
{
"id": 1385423,
"key": "_ga_tracked",
"value": "1"
}
],
"line_items": [
{
"id": 241,
"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": 2067,
"key": "pa_versione",
"value": "nuovo",
"display_key": "Versione",
"display_value": "Nuovo"
},
{
"id": 2074,
"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": 242,
"method_title": "Spedizione gratuita",
"method_id": "free_shipping",
"instance_id": "2",
"total": "0.00",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 2073,
"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\/68501\/?pay_for_order=true&key=wc_order_8fUNMfWNegwzq",
"is_editable": false,
"needs_payment": false,
"needs_processing": true,
"date_created_gmt": "2024-07-26T15:49:39",
"date_modified_gmt": "2024-07-26T15:49:44",
"date_completed_gmt": null,
"date_paid_gmt": "2024-07-26T15:49:44",
"currency_symbol": "\u20ac",
"_links": {
"self": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders\/68501"
}
],
"collection": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders"
}
]
}
}
<br>myidInternet=68501
<br>Creazione Ordine... codice=68501
<br>$orderdetail->CodArticoloGM= 15102
<br>sku=15102
<br>Dettaglio Ordine: {
"IdInternet": 68501,
"CodArticoloGM": 15102,
"Qta": 1,
"PrezzoLordo": "23.28",
"Enabled": 1,
"DataOra": "2024-07-26T17:49:39",
"id": 56
}
<br>Cerco il customer_id: 0
<br>crea Cliente: Test3 Test3 PAOLO
<br>Errore: Attempt to read property "key" on array
<br> ...fine compilazione campi Cliente{
"CodClienteInternet": "100",
"Nominativo": "Test3 Test3 PAOLO",
"Indirizzo": "via TEST",
"Citta": "Rimini",
"Cap": "47923",
"Provincia": "RN",
"Telefono": null,
"Email": null,
"CodClienteGM": "",
"IdNazione": 227,
"IdInternet": 68501
}
<br>Salvato Cliente: {
"CodClienteInternet": "100",
"Nominativo": "Test3 Test3 PAOLO",
"Indirizzo": "via TEST",
"Citta": "Rimini",
"Cap": "47923",
"Provincia": "RN",
"Telefono": null,
"Email": null,
"CodClienteGM": "",
"IdNazione": 227,
"IdInternet": 68501
}
<br>Order: {
"IdInternet": 68501,
"Enabled": 1,
"idSito": 7,
"DataOra": "2024-07-26T17:49:39",
"Note": null,
"Totale": "23.28",
"Spedizioniere": "GLS",
"ImportoSpedizione": "0.00",
"CodClienteInternet": 100,
"id": 0
}
<br>Inserito ordine !
<br>{
"id": 68501,
"parent_id": 0,
"status": "processing",
"currency": "EUR",
"version": "9.0.2",
"prices_include_tax": true,
"date_created": "2024-07-26T17:49:39",
"date_modified": "2024-07-26T17:49:44",
"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_8fUNMfWNegwzq",
"billing": {
"first_name": "Test3",
"last_name": "Test3 PAOLO",
"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": "Test3",
"last_name": "Test3 PAOLO",
"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": "108.162.220.114",
"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:49:44",
"cart_hash": "da8aea5040d1c7b7a6db467b48360e86",
"number": "68501",
"meta_data": [
{
"id": 1385416,
"key": "is_vat_exempt",
"value": "no"
},
{
"id": 1385417,
"key": "yaydp_product_pricing_rules",
"value": []
},
{
"id": 1385418,
"key": "yaydp_cart_discount_rules",
"value": []
},
{
"id": 1385419,
"key": "yaydp_checkout_fee_rules",
"value": []
},
{
"id": 1385423,
"key": "_ga_tracked",
"value": "1"
}
],
"line_items": [
{
"id": 241,
"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": 2067,
"key": "pa_versione",
"value": "nuovo",
"display_key": "Versione",
"display_value": "Nuovo"
},
{
"id": 2074,
"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": 242,
"method_title": "Spedizione gratuita",
"method_id": "free_shipping",
"instance_id": "2",
"total": "0.00",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 2073,
"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\/68501\/?pay_for_order=true&key=wc_order_8fUNMfWNegwzq",
"is_editable": false,
"needs_payment": false,
"needs_processing": true,
"date_created_gmt": "2024-07-26T15:49:39",
"date_modified_gmt": "2024-07-26T15:49:44",
"date_completed_gmt": null,
"date_paid_gmt": "2024-07-26T15:49:44",
"currency_symbol": "\u20ac",
"_links": {
"self": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders\/68501"
}
],
"collection": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders"
}
]
}
}