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

400 lines
12 KiB
JSON

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>