[Tuesday 11th of August 2026 02:52:15 AM] add_customer() - START - Customer ID: 474 | Name: [Tuesday 11th of August 2026 02:52:15 AM] add_customer() - Customer payload: {"id":474,"address_count":0,"addresses":[],"authentication":{"force_password_reset":false},"company":"","customer_group_id":0,"email":"JerryKoma688@mac.com","first_name":"Jerry","last_name":"Komaromi","notes":"","phone":"","registration_ip_address":"50.47.24.108","tax_exempt_category":"","date_created":"2026-08-11T07:52:03Z","date_modified":"2026-08-11T07:52:03Z","form_fields":[],"accepts_product_review_abandoned_cart_emails":true,"origin_channel_id":1,"channel_ids":null} [Tuesday 11th of August 2026 02:52:15 AM] add_customer() - Customer fields parsed - ID: AP474 | Address: , , | Email: [Tuesday 11th of August 2026 02:52:15 AM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Tuesday 11th of August 2026 02:52:15 AM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":null,"ADDRESS2":"","CITY":null,"CONTACT_5":null,"CONTACT_1":"","CONTACT_4":null,"COUNTRY":null,"F_NAME":null,"ID":"AP474","L_NAME":null,"STATE":null,"ZIP":null} [Tuesday 11th of August 2026 02:52:19 AM] add_customer() - EBMS API call successful for Customer ID: AP474 [Tuesday 11th of August 2026 02:52:19 AM] add_customer() - Customer created successfully in EBMS - ID: AP474 - Response: null [Tuesday 11th of August 2026 02:52:19 AM] add_customer() - END - Customer ID: AP474 [Tuesday 11th of August 2026 01:13:11 PM] add_customer() - START - Customer ID: 475 | Name: [Tuesday 11th of August 2026 01:13:11 PM] add_customer() - Customer payload: {"id":475,"address_count":1,"addresses":[{"id":616,"address1":"9281 SW I 10 Frontage Road","address2":"","address_type":"residential","city":"Sealy","company":"","country":"United States","country_code":"US","customer_id":475,"first_name":"Erik ","last_name":"Castro ","phone":"9798851300","postal_code":"77474","state_or_province":"Texas","form_fields":[]}],"authentication":{"force_password_reset":false},"company":"","customer_group_id":0,"email":"ecastro@Hennesseyperformance.com","first_name":"Erik ","last_name":"Castro ","notes":"","phone":"9798851300","registration_ip_address":"12.79.190.190","tax_exempt_category":"","date_created":"2026-08-11T18:13:05Z","date_modified":"2026-08-11T18:13:05Z","form_fields":[],"accepts_product_review_abandoned_cart_emails":true,"origin_channel_id":1,"channel_ids":null,"consent":{"allow":[],"deny":[]}} [Tuesday 11th of August 2026 01:13:11 PM] add_customer() - Customer fields parsed - ID: AP475 | Address: , , | Email: [Tuesday 11th of August 2026 01:13:11 PM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Tuesday 11th of August 2026 01:13:11 PM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":null,"ADDRESS2":"","CITY":null,"CONTACT_5":null,"CONTACT_1":"","CONTACT_4":null,"COUNTRY":null,"F_NAME":null,"ID":"AP475","L_NAME":null,"STATE":null,"ZIP":null} [Tuesday 11th of August 2026 01:13:16 PM] add_customer() - EBMS API call successful for Customer ID: AP475 [Tuesday 11th of August 2026 01:13:16 PM] add_customer() - Customer created successfully in EBMS - ID: AP475 - Response: {"@odata.context":"http:\/\/localhost:56834\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"4d394c43-5651-5144-4938-433632303030","AUTOID":"CL9MQVDQI8C62000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"","ADDRESS1":null,"ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":null,"COUNTRY":null,"CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-08-11T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"","EMAIL_LIST":false,"F_NAME":null,"FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP475","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":null,"MAIL_LIST":false,"MEMO":"","NAMESTR":"()","OUT_CITY":false,"PHONE":"","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":null,"TREE_ID":" 38","TYPE":"WEBCUST","ZIP":null,"CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"","CONTACT_2":"","CONTACT_3":"","CONTACT_4":null,"CONTACT_5":null,"EXTERNALID":""} [Tuesday 11th of August 2026 01:13:16 PM] add_customer() - END - Customer ID: AP475 [Tuesday 11th of August 2026 02:15:37 PM] ORDER WEBHOOK STARTED - Order ID: 2056 [Tuesday 11th of August 2026 02:15:37 PM] Fetching customer data for Order ID: 2056 [Tuesday 11th of August 2026 02:15:37 PM] get_order_customer_data() - START - Order ID: 2056 [Tuesday 11th of August 2026 02:15:37 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2056 [Tuesday 11th of August 2026 02:15:37 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2056 [Tuesday 11th of August 2026 02:15:37 PM] get_order_customer_data() - Parsing order response for Order ID: 2056 [Tuesday 11th of August 2026 02:15:37 PM] get_order_customer_data() - Customer object built - Customer ID: 475 | Name: Erik Castro | Email: ecastro@Hennesseyperformance.com | Total: 198.9800 | Shipping: 17.00 [Tuesday 11th of August 2026 02:15:37 PM] get_order_customer_data() - END - Order ID: 2056 [Tuesday 11th of August 2026 02:15:37 PM] Customer data received: {"id":475,"email":"ecastro@Hennesseyperformance.com","address_1":"9281 SW I 10 Frontage Road","address_2":"","city":"Sealy","state":"TX","country":"USA","zip":"77474","f_name":"Erik ","l_name":"Castro ","contact_5":"ecastro@Hennesseyperformance.com","contact_1":"9798851300","contact_4":"Erik Castro "} [Tuesday 11th of August 2026 02:15:37 PM] Fetching shipping info for Order ID: 2056 [Tuesday 11th of August 2026 02:15:37 PM] get_order_shipping_info() - START - Order ID: 2056 [Tuesday 11th of August 2026 02:15:37 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2056/shipping_addresses [Tuesday 11th of August 2026 02:15:37 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2056 [Tuesday 11th of August 2026 02:15:37 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2056 | Name: Erik Castro | Address: 9281 SW I 10 Frontage Road, Sealy, Texas, 77474 [Tuesday 11th of August 2026 02:15:37 PM] get_order_shipping_info() - END - Order ID: 2056 [Tuesday 11th of August 2026 02:15:37 PM] Shipping info received: {"id":1955,"order_id":2056,"first_name":"Erik ","last_name":"Castro ","company":"","street_1":"9281 SW I 10 Frontage Road","street_2":"","city":"Sealy","zip":"77474","country":"United States","country_iso2":"US","state":"Texas","email":"ecastro@Hennesseyperformance.com","phone":"9798851300","items_total":2,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"17.0000","cost_ex_tax":"17.0000","cost_inc_tax":"17.0000","cost_tax":"0.0000","cost_tax_class_id":2,"base_handling_cost":"0.0000","handling_cost_ex_tax":"0.0000","handling_cost_inc_tax":"0.0000","handling_cost_tax":"0.0000","handling_cost_tax_class_id":2,"shipping_zone_id":3,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/2056\/shipping_addresses\/1955\/shipping_quotes","resource":"\/orders\/2056\/shipping_addresses\/1955\/shipping_quotes"},"form_fields":[]} [Tuesday 11th of August 2026 02:15:37 PM] Resolved Customer ID: AP475 [Tuesday 11th of August 2026 02:15:37 PM] Building order object for Invoice: AP2056 [Tuesday 11th of August 2026 02:15:37 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2056","ADDRESS1":"9281 SW I 10 Frontage Road","ADDRESS2":"","C_ADDRESS1":"9281 SW I 10 Frontage Road","C_ADDRESS2":"","C_CITY":"Sealy","C_COUNTRY":"USA","C_EMAIL":"ecastro@Hennesseyperformance.com","C_NAME":"Erik Castro ","C_STATE":"TX","C_ZIP":"77474","ShippingAmount":"17.00","CITY":"Sealy","EMAIL":"ecastro@Hennesseyperformance.com","ID":"AP475","NAME":"Erik Castro ","STATE":"TX","COUNTRY":"USA","ZIP":"77474","MEMO":"","DESCR":"BigCommerce Order - AP2056 - Customer AP475"} [Tuesday 11th of August 2026 02:15:37 PM] Registered customer detected - checking EBMS for Customer ID: AP475 [Tuesday 11th of August 2026 02:15:37 PM] check_for_customer() - START - Customer ID: 475 [Tuesday 11th of August 2026 02:15:37 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP475%27 [Tuesday 11th of August 2026 02:15:38 PM] check_for_customer() - EBMS API call successful for Customer ID: 475 [Tuesday 11th of August 2026 02:15:38 PM] check_for_customer() - Customer ID: 475 found in EBMS [Tuesday 11th of August 2026 02:15:38 PM] check_for_customer() - END - Customer ID: 475 | Found: true [Tuesday 11th of August 2026 02:15:38 PM] Customer AP475 found in EBMS [Tuesday 11th of August 2026 02:15:38 PM] check_for_empty_info() - START - Customer ID: 475 [Tuesday 11th of August 2026 02:15:38 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP475%27 [Tuesday 11th of August 2026 02:15:38 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 475 [Tuesday 11th of August 2026 02:15:38 PM] check_for_empty_info() - Customer record found for Customer ID: 475 - Checking ADDRESS1 field [Tuesday 11th of August 2026 02:15:38 PM] check_for_empty_info() - ADDRESS1 is empty for Customer ID: 475 - Update needed [Tuesday 11th of August 2026 02:15:38 PM] check_for_empty_info() - END - Customer ID: 475 | Empty Info: true [Tuesday 11th of August 2026 02:15:38 PM] Empty info detected - updating customer record for AP475 [Tuesday 11th of August 2026 02:15:38 PM] update_customer() - START - Customer ID: 475 | Name: Erik Castro [Tuesday 11th of August 2026 02:15:38 PM] update_customer() - Customer payload: {"id":475,"email":"ecastro@Hennesseyperformance.com","address_1":"9281 SW I 10 Frontage Road","address_2":"","city":"Sealy","state":"TX","country":"USA","zip":"77474","f_name":"Erik ","l_name":"Castro ","contact_5":"ecastro@Hennesseyperformance.com","contact_1":"9798851300","contact_4":"Erik Castro "} [Tuesday 11th of August 2026 02:15:38 PM] update_customer() - Fetching EBMS autoid for Customer ID: 475 [Tuesday 11th of August 2026 02:15:38 PM] get_customer_autoid() - START - Customer ID: AP475 [Tuesday 11th of August 2026 02:15:38 PM] get_customer_autoid() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP475%27 [Tuesday 11th of August 2026 02:15:38 PM] get_customer_autoid() - EBMS API call successful for Customer ID: AP475 [Tuesday 11th of August 2026 02:15:38 PM] get_customer_autoid() - AUTOID retrieved for Customer ID: AP475 - AUTOID: CL9MQVDQI8C62000 [Tuesday 11th of August 2026 02:15:38 PM] get_customer_autoid() - END - Customer ID: AP475 | AUTOID: CL9MQVDQI8C62000 [Tuesday 11th of August 2026 02:15:38 PM] update_customer() - EBMS autoid retrieved: CL9MQVDQI8C62000 for Customer ID: 475 [Tuesday 11th of August 2026 02:15:38 PM] update_customer() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST('CL9MQVDQI8C62000') [Tuesday 11th of August 2026 02:15:38 PM] update_customer() - PATCH payload: {"ADDRESS1":"9281 SW I 10 Frontage Road","ADDRESS2":"","CITY":"Sealy","CONTACT_5":"ecastro@Hennesseyperformance.com","CONTACT_1":"9798851300","CONTACT_4":"Erik Castro ","COUNTRY":null,"F_NAME":"Erik ","L_NAME":"Castro ","STATE":"TX","ZIP":"77474"} [Tuesday 11th of August 2026 02:15:40 PM] update_customer() - EBMS API call successful for Customer ID: 475 [Tuesday 11th of August 2026 02:15:40 PM] update_customer() - Customer updated successfully in EBMS - Response: {"@odata.context":"http:\/\/localhost:56834\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"4d394c43-5651-5144-4938-433632303030","AUTOID":"CL9MQVDQI8C62000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Erik Castro","ADDRESS1":"9281 SW I 10 Frontage Road","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Sealy","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-08-11T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"ecastro@Hennesseyperformance.com","EMAIL_LIST":false,"F_NAME":"Erik","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP475","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Castro","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Erik Castro)","OUT_CITY":false,"PHONE":"(979) 885-1300","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"TX","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"77474","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(979) 885-1300","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Erik Castro","CONTACT_5":"ecastro@Hennesseyperformance.com","EXTERNALID":""} [Tuesday 11th of August 2026 02:15:40 PM] update_customer() - END - Customer ID: 475 [Tuesday 11th of August 2026 02:15:40 PM] Customer record updated for AP475 [Tuesday 11th of August 2026 02:15:40 PM] check_for_empty_pn() - START - Customer ID: AP475 [Tuesday 11th of August 2026 02:15:40 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP475%27 [Tuesday 11th of August 2026 02:15:42 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP475 [Tuesday 11th of August 2026 02:15:42 PM] check_for_empty_pn() - Customer record found for Customer ID: AP475 - Checking CONTACT_1 field [Tuesday 11th of August 2026 02:15:42 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP475 - Value: (979) 885-1300 - No update needed [Tuesday 11th of August 2026 02:15:42 PM] check_for_empty_pn() - END - Customer ID: AP475 | Empty PN: false [Tuesday 11th of August 2026 02:15:42 PM] Fetching products from BigCommerce for Order ID: 2056 [Tuesday 11th of August 2026 02:15:42 PM] BigCommerce API call successful for Order ID: 2056 [Tuesday 11th of August 2026 02:15:42 PM] Products received: 1 item(s) [Tuesday 11th of August 2026 02:15:42 PM] Processing product SKU: WCD4003-8 | Qty: 2 | Price: 90.9900 [Tuesday 11th of August 2026 02:15:42 PM] get_mpn() - START - Product ID: 49074 [Tuesday 11th of August 2026 02:15:42 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/49074 [Tuesday 11th of August 2026 02:15:42 PM] get_mpn() - BigCommerce API call successful for Product ID: 49074 [Tuesday 11th of August 2026 02:15:42 PM] get_mpn() - WARNING - MPN is empty for Product ID: 49074 [Tuesday 11th of August 2026 02:15:42 PM] get_mpn() - END - Product ID: 49074 | MPN: [Tuesday 11th of August 2026 02:15:42 PM] check_for_ebms_product() - START - SKU: WCD4003-8 [Tuesday 11th of August 2026 02:15:42 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27WCD4003-8%27 [Tuesday 11th of August 2026 02:15:43 PM] check_for_ebms_product() - EBMS API call successful for SKU: WCD4003-8 [Tuesday 11th of August 2026 02:15:43 PM] check_for_ebms_product() - SKU: WCD4003-8 found in EBMS [Tuesday 11th of August 2026 02:15:43 PM] check_for_ebms_product() - END - SKU: WCD4003-8 | Found: true [Tuesday 11th of August 2026 02:15:43 PM] SKU WCD4003-8 found in EBMS - checking prices [Tuesday 11th of August 2026 02:15:43 PM] obtain_current_prices() - START - SKU: WCD4003-8 [Tuesday 11th of August 2026 02:15:43 PM] obtain_current_prices() - Checking Motorstate for SKU: WCD4003-8 [Tuesday 11th of August 2026 02:15:43 PM] check_for_ms_product() - START - SKU: WCD4003-8 [Tuesday 11th of August 2026 02:15:43 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WCD4003-8 [Tuesday 11th of August 2026 02:15:43 PM] check_for_ms_product() - Motorstate API call successful for SKU: WCD4003-8 [Tuesday 11th of August 2026 02:15:43 PM] check_for_ms_product() - SKU: WCD4003-8 found in Motorstate [Tuesday 11th of August 2026 02:15:43 PM] check_for_ms_product() - END - SKU: WCD4003-8 | Found: true [Tuesday 11th of August 2026 02:15:43 PM] obtain_current_prices() - SKU: WCD4003-8 found in Motorstate - Fetching prices [Tuesday 11th of August 2026 02:15:43 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: WCD4003-8 - URL: https://api.motorstate.com/api/Product?partNumbers=WCD4003-8 [Tuesday 11th of August 2026 02:15:43 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: WCD4003-8 - Base: 90.99 | Cost: 84.55 [Tuesday 11th of August 2026 02:15:43 PM] obtain_current_prices() - Returning Motorstate prices for SKU: WCD4003-8 - Base: 90.99 | Cost: 84.55 [Tuesday 11th of August 2026 02:15:43 PM] obtain_current_prices() - END - SKU: WCD4003-8 [Tuesday 11th of August 2026 02:15:43 PM] SKU WCD4003-8 has existing EBMS prices - syncing BigCommerce price back (cost: 84.55, base: 90.99) [Tuesday 11th of August 2026 02:15:43 PM] update_product_price() - START - Product ID: 49074 | Base: 90.99 | Cost: 84.55 [Tuesday 11th of August 2026 02:15:43 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/49074 [Tuesday 11th of August 2026 02:15:43 PM] update_product_price() - PUT payload: {"price":90.9899999999999948840923025272786617279052734375,"cost_price":84.5499999999999971578290569595992565155029296875} [Tuesday 11th of August 2026 02:15:43 PM] update_product_price() - Attempt 1 of 6 for Product ID: 49074 [Tuesday 11th of August 2026 02:15:43 PM] update_product_price() - Price updated successfully for Product ID: 49074 - Base: 90.99 | Cost: 84.55 [Tuesday 11th of August 2026 02:15:43 PM] update_product_price() - END - Product ID: 49074 | Result: success [Tuesday 11th of August 2026 02:15:43 PM] BigCommerce price updated for Product ID: 49074 [Tuesday 11th of August 2026 02:15:43 PM] get_product_inventory() - START - SKU: WCD4003-8 [Tuesday 11th of August 2026 02:15:43 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WCD4003-8 [Tuesday 11th of August 2026 02:15:43 PM] get_product_inventory() - Motorstate API call successful for SKU: WCD4003-8 [Tuesday 11th of August 2026 02:15:43 PM] get_product_inventory() - Stock found for SKU: WCD4003-8 - Quantity: 12 | Running Total: 12 [Tuesday 11th of August 2026 02:15:43 PM] get_product_inventory() - END - SKU: WCD4003-8 | Total: 12 [Tuesday 11th of August 2026 02:15:43 PM] get_cf_id() - START - Product ID: 49074 [Tuesday 11th of August 2026 02:15:43 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/49074/custom-fields [Tuesday 11th of August 2026 02:15:43 PM] get_cf_id() - BigCommerce API call successful for Product ID: 49074 [Tuesday 11th of August 2026 02:15:43 PM] get_cf_id() - Custom field found for Product ID: 49074 | Field: online_stock_level | CF ID: 48964 [Tuesday 11th of August 2026 02:15:43 PM] get_cf_id() - END - Product ID: 49074 | CF ID: 48964 [Tuesday 11th of August 2026 02:15:43 PM] Updating inventory for SKU WCD4003-8 - stock: 12, CF ID: 48964 [Tuesday 11th of August 2026 02:15:43 PM] update_product_inventory() - START - Product ID: 49074 | Stock: 12 | CF ID: 48964 [Tuesday 11th of August 2026 02:15:43 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/49074/custom-fields/48964 [Tuesday 11th of August 2026 02:15:44 PM] update_product_inventory() - Inventory updated successfully for Product ID: 49074 | Stock: 12 [Tuesday 11th of August 2026 02:15:44 PM] update_product_inventory() - END - Product ID: 49074 | Result: success [Tuesday 11th of August 2026 02:15:44 PM] Inventory updated for SKU: WCD4003-8 [Tuesday 11th of August 2026 02:15:44 PM] All products processed - Order details: [{"ID":"AP475","INVEN":"WCD4003-8","M_QUAN_VIS":2,"UNIT":"90.99","UNIT_MEAS":"EA"}] [Tuesday 11th of August 2026 02:15:44 PM] Building payment record - Total: 198.9800 [Tuesday 11th of August 2026 02:15:44 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2056","ADDRESS1":"9281 SW I 10 Frontage Road","ADDRESS2":"","C_ADDRESS1":"9281 SW I 10 Frontage Road","C_ADDRESS2":"","C_CITY":"Sealy","C_COUNTRY":"USA","C_EMAIL":"ecastro@Hennesseyperformance.com","C_NAME":"Erik Castro ","C_STATE":"TX","C_ZIP":"77474","ShippingAmount":"17.00","CITY":"Sealy","EMAIL":"ecastro@Hennesseyperformance.com","ID":"AP475","NAME":"Erik Castro ","STATE":"TX","COUNTRY":"USA","ZIP":"77474","MEMO":"","DESCR":"BigCommerce Order - AP2056 - Customer AP475","Details":[{"ID":"AP475","INVEN":"WCD4003-8","M_QUAN_VIS":2,"UNIT":"90.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"198.98","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 11th of August 2026 02:15:44 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2056 [Tuesday 11th of August 2026 02:15:44 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2056%27 [Tuesday 11th of August 2026 02:15:44 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2056 [Tuesday 11th of August 2026 02:15:44 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2056 not found in EBMS [Tuesday 11th of August 2026 02:15:44 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2056 | Found: false [Tuesday 11th of August 2026 02:15:44 PM] Invoice AP2056 does not exist in EBMS - creating [Tuesday 11th of August 2026 02:15:44 PM] create_ebms_invoice() - START - Invoice: AP2056 [Tuesday 11th of August 2026 02:15:44 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2056","ADDRESS1":"9281 SW I 10 Frontage Road","ADDRESS2":"","C_ADDRESS1":"9281 SW I 10 Frontage Road","C_ADDRESS2":"","C_CITY":"Sealy","C_COUNTRY":"USA","C_EMAIL":"ecastro@Hennesseyperformance.com","C_NAME":"Erik Castro ","C_STATE":"TX","C_ZIP":"77474","ShippingAmount":"17.00","CITY":"Sealy","EMAIL":"ecastro@Hennesseyperformance.com","ID":"AP475","NAME":"Erik Castro ","STATE":"TX","COUNTRY":"USA","ZIP":"77474","MEMO":"","DESCR":"BigCommerce Order - AP2056 - Customer AP475","Details":[{"ID":"AP475","INVEN":"WCD4003-8","M_QUAN_VIS":2,"UNIT":"90.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"198.98","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 11th of August 2026 02:15:44 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Tuesday 11th of August 2026 02:15:50 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2056 [Tuesday 11th of August 2026 02:15:50 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2056 - Response: {"@odata.context":"http:\/\/localhost:56834\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"534d3933-4834-3331-4b38-433632303030","AUTOID":"39MS4H13K8C62000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-181.979999999999989768184605054557323455810546875,"BAL_CUST_X":-181.979999999999989768184605054557323455810546875,"BALANCE":-181.979999999999989768184605054557323455810546875,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":0,"TAX":0,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":198.979999999999989768184605054557323455810546875,"TOTAL_S_SO":181.979999999999989768184605054557323455810546875,"TOTAL_SO":198.979999999999989768184605054557323455810546875,"TOTAL_W":0,"TTLPROCPMT":198.979999999999989768184605054557323455810546875,"TOTAL":17,"FREIGHT":17,"HANDLING":0,"SHIPPING":17,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"9281 SW I 10 Frontage Road","ADDRESS2":"","C_EMAIL":"ecastro@Hennesseyperformance.com","C_PHONE":"(979) 885-1300","CCNTCT_AID":"76IA95RHQBA7F891","CHARGE":"Due on Receipt","CHECK_DATE":"2026-08-11T00:00:00Z","CHECK_NO":" APBC","CITY":"Sealy","CNTCT_AID":"76IA95RHQBA7F891","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-08-11T00:00:00Z","E_DATE":"2026-08-11T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"ecastro@Hennesseyperformance.com","IADDRESS":"9281 SW I 10 Frontage Road , Sealy, TX 77474","ID":"AP475","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-08-11T00:00:00Z","INVOICE":"AP2056","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"Erik Castro","PHONE":"","PROCESS":"Default","STATE":"TX","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"77474","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"9281 SW I 10 Frontage Road","C_ADDRESS2":"","C_CITY":"Sealy","C_COUNTRY":"USA","C_ID":"AP475","C_NAME":"Erik Castro","C_STATE":"TX","C_ZIP":"77474","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2056 - Customer AP475","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-08-11T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Tuesday 11th of August 2026 02:15:50 PM] create_ebms_invoice() - END - Invoice: AP2056 [Tuesday 11th of August 2026 02:15:50 PM] Invoice AP2056 created successfully [Tuesday 11th of August 2026 02:15:50 PM] ORDER WEBHOOK COMPLETED - Order ID: 2056 | Invoice: AP2056 [Tuesday 11th of August 2026 02:16:47 PM] ORDER WEBHOOK STARTED - Order ID: 2056 [Tuesday 11th of August 2026 02:16:47 PM] Fetching customer data for Order ID: 2056 [Tuesday 11th of August 2026 02:16:47 PM] get_order_customer_data() - START - Order ID: 2056 [Tuesday 11th of August 2026 02:16:47 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2056 [Tuesday 11th of August 2026 02:16:47 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2056 [Tuesday 11th of August 2026 02:16:47 PM] get_order_customer_data() - Parsing order response for Order ID: 2056 [Tuesday 11th of August 2026 02:16:47 PM] get_order_customer_data() - Customer object built - Customer ID: 475 | Name: Erik Castro | Email: ecastro@Hennesseyperformance.com | Total: 198.9800 | Shipping: 17.00 [Tuesday 11th of August 2026 02:16:47 PM] get_order_customer_data() - END - Order ID: 2056 [Tuesday 11th of August 2026 02:16:47 PM] Customer data received: {"id":475,"email":"ecastro@Hennesseyperformance.com","address_1":"9281 SW I 10 Frontage Road","address_2":"","city":"Sealy","state":"TX","country":"USA","zip":"77474","f_name":"Erik ","l_name":"Castro ","contact_5":"ecastro@Hennesseyperformance.com","contact_1":"9798851300","contact_4":"Erik Castro "} [Tuesday 11th of August 2026 02:16:47 PM] Fetching shipping info for Order ID: 2056 [Tuesday 11th of August 2026 02:16:47 PM] get_order_shipping_info() - START - Order ID: 2056 [Tuesday 11th of August 2026 02:16:47 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2056/shipping_addresses [Tuesday 11th of August 2026 02:16:47 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2056 [Tuesday 11th of August 2026 02:16:47 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2056 | Name: Erik Castro | Address: 9281 SW I 10 Frontage Road, Sealy, Texas, 77474 [Tuesday 11th of August 2026 02:16:47 PM] get_order_shipping_info() - END - Order ID: 2056 [Tuesday 11th of August 2026 02:16:47 PM] Shipping info received: {"id":1955,"order_id":2056,"first_name":"Erik ","last_name":"Castro ","company":"","street_1":"9281 SW I 10 Frontage Road","street_2":"","city":"Sealy","zip":"77474","country":"United States","country_iso2":"US","state":"Texas","email":"ecastro@Hennesseyperformance.com","phone":"9798851300","items_total":2,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"17.0000","cost_ex_tax":"17.0000","cost_inc_tax":"17.0000","cost_tax":"0.0000","cost_tax_class_id":2,"base_handling_cost":"0.0000","handling_cost_ex_tax":"0.0000","handling_cost_inc_tax":"0.0000","handling_cost_tax":"0.0000","handling_cost_tax_class_id":2,"shipping_zone_id":3,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/2056\/shipping_addresses\/1955\/shipping_quotes","resource":"\/orders\/2056\/shipping_addresses\/1955\/shipping_quotes"},"form_fields":[]} [Tuesday 11th of August 2026 02:16:47 PM] Resolved Customer ID: AP475 [Tuesday 11th of August 2026 02:16:47 PM] Building order object for Invoice: AP2056 [Tuesday 11th of August 2026 02:16:47 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2056","ADDRESS1":"9281 SW I 10 Frontage Road","ADDRESS2":"","C_ADDRESS1":"9281 SW I 10 Frontage Road","C_ADDRESS2":"","C_CITY":"Sealy","C_COUNTRY":"USA","C_EMAIL":"ecastro@Hennesseyperformance.com","C_NAME":"Erik Castro ","C_STATE":"TX","C_ZIP":"77474","ShippingAmount":"17.00","CITY":"Sealy","EMAIL":"ecastro@Hennesseyperformance.com","ID":"AP475","NAME":"Erik Castro ","STATE":"TX","COUNTRY":"USA","ZIP":"77474","MEMO":"","DESCR":"BigCommerce Order - AP2056 - Customer AP475"} [Tuesday 11th of August 2026 02:16:47 PM] Registered customer detected - checking EBMS for Customer ID: AP475 [Tuesday 11th of August 2026 02:16:47 PM] check_for_customer() - START - Customer ID: 475 [Tuesday 11th of August 2026 02:16:47 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP475%27 [Tuesday 11th of August 2026 02:16:48 PM] check_for_customer() - EBMS API call successful for Customer ID: 475 [Tuesday 11th of August 2026 02:16:48 PM] check_for_customer() - Customer ID: 475 found in EBMS [Tuesday 11th of August 2026 02:16:48 PM] check_for_customer() - END - Customer ID: 475 | Found: true [Tuesday 11th of August 2026 02:16:48 PM] Customer AP475 found in EBMS [Tuesday 11th of August 2026 02:16:48 PM] check_for_empty_info() - START - Customer ID: 475 [Tuesday 11th of August 2026 02:16:48 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP475%27 [Tuesday 11th of August 2026 02:16:48 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 475 [Tuesday 11th of August 2026 02:16:48 PM] check_for_empty_info() - Customer record found for Customer ID: 475 - Checking ADDRESS1 field [Tuesday 11th of August 2026 02:16:48 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 475 - No update needed [Tuesday 11th of August 2026 02:16:48 PM] check_for_empty_info() - END - Customer ID: 475 | Empty Info: false [Tuesday 11th of August 2026 02:16:48 PM] check_for_empty_pn() - START - Customer ID: AP475 [Tuesday 11th of August 2026 02:16:48 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP475%27 [Tuesday 11th of August 2026 02:16:48 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP475 [Tuesday 11th of August 2026 02:16:48 PM] check_for_empty_pn() - Customer record found for Customer ID: AP475 - Checking CONTACT_1 field [Tuesday 11th of August 2026 02:16:48 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP475 - Value: (979) 885-1300 - No update needed [Tuesday 11th of August 2026 02:16:48 PM] check_for_empty_pn() - END - Customer ID: AP475 | Empty PN: false [Tuesday 11th of August 2026 02:16:48 PM] Fetching products from BigCommerce for Order ID: 2056 [Tuesday 11th of August 2026 02:16:48 PM] BigCommerce API call successful for Order ID: 2056 [Tuesday 11th of August 2026 02:16:48 PM] Products received: 1 item(s) [Tuesday 11th of August 2026 02:16:48 PM] Processing product SKU: WCD4003-8 | Qty: 2 | Price: 90.9900 [Tuesday 11th of August 2026 02:16:48 PM] get_mpn() - START - Product ID: 49074 [Tuesday 11th of August 2026 02:16:48 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/49074 [Tuesday 11th of August 2026 02:16:48 PM] get_mpn() - BigCommerce API call successful for Product ID: 49074 [Tuesday 11th of August 2026 02:16:48 PM] get_mpn() - WARNING - MPN is empty for Product ID: 49074 [Tuesday 11th of August 2026 02:16:48 PM] get_mpn() - END - Product ID: 49074 | MPN: [Tuesday 11th of August 2026 02:16:48 PM] check_for_ebms_product() - START - SKU: WCD4003-8 [Tuesday 11th of August 2026 02:16:48 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27WCD4003-8%27 [Tuesday 11th of August 2026 02:16:49 PM] check_for_ebms_product() - EBMS API call successful for SKU: WCD4003-8 [Tuesday 11th of August 2026 02:16:49 PM] check_for_ebms_product() - SKU: WCD4003-8 found in EBMS [Tuesday 11th of August 2026 02:16:49 PM] check_for_ebms_product() - END - SKU: WCD4003-8 | Found: true [Tuesday 11th of August 2026 02:16:49 PM] SKU WCD4003-8 found in EBMS - checking prices [Tuesday 11th of August 2026 02:16:49 PM] obtain_current_prices() - START - SKU: WCD4003-8 [Tuesday 11th of August 2026 02:16:49 PM] obtain_current_prices() - Checking Motorstate for SKU: WCD4003-8 [Tuesday 11th of August 2026 02:16:49 PM] check_for_ms_product() - START - SKU: WCD4003-8 [Tuesday 11th of August 2026 02:16:49 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WCD4003-8 [Tuesday 11th of August 2026 02:16:49 PM] check_for_ms_product() - Motorstate API call successful for SKU: WCD4003-8 [Tuesday 11th of August 2026 02:16:49 PM] check_for_ms_product() - SKU: WCD4003-8 found in Motorstate [Tuesday 11th of August 2026 02:16:49 PM] check_for_ms_product() - END - SKU: WCD4003-8 | Found: true [Tuesday 11th of August 2026 02:16:49 PM] obtain_current_prices() - SKU: WCD4003-8 found in Motorstate - Fetching prices [Tuesday 11th of August 2026 02:16:49 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: WCD4003-8 - URL: https://api.motorstate.com/api/Product?partNumbers=WCD4003-8 [Tuesday 11th of August 2026 02:16:49 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: WCD4003-8 - Base: 90.99 | Cost: 84.55 [Tuesday 11th of August 2026 02:16:49 PM] obtain_current_prices() - Returning Motorstate prices for SKU: WCD4003-8 - Base: 90.99 | Cost: 84.55 [Tuesday 11th of August 2026 02:16:49 PM] obtain_current_prices() - END - SKU: WCD4003-8 [Tuesday 11th of August 2026 02:16:49 PM] SKU WCD4003-8 has existing EBMS prices - syncing BigCommerce price back (cost: 84.55, base: 90.99) [Tuesday 11th of August 2026 02:16:49 PM] update_product_price() - START - Product ID: 49074 | Base: 90.99 | Cost: 84.55 [Tuesday 11th of August 2026 02:16:49 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/49074 [Tuesday 11th of August 2026 02:16:49 PM] update_product_price() - PUT payload: {"price":90.9899999999999948840923025272786617279052734375,"cost_price":84.5499999999999971578290569595992565155029296875} [Tuesday 11th of August 2026 02:16:49 PM] update_product_price() - Attempt 1 of 6 for Product ID: 49074 [Tuesday 11th of August 2026 02:16:49 PM] update_product_price() - Price updated successfully for Product ID: 49074 - Base: 90.99 | Cost: 84.55 [Tuesday 11th of August 2026 02:16:49 PM] update_product_price() - END - Product ID: 49074 | Result: success [Tuesday 11th of August 2026 02:16:49 PM] BigCommerce price updated for Product ID: 49074 [Tuesday 11th of August 2026 02:16:49 PM] get_product_inventory() - START - SKU: WCD4003-8 [Tuesday 11th of August 2026 02:16:49 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WCD4003-8 [Tuesday 11th of August 2026 02:16:49 PM] get_product_inventory() - Motorstate API call successful for SKU: WCD4003-8 [Tuesday 11th of August 2026 02:16:49 PM] get_product_inventory() - Stock found for SKU: WCD4003-8 - Quantity: 12 | Running Total: 12 [Tuesday 11th of August 2026 02:16:49 PM] get_product_inventory() - END - SKU: WCD4003-8 | Total: 12 [Tuesday 11th of August 2026 02:16:49 PM] get_cf_id() - START - Product ID: 49074 [Tuesday 11th of August 2026 02:16:49 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/49074/custom-fields [Tuesday 11th of August 2026 02:16:49 PM] get_cf_id() - BigCommerce API call successful for Product ID: 49074 [Tuesday 11th of August 2026 02:16:49 PM] get_cf_id() - Custom field found for Product ID: 49074 | Field: online_stock_level | CF ID: 48964 [Tuesday 11th of August 2026 02:16:49 PM] get_cf_id() - END - Product ID: 49074 | CF ID: 48964 [Tuesday 11th of August 2026 02:16:49 PM] Updating inventory for SKU WCD4003-8 - stock: 12, CF ID: 48964 [Tuesday 11th of August 2026 02:16:49 PM] update_product_inventory() - START - Product ID: 49074 | Stock: 12 | CF ID: 48964 [Tuesday 11th of August 2026 02:16:49 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/49074/custom-fields/48964 [Tuesday 11th of August 2026 02:16:50 PM] update_product_inventory() - Inventory updated successfully for Product ID: 49074 | Stock: 12 [Tuesday 11th of August 2026 02:16:50 PM] update_product_inventory() - END - Product ID: 49074 | Result: success [Tuesday 11th of August 2026 02:16:50 PM] Inventory updated for SKU: WCD4003-8 [Tuesday 11th of August 2026 02:16:50 PM] All products processed - Order details: [{"ID":"AP475","INVEN":"WCD4003-8","M_QUAN_VIS":2,"UNIT":"90.99","UNIT_MEAS":"EA"}] [Tuesday 11th of August 2026 02:16:50 PM] Building payment record - Total: 198.9800 [Tuesday 11th of August 2026 02:16:50 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2056","ADDRESS1":"9281 SW I 10 Frontage Road","ADDRESS2":"","C_ADDRESS1":"9281 SW I 10 Frontage Road","C_ADDRESS2":"","C_CITY":"Sealy","C_COUNTRY":"USA","C_EMAIL":"ecastro@Hennesseyperformance.com","C_NAME":"Erik Castro ","C_STATE":"TX","C_ZIP":"77474","ShippingAmount":"17.00","CITY":"Sealy","EMAIL":"ecastro@Hennesseyperformance.com","ID":"AP475","NAME":"Erik Castro ","STATE":"TX","COUNTRY":"USA","ZIP":"77474","MEMO":"","DESCR":"BigCommerce Order - AP2056 - Customer AP475","Details":[{"ID":"AP475","INVEN":"WCD4003-8","M_QUAN_VIS":2,"UNIT":"90.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"198.98","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 11th of August 2026 02:16:50 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2056 [Tuesday 11th of August 2026 02:16:50 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2056%27 [Tuesday 11th of August 2026 02:16:50 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2056 [Tuesday 11th of August 2026 02:16:50 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2056 found in EBMS [Tuesday 11th of August 2026 02:16:50 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2056 | Found: true [Tuesday 11th of August 2026 02:16:50 PM] Invoice AP2056 already exists in EBMS - patching [Tuesday 11th of August 2026 02:16:50 PM] patch_ebms_invoice() - START - Invoice: AP2056 [Tuesday 11th of August 2026 02:16:50 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2056","ADDRESS1":"9281 SW I 10 Frontage Road","ADDRESS2":"","C_ADDRESS1":"9281 SW I 10 Frontage Road","C_ADDRESS2":"","C_CITY":"Sealy","C_COUNTRY":"USA","C_EMAIL":"ecastro@Hennesseyperformance.com","C_NAME":"Erik Castro ","C_STATE":"TX","C_ZIP":"77474","ShippingAmount":"17.00","CITY":"Sealy","EMAIL":"ecastro@Hennesseyperformance.com","ID":"AP475","NAME":"Erik Castro ","STATE":"TX","COUNTRY":"USA","ZIP":"77474","MEMO":"","DESCR":"BigCommerce Order - AP2056 - Customer AP475","Details":[{"ID":"AP475","INVEN":"WCD4003-8","M_QUAN_VIS":2,"UNIT":"90.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"198.98","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 11th of August 2026 02:16:50 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2056%27 [Tuesday 11th of August 2026 02:16:51 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2056 [Tuesday 11th of August 2026 02:16:51 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2056 [Tuesday 11th of August 2026 02:16:51 PM] patch_ebms_invoice() - END - Invoice: AP2056 [Tuesday 11th of August 2026 02:16:51 PM] Invoice AP2056 patched successfully [Tuesday 11th of August 2026 02:16:51 PM] ORDER WEBHOOK COMPLETED - Order ID: 2056 | Invoice: AP2056 [Tuesday 11th of August 2026 05:54:38 PM] add_customer() - START - Customer ID: 476 | Name: [Tuesday 11th of August 2026 05:54:38 PM] add_customer() - Customer payload: {"id":476,"address_count":1,"addresses":[{"id":617,"address1":"1451 Jones Course Suite 112","address2":"","address_type":"residential","city":"South Michellebury","company":"","country":"United States","country_code":"US","customer_id":476,"first_name":"Meghan","last_name":"Gomez","phone":"1498543857","postal_code":"56015","state_or_province":"West Virginia","form_fields":[]}],"authentication":{"force_password_reset":false},"company":"","customer_group_id":0,"email":"amydun.can20+4hh@gmail.com","first_name":"Meghan","last_name":"Gomez","notes":"","phone":"1498543857","registration_ip_address":"84.55.5.203","tax_exempt_category":"","date_created":"2026-08-11T22:54:32Z","date_modified":"2026-08-11T22:54:32Z","form_fields":[],"accepts_product_review_abandoned_cart_emails":true,"origin_channel_id":1,"channel_ids":null,"consent":{"allow":[],"deny":[]}} [Tuesday 11th of August 2026 05:54:38 PM] add_customer() - Customer fields parsed - ID: AP476 | Address: , , | Email: [Tuesday 11th of August 2026 05:54:38 PM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Tuesday 11th of August 2026 05:54:38 PM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":null,"ADDRESS2":"","CITY":null,"CONTACT_5":null,"CONTACT_1":"","CONTACT_4":null,"COUNTRY":null,"F_NAME":null,"ID":"AP476","L_NAME":null,"STATE":null,"ZIP":null} [Tuesday 11th of August 2026 05:54:40 PM] add_customer() - EBMS API call successful for Customer ID: AP476 [Tuesday 11th of August 2026 05:54:40 PM] add_customer() - Customer created successfully in EBMS - ID: AP476 - Response: {"@odata.context":"http:\/\/localhost:56834\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"35475438-5150-4837-4f38-433632303030","AUTOID":"8TG5PQ7HO8C62000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"","ADDRESS1":null,"ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":null,"COUNTRY":null,"CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-08-11T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"","EMAIL_LIST":false,"F_NAME":null,"FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP476","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":null,"MAIL_LIST":false,"MEMO":"","NAMESTR":"()","OUT_CITY":false,"PHONE":"","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":null,"TREE_ID":" 38","TYPE":"WEBCUST","ZIP":null,"CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"","CONTACT_2":"","CONTACT_3":"","CONTACT_4":null,"CONTACT_5":null,"EXTERNALID":""} [Tuesday 11th of August 2026 05:54:40 PM] add_customer() - END - Customer ID: AP476 [Tuesday 11th of August 2026 06:56:33 PM] add_customer() - START - Customer ID: 477 | Name: [Tuesday 11th of August 2026 06:56:33 PM] add_customer() - Customer payload: {"id":477,"address_count":1,"addresses":[{"id":618,"address1":"3510 Krueger Trace","address2":"","address_type":"residential","city":"Lisastad","company":"","country":"United States","country_code":"US","customer_id":477,"first_name":"Andrew","last_name":"Brown","phone":"1495643966","postal_code":"82761","state_or_province":"Nevada","form_fields":[]}],"authentication":{"force_password_reset":false},"company":"","customer_group_id":0,"email":"cpa.624+amj6jx@gmail.com","first_name":"Andrew","last_name":"Brown","notes":"","phone":"1495643966","registration_ip_address":"195.140.179.44","tax_exempt_category":"","date_created":"2026-08-11T23:56:27Z","date_modified":"2026-08-11T23:56:27Z","form_fields":[],"accepts_product_review_abandoned_cart_emails":true,"origin_channel_id":1,"channel_ids":null,"consent":{"allow":[],"deny":[]}} [Tuesday 11th of August 2026 06:56:33 PM] add_customer() - Customer fields parsed - ID: AP477 | Address: , , | Email: [Tuesday 11th of August 2026 06:56:33 PM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Tuesday 11th of August 2026 06:56:33 PM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":null,"ADDRESS2":"","CITY":null,"CONTACT_5":null,"CONTACT_1":"","CONTACT_4":null,"COUNTRY":null,"F_NAME":null,"ID":"AP477","L_NAME":null,"STATE":null,"ZIP":null} [Tuesday 11th of August 2026 06:56:34 PM] add_customer() - EBMS API call successful for Customer ID: AP477 [Tuesday 11th of August 2026 06:56:34 PM] add_customer() - Customer created successfully in EBMS - ID: AP477 - Response: {"@odata.context":"http:\/\/localhost:56834\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"4a553146-5356-5045-5038-433632303030","AUTOID":"F1UJVSEPP8C62000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"","ADDRESS1":null,"ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":null,"COUNTRY":null,"CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-08-11T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"","EMAIL_LIST":false,"F_NAME":null,"FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP477","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":null,"MAIL_LIST":false,"MEMO":"","NAMESTR":"()","OUT_CITY":false,"PHONE":"","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":null,"TREE_ID":" 38","TYPE":"WEBCUST","ZIP":null,"CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"","CONTACT_2":"","CONTACT_3":"","CONTACT_4":null,"CONTACT_5":null,"EXTERNALID":""} [Tuesday 11th of August 2026 06:56:34 PM] add_customer() - END - Customer ID: AP477 [Tuesday 11th of August 2026 08:44:35 PM] ORDER WEBHOOK STARTED - Order ID: 2057 [Tuesday 11th of August 2026 08:44:35 PM] Fetching customer data for Order ID: 2057 [Tuesday 11th of August 2026 08:44:35 PM] get_order_customer_data() - START - Order ID: 2057 [Tuesday 11th of August 2026 08:44:35 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2057 [Tuesday 11th of August 2026 08:44:36 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2057 [Tuesday 11th of August 2026 08:44:36 PM] get_order_customer_data() - Parsing order response for Order ID: 2057 [Tuesday 11th of August 2026 08:44:36 PM] get_order_customer_data() - Customer object built - Customer ID: 472 | Name: Edward Mosley | Email: edwardmosley54@yahoo.com | Total: 150.3800 | Shipping: 21.92 [Tuesday 11th of August 2026 08:44:36 PM] get_order_customer_data() - END - Order ID: 2057 [Tuesday 11th of August 2026 08:44:36 PM] Customer data received: {"id":472,"email":"edwardmosley54@yahoo.com","address_1":"727 W 3460 N","address_2":"","city":"Erda","state":"UT","country":"USA","zip":"84074","f_name":"Edward","l_name":"Mosley","contact_5":"edwardmosley54@yahoo.com","contact_1":"16193821590","contact_4":"Edward Mosley"} [Tuesday 11th of August 2026 08:44:36 PM] Fetching shipping info for Order ID: 2057 [Tuesday 11th of August 2026 08:44:36 PM] get_order_shipping_info() - START - Order ID: 2057 [Tuesday 11th of August 2026 08:44:36 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2057/shipping_addresses [Tuesday 11th of August 2026 08:44:36 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2057 [Tuesday 11th of August 2026 08:44:36 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2057 | Name: Jerry Komaromi | Address: 1553 Candor Rd, Bulger, Pennsylvania, 15019 [Tuesday 11th of August 2026 08:44:36 PM] get_order_shipping_info() - END - Order ID: 2057 [Tuesday 11th of August 2026 08:44:36 PM] Shipping info received: {"id":1956,"order_id":2057,"first_name":"Jerry","last_name":"Komaromi","company":"","street_1":"1553 Candor Rd","street_2":"","city":"Bulger","zip":"15019","country":"United States","country_iso2":"US","state":"Pennsylvania","email":"edwardmosley54@yahoo.com","phone":"4125651212","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"21.9200","cost_ex_tax":"21.9200","cost_inc_tax":"23.2352","cost_tax":"1.3152","cost_tax_class_id":2,"base_handling_cost":"0.0000","handling_cost_ex_tax":"0.0000","handling_cost_inc_tax":"0.0000","handling_cost_tax":"0.0000","handling_cost_tax_class_id":2,"shipping_zone_id":3,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/2057\/shipping_addresses\/1956\/shipping_quotes","resource":"\/orders\/2057\/shipping_addresses\/1956\/shipping_quotes"},"form_fields":[]} [Tuesday 11th of August 2026 08:44:36 PM] Resolved Customer ID: AP472 [Tuesday 11th of August 2026 08:44:36 PM] Building order object for Invoice: AP2057 [Tuesday 11th of August 2026 08:44:36 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2057","ADDRESS1":"727 W 3460 N","ADDRESS2":"","C_ADDRESS1":"1553 Candor Rd","C_ADDRESS2":"","C_CITY":"Bulger","C_COUNTRY":"USA","C_EMAIL":"edwardmosley54@yahoo.com","C_NAME":"Jerry Komaromi","C_STATE":"PA","C_ZIP":"15019","ShippingAmount":"21.92","CITY":"Erda","EMAIL":"edwardmosley54@yahoo.com","ID":"AP472","NAME":"Edward Mosley","STATE":"UT","COUNTRY":"USA","ZIP":"84074","MEMO":"","DESCR":"BigCommerce Order - AP2057 - Customer AP472"} [Tuesday 11th of August 2026 08:44:36 PM] Registered customer detected - checking EBMS for Customer ID: AP472 [Tuesday 11th of August 2026 08:44:36 PM] check_for_customer() - START - Customer ID: 472 [Tuesday 11th of August 2026 08:44:36 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP472%27 [Tuesday 11th of August 2026 08:44:36 PM] check_for_customer() - EBMS API call successful for Customer ID: 472 [Tuesday 11th of August 2026 08:44:36 PM] check_for_customer() - Customer ID: 472 found in EBMS [Tuesday 11th of August 2026 08:44:36 PM] check_for_customer() - END - Customer ID: 472 | Found: true [Tuesday 11th of August 2026 08:44:36 PM] Customer AP472 found in EBMS [Tuesday 11th of August 2026 08:44:36 PM] check_for_empty_info() - START - Customer ID: 472 [Tuesday 11th of August 2026 08:44:36 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP472%27 [Tuesday 11th of August 2026 08:44:36 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 472 [Tuesday 11th of August 2026 08:44:36 PM] check_for_empty_info() - Customer record found for Customer ID: 472 - Checking ADDRESS1 field [Tuesday 11th of August 2026 08:44:36 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 472 - No update needed [Tuesday 11th of August 2026 08:44:36 PM] check_for_empty_info() - END - Customer ID: 472 | Empty Info: false [Tuesday 11th of August 2026 08:44:36 PM] check_for_empty_pn() - START - Customer ID: AP472 [Tuesday 11th of August 2026 08:44:36 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP472%27 [Tuesday 11th of August 2026 08:44:37 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP472 [Tuesday 11th of August 2026 08:44:37 PM] check_for_empty_pn() - Customer record found for Customer ID: AP472 - Checking CONTACT_1 field [Tuesday 11th of August 2026 08:44:37 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP472 - Value: 1 (619) 382-1590 - No update needed [Tuesday 11th of August 2026 08:44:37 PM] check_for_empty_pn() - END - Customer ID: AP472 | Empty PN: false [Tuesday 11th of August 2026 08:44:37 PM] Fetching products from BigCommerce for Order ID: 2057 [Tuesday 11th of August 2026 08:44:37 PM] BigCommerce API call successful for Order ID: 2057 [Tuesday 11th of August 2026 08:44:37 PM] Products received: 1 item(s) [Tuesday 11th of August 2026 08:44:37 PM] Processing product SKU: EFE40100 | Qty: 1 | Price: 119.9500 [Tuesday 11th of August 2026 08:44:37 PM] get_mpn() - START - Product ID: 67477 [Tuesday 11th of August 2026 08:44:37 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477 [Tuesday 11th of August 2026 08:44:37 PM] get_mpn() - BigCommerce API call successful for Product ID: 67477 [Tuesday 11th of August 2026 08:44:37 PM] get_mpn() - WARNING - MPN is empty for Product ID: 67477 [Tuesday 11th of August 2026 08:44:37 PM] get_mpn() - END - Product ID: 67477 | MPN: [Tuesday 11th of August 2026 08:44:37 PM] check_for_ebms_product() - START - SKU: EFE40100 [Tuesday 11th of August 2026 08:44:37 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27EFE40100%27 [Tuesday 11th of August 2026 08:44:38 PM] check_for_ebms_product() - EBMS API call successful for SKU: EFE40100 [Tuesday 11th of August 2026 08:44:38 PM] check_for_ebms_product() - SKU: EFE40100 found in EBMS [Tuesday 11th of August 2026 08:44:38 PM] check_for_ebms_product() - END - SKU: EFE40100 | Found: true [Tuesday 11th of August 2026 08:44:38 PM] SKU EFE40100 found in EBMS - checking prices [Tuesday 11th of August 2026 08:44:38 PM] obtain_current_prices() - START - SKU: EFE40100 [Tuesday 11th of August 2026 08:44:38 PM] obtain_current_prices() - Checking Motorstate for SKU: EFE40100 [Tuesday 11th of August 2026 08:44:38 PM] check_for_ms_product() - START - SKU: EFE40100 [Tuesday 11th of August 2026 08:44:38 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40100 [Tuesday 11th of August 2026 08:44:38 PM] check_for_ms_product() - Motorstate API call successful for SKU: EFE40100 [Tuesday 11th of August 2026 08:44:38 PM] check_for_ms_product() - SKU: EFE40100 found in Motorstate [Tuesday 11th of August 2026 08:44:38 PM] check_for_ms_product() - END - SKU: EFE40100 | Found: true [Tuesday 11th of August 2026 08:44:38 PM] obtain_current_prices() - SKU: EFE40100 found in Motorstate - Fetching prices [Tuesday 11th of August 2026 08:44:38 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: EFE40100 - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40100 [Tuesday 11th of August 2026 08:44:38 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: EFE40100 - Base: 119.95 | Cost: 89.96 [Tuesday 11th of August 2026 08:44:38 PM] obtain_current_prices() - Returning Motorstate prices for SKU: EFE40100 - Base: 119.95 | Cost: 89.96 [Tuesday 11th of August 2026 08:44:38 PM] obtain_current_prices() - END - SKU: EFE40100 [Tuesday 11th of August 2026 08:44:38 PM] SKU EFE40100 has existing EBMS prices - syncing BigCommerce price back (cost: 89.96, base: 119.95) [Tuesday 11th of August 2026 08:44:38 PM] update_product_price() - START - Product ID: 67477 | Base: 119.95 | Cost: 89.96 [Tuesday 11th of August 2026 08:44:38 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477 [Tuesday 11th of August 2026 08:44:38 PM] update_product_price() - PUT payload: {"price":119.9500000000000028421709430404007434844970703125,"cost_price":89.9599999999999937472239253111183643341064453125} [Tuesday 11th of August 2026 08:44:38 PM] update_product_price() - Attempt 1 of 6 for Product ID: 67477 [Tuesday 11th of August 2026 08:44:38 PM] update_product_price() - Price updated successfully for Product ID: 67477 - Base: 119.95 | Cost: 89.96 [Tuesday 11th of August 2026 08:44:38 PM] update_product_price() - END - Product ID: 67477 | Result: success [Tuesday 11th of August 2026 08:44:38 PM] BigCommerce price updated for Product ID: 67477 [Tuesday 11th of August 2026 08:44:38 PM] get_product_inventory() - START - SKU: EFE40100 [Tuesday 11th of August 2026 08:44:38 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40100 [Tuesday 11th of August 2026 08:44:38 PM] get_product_inventory() - Motorstate API call successful for SKU: EFE40100 [Tuesday 11th of August 2026 08:44:38 PM] get_product_inventory() - Stock found for SKU: EFE40100 - Quantity: 11 | Running Total: 11 [Tuesday 11th of August 2026 08:44:38 PM] get_product_inventory() - END - SKU: EFE40100 | Total: 11 [Tuesday 11th of August 2026 08:44:38 PM] get_cf_id() - START - Product ID: 67477 [Tuesday 11th of August 2026 08:44:38 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477/custom-fields [Tuesday 11th of August 2026 08:44:38 PM] get_cf_id() - BigCommerce API call successful for Product ID: 67477 [Tuesday 11th of August 2026 08:44:38 PM] get_cf_id() - Custom field found for Product ID: 67477 | Field: online_stock_level | CF ID: 67367 [Tuesday 11th of August 2026 08:44:38 PM] get_cf_id() - END - Product ID: 67477 | CF ID: 67367 [Tuesday 11th of August 2026 08:44:38 PM] Updating inventory for SKU EFE40100 - stock: 11, CF ID: 67367 [Tuesday 11th of August 2026 08:44:38 PM] update_product_inventory() - START - Product ID: 67477 | Stock: 11 | CF ID: 67367 [Tuesday 11th of August 2026 08:44:38 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477/custom-fields/67367 [Tuesday 11th of August 2026 08:44:39 PM] update_product_inventory() - Inventory updated successfully for Product ID: 67477 | Stock: 11 [Tuesday 11th of August 2026 08:44:39 PM] update_product_inventory() - END - Product ID: 67477 | Result: success [Tuesday 11th of August 2026 08:44:39 PM] Inventory updated for SKU: EFE40100 [Tuesday 11th of August 2026 08:44:39 PM] All products processed - Order details: [{"ID":"AP472","INVEN":"EFE40100","M_QUAN_VIS":1,"UNIT":"119.95","UNIT_MEAS":"EA"}] [Tuesday 11th of August 2026 08:44:39 PM] Building payment record - Total: 150.3800 [Tuesday 11th of August 2026 08:44:39 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2057","ADDRESS1":"727 W 3460 N","ADDRESS2":"","C_ADDRESS1":"1553 Candor Rd","C_ADDRESS2":"","C_CITY":"Bulger","C_COUNTRY":"USA","C_EMAIL":"edwardmosley54@yahoo.com","C_NAME":"Jerry Komaromi","C_STATE":"PA","C_ZIP":"15019","ShippingAmount":"21.92","CITY":"Erda","EMAIL":"edwardmosley54@yahoo.com","ID":"AP472","NAME":"Edward Mosley","STATE":"UT","COUNTRY":"USA","ZIP":"84074","MEMO":"","DESCR":"BigCommerce Order - AP2057 - Customer AP472","Details":[{"ID":"AP472","INVEN":"EFE40100","M_QUAN_VIS":1,"UNIT":"119.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"150.38","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 11th of August 2026 08:44:39 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2057 [Tuesday 11th of August 2026 08:44:39 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2057%27 [Tuesday 11th of August 2026 08:44:39 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2057 [Tuesday 11th of August 2026 08:44:39 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2057 not found in EBMS [Tuesday 11th of August 2026 08:44:39 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2057 | Found: false [Tuesday 11th of August 2026 08:44:39 PM] Invoice AP2057 does not exist in EBMS - creating [Tuesday 11th of August 2026 08:44:39 PM] create_ebms_invoice() - START - Invoice: AP2057 [Tuesday 11th of August 2026 08:44:39 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2057","ADDRESS1":"727 W 3460 N","ADDRESS2":"","C_ADDRESS1":"1553 Candor Rd","C_ADDRESS2":"","C_CITY":"Bulger","C_COUNTRY":"USA","C_EMAIL":"edwardmosley54@yahoo.com","C_NAME":"Jerry Komaromi","C_STATE":"PA","C_ZIP":"15019","ShippingAmount":"21.92","CITY":"Erda","EMAIL":"edwardmosley54@yahoo.com","ID":"AP472","NAME":"Edward Mosley","STATE":"UT","COUNTRY":"USA","ZIP":"84074","MEMO":"","DESCR":"BigCommerce Order - AP2057 - Customer AP472","Details":[{"ID":"AP472","INVEN":"EFE40100","M_QUAN_VIS":1,"UNIT":"119.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"150.38","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 11th of August 2026 08:44:39 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Tuesday 11th of August 2026 08:44:48 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2057 [Tuesday 11th of August 2026 08:44:48 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2057 - Response: {"@odata.context":"http:\/\/localhost:56834\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"3636374d-5650-564c-5238-433632303030","AUTOID":"M766PVLVR8C62000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-127.1400000000000005684341886080801486968994140625,"BAL_CUST_X":-127.1400000000000005684341886080801486968994140625,"BALANCE":-127.1400000000000005684341886080801486968994140625,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":8.5099999999999997868371792719699442386627197265625,"TAX":1.3200000000000000621724893790087662637233734130859375,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":150.3799999999999954525264911353588104248046875,"TOTAL_S_SO":119.9500000000000028421709430404007434844970703125,"TOTAL_SO":150.3799999999999954525264911353588104248046875,"TOTAL_W":0,"TTLPROCPMT":150.3799999999999954525264911353588104248046875,"TOTAL":23.239999999999998436805981327779591083526611328125,"FREIGHT":21.9200000000000017053025658242404460906982421875,"HANDLING":0,"SHIPPING":21.9200000000000017053025658242404460906982421875,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"727 W 3460 N","ADDRESS2":"","C_EMAIL":"edwardmosley54@yahoo.com","C_PHONE":"16193821590","CCNTCT_AID":"69AJN8CILBA7F891","CHARGE":"Due on Receipt","CHECK_DATE":"2026-08-11T00:00:00Z","CHECK_NO":" APBC","CITY":"Erda","CNTCT_AID":"69AJN8CILBA7F891","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-08-11T00:00:00Z","E_DATE":"2026-08-11T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"edwardmosley54@yahoo.com","IADDRESS":"1553 Candor Rd , Bulger, PA 15019","ID":"AP472","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-08-11T00:00:00Z","INVOICE":"AP2057","MAN_FREIGH":true,"MAN_TAX":true,"NAME":"Edward Mosley","PHONE":"","PROCESS":"Default","STATE":"UT","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"84074","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"1553 Candor Rd","C_ADDRESS2":"","C_CITY":"Bulger","C_COUNTRY":"USA","C_ID":"AP472","C_NAME":"Jerry Komaromi","C_STATE":"PA","C_ZIP":"15019","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2057 - Customer AP472","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-08-11T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Tuesday 11th of August 2026 08:44:48 PM] create_ebms_invoice() - END - Invoice: AP2057 [Tuesday 11th of August 2026 08:44:48 PM] Invoice AP2057 created successfully [Tuesday 11th of August 2026 08:44:48 PM] ORDER WEBHOOK COMPLETED - Order ID: 2057 | Invoice: AP2057 [Tuesday 11th of August 2026 08:45:46 PM] ORDER WEBHOOK STARTED - Order ID: 2057 [Tuesday 11th of August 2026 08:45:46 PM] Fetching customer data for Order ID: 2057 [Tuesday 11th of August 2026 08:45:46 PM] get_order_customer_data() - START - Order ID: 2057 [Tuesday 11th of August 2026 08:45:46 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2057 [Tuesday 11th of August 2026 08:45:46 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2057 [Tuesday 11th of August 2026 08:45:46 PM] get_order_customer_data() - Parsing order response for Order ID: 2057 [Tuesday 11th of August 2026 08:45:46 PM] get_order_customer_data() - Customer object built - Customer ID: 472 | Name: Edward Mosley | Email: edwardmosley54@yahoo.com | Total: 150.3800 | Shipping: 21.92 [Tuesday 11th of August 2026 08:45:46 PM] get_order_customer_data() - END - Order ID: 2057 [Tuesday 11th of August 2026 08:45:46 PM] Customer data received: {"id":472,"email":"edwardmosley54@yahoo.com","address_1":"727 W 3460 N","address_2":"","city":"Erda","state":"UT","country":"USA","zip":"84074","f_name":"Edward","l_name":"Mosley","contact_5":"edwardmosley54@yahoo.com","contact_1":"16193821590","contact_4":"Edward Mosley"} [Tuesday 11th of August 2026 08:45:46 PM] Fetching shipping info for Order ID: 2057 [Tuesday 11th of August 2026 08:45:46 PM] get_order_shipping_info() - START - Order ID: 2057 [Tuesday 11th of August 2026 08:45:46 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2057/shipping_addresses [Tuesday 11th of August 2026 08:45:46 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2057 [Tuesday 11th of August 2026 08:45:46 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2057 | Name: Jerry Komaromi | Address: 1553 Candor Rd, Bulger, Pennsylvania, 15019 [Tuesday 11th of August 2026 08:45:46 PM] get_order_shipping_info() - END - Order ID: 2057 [Tuesday 11th of August 2026 08:45:46 PM] Shipping info received: {"id":1956,"order_id":2057,"first_name":"Jerry","last_name":"Komaromi","company":"","street_1":"1553 Candor Rd","street_2":"","city":"Bulger","zip":"15019","country":"United States","country_iso2":"US","state":"Pennsylvania","email":"edwardmosley54@yahoo.com","phone":"4125651212","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"21.9200","cost_ex_tax":"21.9200","cost_inc_tax":"23.2352","cost_tax":"1.3152","cost_tax_class_id":2,"base_handling_cost":"0.0000","handling_cost_ex_tax":"0.0000","handling_cost_inc_tax":"0.0000","handling_cost_tax":"0.0000","handling_cost_tax_class_id":2,"shipping_zone_id":3,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/2057\/shipping_addresses\/1956\/shipping_quotes","resource":"\/orders\/2057\/shipping_addresses\/1956\/shipping_quotes"},"form_fields":[]} [Tuesday 11th of August 2026 08:45:46 PM] Resolved Customer ID: AP472 [Tuesday 11th of August 2026 08:45:46 PM] Building order object for Invoice: AP2057 [Tuesday 11th of August 2026 08:45:46 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2057","ADDRESS1":"727 W 3460 N","ADDRESS2":"","C_ADDRESS1":"1553 Candor Rd","C_ADDRESS2":"","C_CITY":"Bulger","C_COUNTRY":"USA","C_EMAIL":"edwardmosley54@yahoo.com","C_NAME":"Jerry Komaromi","C_STATE":"PA","C_ZIP":"15019","ShippingAmount":"21.92","CITY":"Erda","EMAIL":"edwardmosley54@yahoo.com","ID":"AP472","NAME":"Edward Mosley","STATE":"UT","COUNTRY":"USA","ZIP":"84074","MEMO":"","DESCR":"BigCommerce Order - AP2057 - Customer AP472"} [Tuesday 11th of August 2026 08:45:46 PM] Registered customer detected - checking EBMS for Customer ID: AP472 [Tuesday 11th of August 2026 08:45:46 PM] check_for_customer() - START - Customer ID: 472 [Tuesday 11th of August 2026 08:45:46 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP472%27 [Tuesday 11th of August 2026 08:45:46 PM] check_for_customer() - EBMS API call successful for Customer ID: 472 [Tuesday 11th of August 2026 08:45:46 PM] check_for_customer() - Customer ID: 472 found in EBMS [Tuesday 11th of August 2026 08:45:46 PM] check_for_customer() - END - Customer ID: 472 | Found: true [Tuesday 11th of August 2026 08:45:46 PM] Customer AP472 found in EBMS [Tuesday 11th of August 2026 08:45:46 PM] check_for_empty_info() - START - Customer ID: 472 [Tuesday 11th of August 2026 08:45:46 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP472%27 [Tuesday 11th of August 2026 08:45:46 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 472 [Tuesday 11th of August 2026 08:45:46 PM] check_for_empty_info() - Customer record found for Customer ID: 472 - Checking ADDRESS1 field [Tuesday 11th of August 2026 08:45:46 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 472 - No update needed [Tuesday 11th of August 2026 08:45:46 PM] check_for_empty_info() - END - Customer ID: 472 | Empty Info: false [Tuesday 11th of August 2026 08:45:46 PM] check_for_empty_pn() - START - Customer ID: AP472 [Tuesday 11th of August 2026 08:45:46 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP472%27 [Tuesday 11th of August 2026 08:45:47 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP472 [Tuesday 11th of August 2026 08:45:47 PM] check_for_empty_pn() - Customer record found for Customer ID: AP472 - Checking CONTACT_1 field [Tuesday 11th of August 2026 08:45:47 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP472 - Value: 1 (619) 382-1590 - No update needed [Tuesday 11th of August 2026 08:45:47 PM] check_for_empty_pn() - END - Customer ID: AP472 | Empty PN: false [Tuesday 11th of August 2026 08:45:47 PM] Fetching products from BigCommerce for Order ID: 2057 [Tuesday 11th of August 2026 08:45:47 PM] BigCommerce API call successful for Order ID: 2057 [Tuesday 11th of August 2026 08:45:47 PM] Products received: 1 item(s) [Tuesday 11th of August 2026 08:45:47 PM] Processing product SKU: EFE40100 | Qty: 1 | Price: 119.9500 [Tuesday 11th of August 2026 08:45:47 PM] get_mpn() - START - Product ID: 67477 [Tuesday 11th of August 2026 08:45:47 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477 [Tuesday 11th of August 2026 08:45:47 PM] get_mpn() - BigCommerce API call successful for Product ID: 67477 [Tuesday 11th of August 2026 08:45:47 PM] get_mpn() - WARNING - MPN is empty for Product ID: 67477 [Tuesday 11th of August 2026 08:45:47 PM] get_mpn() - END - Product ID: 67477 | MPN: [Tuesday 11th of August 2026 08:45:47 PM] check_for_ebms_product() - START - SKU: EFE40100 [Tuesday 11th of August 2026 08:45:47 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27EFE40100%27 [Tuesday 11th of August 2026 08:45:47 PM] check_for_ebms_product() - EBMS API call successful for SKU: EFE40100 [Tuesday 11th of August 2026 08:45:47 PM] check_for_ebms_product() - SKU: EFE40100 found in EBMS [Tuesday 11th of August 2026 08:45:47 PM] check_for_ebms_product() - END - SKU: EFE40100 | Found: true [Tuesday 11th of August 2026 08:45:47 PM] SKU EFE40100 found in EBMS - checking prices [Tuesday 11th of August 2026 08:45:47 PM] obtain_current_prices() - START - SKU: EFE40100 [Tuesday 11th of August 2026 08:45:47 PM] obtain_current_prices() - Checking Motorstate for SKU: EFE40100 [Tuesday 11th of August 2026 08:45:47 PM] check_for_ms_product() - START - SKU: EFE40100 [Tuesday 11th of August 2026 08:45:47 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40100 [Tuesday 11th of August 2026 08:45:47 PM] check_for_ms_product() - Motorstate API call successful for SKU: EFE40100 [Tuesday 11th of August 2026 08:45:47 PM] check_for_ms_product() - SKU: EFE40100 found in Motorstate [Tuesday 11th of August 2026 08:45:47 PM] check_for_ms_product() - END - SKU: EFE40100 | Found: true [Tuesday 11th of August 2026 08:45:47 PM] obtain_current_prices() - SKU: EFE40100 found in Motorstate - Fetching prices [Tuesday 11th of August 2026 08:45:47 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: EFE40100 - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40100 [Tuesday 11th of August 2026 08:45:47 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: EFE40100 - Base: 119.95 | Cost: 89.96 [Tuesday 11th of August 2026 08:45:47 PM] obtain_current_prices() - Returning Motorstate prices for SKU: EFE40100 - Base: 119.95 | Cost: 89.96 [Tuesday 11th of August 2026 08:45:47 PM] obtain_current_prices() - END - SKU: EFE40100 [Tuesday 11th of August 2026 08:45:47 PM] SKU EFE40100 has existing EBMS prices - syncing BigCommerce price back (cost: 89.96, base: 119.95) [Tuesday 11th of August 2026 08:45:47 PM] update_product_price() - START - Product ID: 67477 | Base: 119.95 | Cost: 89.96 [Tuesday 11th of August 2026 08:45:47 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477 [Tuesday 11th of August 2026 08:45:47 PM] update_product_price() - PUT payload: {"price":119.9500000000000028421709430404007434844970703125,"cost_price":89.9599999999999937472239253111183643341064453125} [Tuesday 11th of August 2026 08:45:47 PM] update_product_price() - Attempt 1 of 6 for Product ID: 67477 [Tuesday 11th of August 2026 08:45:48 PM] update_product_price() - Price updated successfully for Product ID: 67477 - Base: 119.95 | Cost: 89.96 [Tuesday 11th of August 2026 08:45:48 PM] update_product_price() - END - Product ID: 67477 | Result: success [Tuesday 11th of August 2026 08:45:48 PM] BigCommerce price updated for Product ID: 67477 [Tuesday 11th of August 2026 08:45:48 PM] get_product_inventory() - START - SKU: EFE40100 [Tuesday 11th of August 2026 08:45:48 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40100 [Tuesday 11th of August 2026 08:45:48 PM] get_product_inventory() - Motorstate API call successful for SKU: EFE40100 [Tuesday 11th of August 2026 08:45:48 PM] get_product_inventory() - Stock found for SKU: EFE40100 - Quantity: 11 | Running Total: 11 [Tuesday 11th of August 2026 08:45:48 PM] get_product_inventory() - END - SKU: EFE40100 | Total: 11 [Tuesday 11th of August 2026 08:45:48 PM] get_cf_id() - START - Product ID: 67477 [Tuesday 11th of August 2026 08:45:48 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477/custom-fields [Tuesday 11th of August 2026 08:45:48 PM] get_cf_id() - BigCommerce API call successful for Product ID: 67477 [Tuesday 11th of August 2026 08:45:48 PM] get_cf_id() - Custom field found for Product ID: 67477 | Field: online_stock_level | CF ID: 67367 [Tuesday 11th of August 2026 08:45:48 PM] get_cf_id() - END - Product ID: 67477 | CF ID: 67367 [Tuesday 11th of August 2026 08:45:48 PM] Updating inventory for SKU EFE40100 - stock: 11, CF ID: 67367 [Tuesday 11th of August 2026 08:45:48 PM] update_product_inventory() - START - Product ID: 67477 | Stock: 11 | CF ID: 67367 [Tuesday 11th of August 2026 08:45:48 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477/custom-fields/67367 [Tuesday 11th of August 2026 08:45:48 PM] update_product_inventory() - Inventory updated successfully for Product ID: 67477 | Stock: 11 [Tuesday 11th of August 2026 08:45:48 PM] update_product_inventory() - END - Product ID: 67477 | Result: success [Tuesday 11th of August 2026 08:45:48 PM] Inventory updated for SKU: EFE40100 [Tuesday 11th of August 2026 08:45:48 PM] All products processed - Order details: [{"ID":"AP472","INVEN":"EFE40100","M_QUAN_VIS":1,"UNIT":"119.95","UNIT_MEAS":"EA"}] [Tuesday 11th of August 2026 08:45:48 PM] Building payment record - Total: 150.3800 [Tuesday 11th of August 2026 08:45:48 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2057","ADDRESS1":"727 W 3460 N","ADDRESS2":"","C_ADDRESS1":"1553 Candor Rd","C_ADDRESS2":"","C_CITY":"Bulger","C_COUNTRY":"USA","C_EMAIL":"edwardmosley54@yahoo.com","C_NAME":"Jerry Komaromi","C_STATE":"PA","C_ZIP":"15019","ShippingAmount":"21.92","CITY":"Erda","EMAIL":"edwardmosley54@yahoo.com","ID":"AP472","NAME":"Edward Mosley","STATE":"UT","COUNTRY":"USA","ZIP":"84074","MEMO":"","DESCR":"BigCommerce Order - AP2057 - Customer AP472","Details":[{"ID":"AP472","INVEN":"EFE40100","M_QUAN_VIS":1,"UNIT":"119.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"150.38","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 11th of August 2026 08:45:48 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2057 [Tuesday 11th of August 2026 08:45:48 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2057%27 [Tuesday 11th of August 2026 08:45:49 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2057 [Tuesday 11th of August 2026 08:45:49 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2057 found in EBMS [Tuesday 11th of August 2026 08:45:49 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2057 | Found: true [Tuesday 11th of August 2026 08:45:49 PM] Invoice AP2057 already exists in EBMS - patching [Tuesday 11th of August 2026 08:45:49 PM] patch_ebms_invoice() - START - Invoice: AP2057 [Tuesday 11th of August 2026 08:45:49 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2057","ADDRESS1":"727 W 3460 N","ADDRESS2":"","C_ADDRESS1":"1553 Candor Rd","C_ADDRESS2":"","C_CITY":"Bulger","C_COUNTRY":"USA","C_EMAIL":"edwardmosley54@yahoo.com","C_NAME":"Jerry Komaromi","C_STATE":"PA","C_ZIP":"15019","ShippingAmount":"21.92","CITY":"Erda","EMAIL":"edwardmosley54@yahoo.com","ID":"AP472","NAME":"Edward Mosley","STATE":"UT","COUNTRY":"USA","ZIP":"84074","MEMO":"","DESCR":"BigCommerce Order - AP2057 - Customer AP472","Details":[{"ID":"AP472","INVEN":"EFE40100","M_QUAN_VIS":1,"UNIT":"119.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"150.38","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 11th of August 2026 08:45:49 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2057%27 [Tuesday 11th of August 2026 08:45:49 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2057 [Tuesday 11th of August 2026 08:45:49 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2057 [Tuesday 11th of August 2026 08:45:49 PM] patch_ebms_invoice() - END - Invoice: AP2057 [Tuesday 11th of August 2026 08:45:49 PM] Invoice AP2057 patched successfully [Tuesday 11th of August 2026 08:45:49 PM] ORDER WEBHOOK COMPLETED - Order ID: 2057 | Invoice: AP2057 [Tuesday 11th of August 2026 09:53:38 PM] ORDER WEBHOOK STARTED - Order ID: 2058 [Tuesday 11th of August 2026 09:53:38 PM] Fetching customer data for Order ID: 2058 [Tuesday 11th of August 2026 09:53:38 PM] get_order_customer_data() - START - Order ID: 2058 [Tuesday 11th of August 2026 09:53:38 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2058 [Tuesday 11th of August 2026 09:53:38 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2058 [Tuesday 11th of August 2026 09:53:38 PM] get_order_customer_data() - Parsing order response for Order ID: 2058 [Tuesday 11th of August 2026 09:53:38 PM] get_order_customer_data() - Customer object built - Customer ID: 373 | Name: Hyunchul Hong | Email: HyunchulHong83@mac.com | Total: 134.6500 | Shipping: 23.64 [Tuesday 11th of August 2026 09:53:38 PM] get_order_customer_data() - END - Order ID: 2058 [Tuesday 11th of August 2026 09:53:38 PM] Customer data received: {"id":373,"email":"HyunchulHong83@mac.com","address_1":"6088 Millerton Rd","address_2":"","city":"Friant","state":"CA","country":"USA","zip":"93626","f_name":"Hyunchul","l_name":"Hong","contact_5":"HyunchulHong83@mac.com","contact_1":"3233433568","contact_4":"Hyunchul Hong"} [Tuesday 11th of August 2026 09:53:38 PM] Fetching shipping info for Order ID: 2058 [Tuesday 11th of August 2026 09:53:38 PM] get_order_shipping_info() - START - Order ID: 2058 [Tuesday 11th of August 2026 09:53:38 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2058/shipping_addresses [Tuesday 11th of August 2026 09:53:39 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2058 [Tuesday 11th of August 2026 09:53:39 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2058 | Name: Jesse Rudolph | Address: 9301 E Gordon Heights Cir, Gordon, Wisconsin, 54838 [Tuesday 11th of August 2026 09:53:39 PM] get_order_shipping_info() - END - Order ID: 2058 [Tuesday 11th of August 2026 09:53:39 PM] Shipping info received: {"id":1957,"order_id":2058,"first_name":"Jesse","last_name":"Rudolph","company":"","street_1":"9301 E Gordon Heights Cir","street_2":"","city":"Gordon","zip":"54838","country":"United States","country_iso2":"US","state":"Wisconsin","email":"HyunchulHong83@mac.com","phone":"7158360230","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"23.6400","cost_ex_tax":"23.6400","cost_inc_tax":"24.9402","cost_tax":"1.3002","cost_tax_class_id":2,"base_handling_cost":"0.0000","handling_cost_ex_tax":"0.0000","handling_cost_inc_tax":"0.0000","handling_cost_tax":"0.0000","handling_cost_tax_class_id":2,"shipping_zone_id":3,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/2058\/shipping_addresses\/1957\/shipping_quotes","resource":"\/orders\/2058\/shipping_addresses\/1957\/shipping_quotes"},"form_fields":[]} [Tuesday 11th of August 2026 09:53:39 PM] Resolved Customer ID: AP373 [Tuesday 11th of August 2026 09:53:39 PM] Building order object for Invoice: AP2058 [Tuesday 11th of August 2026 09:53:39 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2058","ADDRESS1":"6088 Millerton Rd","ADDRESS2":"","C_ADDRESS1":"9301 E Gordon Heights Cir","C_ADDRESS2":"","C_CITY":"Gordon","C_COUNTRY":"USA","C_EMAIL":"HyunchulHong83@mac.com","C_NAME":"Jesse Rudolph","C_STATE":"WI","C_ZIP":"54838","ShippingAmount":"23.64","CITY":"Friant","EMAIL":"HyunchulHong83@mac.com","ID":"AP373","NAME":"Hyunchul Hong","STATE":"CA","COUNTRY":"USA","ZIP":"93626","MEMO":"","DESCR":"BigCommerce Order - AP2058 - Customer AP373"} [Tuesday 11th of August 2026 09:53:39 PM] Registered customer detected - checking EBMS for Customer ID: AP373 [Tuesday 11th of August 2026 09:53:39 PM] check_for_customer() - START - Customer ID: 373 [Tuesday 11th of August 2026 09:53:39 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP373%27 [Tuesday 11th of August 2026 09:53:39 PM] check_for_customer() - EBMS API call successful for Customer ID: 373 [Tuesday 11th of August 2026 09:53:39 PM] check_for_customer() - Customer ID: 373 found in EBMS [Tuesday 11th of August 2026 09:53:39 PM] check_for_customer() - END - Customer ID: 373 | Found: true [Tuesday 11th of August 2026 09:53:39 PM] Customer AP373 found in EBMS [Tuesday 11th of August 2026 09:53:39 PM] check_for_empty_info() - START - Customer ID: 373 [Tuesday 11th of August 2026 09:53:39 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP373%27 [Tuesday 11th of August 2026 09:53:39 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 373 [Tuesday 11th of August 2026 09:53:39 PM] check_for_empty_info() - Customer record found for Customer ID: 373 - Checking ADDRESS1 field [Tuesday 11th of August 2026 09:53:39 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 373 - No update needed [Tuesday 11th of August 2026 09:53:39 PM] check_for_empty_info() - END - Customer ID: 373 | Empty Info: false [Tuesday 11th of August 2026 09:53:39 PM] check_for_empty_pn() - START - Customer ID: AP373 [Tuesday 11th of August 2026 09:53:39 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP373%27 [Tuesday 11th of August 2026 09:53:40 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP373 [Tuesday 11th of August 2026 09:53:40 PM] check_for_empty_pn() - Customer record found for Customer ID: AP373 - Checking CONTACT_1 field [Tuesday 11th of August 2026 09:53:40 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP373 - Value: (323) 343-3568 - No update needed [Tuesday 11th of August 2026 09:53:40 PM] check_for_empty_pn() - END - Customer ID: AP373 | Empty PN: false [Tuesday 11th of August 2026 09:53:40 PM] Fetching products from BigCommerce for Order ID: 2058 [Tuesday 11th of August 2026 09:53:40 PM] BigCommerce API call successful for Order ID: 2058 [Tuesday 11th of August 2026 09:53:40 PM] Products received: 1 item(s) [Tuesday 11th of August 2026 09:53:40 PM] Processing product SKU: ARP134-6006 | Qty: 1 | Price: 103.9900 [Tuesday 11th of August 2026 09:53:40 PM] get_mpn() - START - Product ID: 38317 [Tuesday 11th of August 2026 09:53:40 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/38317 [Tuesday 11th of August 2026 09:53:40 PM] get_mpn() - BigCommerce API call successful for Product ID: 38317 [Tuesday 11th of August 2026 09:53:40 PM] get_mpn() - WARNING - MPN is empty for Product ID: 38317 [Tuesday 11th of August 2026 09:53:40 PM] get_mpn() - END - Product ID: 38317 | MPN: [Tuesday 11th of August 2026 09:53:40 PM] check_for_ebms_product() - START - SKU: ARP134-6006 [Tuesday 11th of August 2026 09:53:40 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ARP134-6006%27 [Tuesday 11th of August 2026 09:53:40 PM] check_for_ebms_product() - EBMS API call successful for SKU: ARP134-6006 [Tuesday 11th of August 2026 09:53:40 PM] check_for_ebms_product() - SKU: ARP134-6006 found in EBMS [Tuesday 11th of August 2026 09:53:40 PM] check_for_ebms_product() - END - SKU: ARP134-6006 | Found: true [Tuesday 11th of August 2026 09:53:40 PM] SKU ARP134-6006 found in EBMS - checking prices [Tuesday 11th of August 2026 09:53:40 PM] obtain_current_prices() - START - SKU: ARP134-6006 [Tuesday 11th of August 2026 09:53:40 PM] obtain_current_prices() - Checking Motorstate for SKU: ARP134-6006 [Tuesday 11th of August 2026 09:53:40 PM] check_for_ms_product() - START - SKU: ARP134-6006 [Tuesday 11th of August 2026 09:53:40 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ARP134-6006 [Tuesday 11th of August 2026 09:53:40 PM] check_for_ms_product() - Motorstate API call successful for SKU: ARP134-6006 [Tuesday 11th of August 2026 09:53:40 PM] check_for_ms_product() - SKU: ARP134-6006 found in Motorstate [Tuesday 11th of August 2026 09:53:40 PM] check_for_ms_product() - END - SKU: ARP134-6006 | Found: true [Tuesday 11th of August 2026 09:53:40 PM] obtain_current_prices() - SKU: ARP134-6006 found in Motorstate - Fetching prices [Tuesday 11th of August 2026 09:53:40 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ARP134-6006 - URL: https://api.motorstate.com/api/Product?partNumbers=ARP134-6006 [Tuesday 11th of August 2026 09:53:41 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: ARP134-6006 - Base: 104.99 | Cost: 93.13 [Tuesday 11th of August 2026 09:53:41 PM] obtain_current_prices() - Returning Motorstate prices for SKU: ARP134-6006 - Base: 104.99 | Cost: 93.13 [Tuesday 11th of August 2026 09:53:41 PM] obtain_current_prices() - END - SKU: ARP134-6006 [Tuesday 11th of August 2026 09:53:41 PM] SKU ARP134-6006 has existing EBMS prices - syncing BigCommerce price back (cost: 93.13, base: 103.99) [Tuesday 11th of August 2026 09:53:41 PM] update_product_price() - START - Product ID: 38317 | Base: 103.99 | Cost: 93.13 [Tuesday 11th of August 2026 09:53:41 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/38317 [Tuesday 11th of August 2026 09:53:41 PM] update_product_price() - PUT payload: {"price":103.9899999999999948840923025272786617279052734375,"cost_price":93.1299999999999954525264911353588104248046875} [Tuesday 11th of August 2026 09:53:41 PM] update_product_price() - Attempt 1 of 6 for Product ID: 38317 [Tuesday 11th of August 2026 09:53:41 PM] update_product_price() - Price updated successfully for Product ID: 38317 - Base: 103.99 | Cost: 93.13 [Tuesday 11th of August 2026 09:53:41 PM] update_product_price() - END - Product ID: 38317 | Result: success [Tuesday 11th of August 2026 09:53:41 PM] BigCommerce price updated for Product ID: 38317 [Tuesday 11th of August 2026 09:53:41 PM] get_product_inventory() - START - SKU: ARP134-6006 [Tuesday 11th of August 2026 09:53:41 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ARP134-6006 [Tuesday 11th of August 2026 09:53:41 PM] get_product_inventory() - Motorstate API call successful for SKU: ARP134-6006 [Tuesday 11th of August 2026 09:53:41 PM] get_product_inventory() - Stock found for SKU: ARP134-6006 - Quantity: 22 | Running Total: 22 [Tuesday 11th of August 2026 09:53:41 PM] get_product_inventory() - END - SKU: ARP134-6006 | Total: 22 [Tuesday 11th of August 2026 09:53:41 PM] get_cf_id() - START - Product ID: 38317 [Tuesday 11th of August 2026 09:53:41 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/38317/custom-fields [Tuesday 11th of August 2026 09:53:41 PM] get_cf_id() - BigCommerce API call successful for Product ID: 38317 [Tuesday 11th of August 2026 09:53:41 PM] get_cf_id() - Custom field found for Product ID: 38317 | Field: online_stock_level | CF ID: 38207 [Tuesday 11th of August 2026 09:53:41 PM] get_cf_id() - END - Product ID: 38317 | CF ID: 38207 [Tuesday 11th of August 2026 09:53:41 PM] Updating inventory for SKU ARP134-6006 - stock: 22, CF ID: 38207 [Tuesday 11th of August 2026 09:53:41 PM] update_product_inventory() - START - Product ID: 38317 | Stock: 22 | CF ID: 38207 [Tuesday 11th of August 2026 09:53:41 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/38317/custom-fields/38207 [Tuesday 11th of August 2026 09:53:41 PM] update_product_inventory() - Inventory updated successfully for Product ID: 38317 | Stock: 22 [Tuesday 11th of August 2026 09:53:41 PM] update_product_inventory() - END - Product ID: 38317 | Result: success [Tuesday 11th of August 2026 09:53:41 PM] Inventory updated for SKU: ARP134-6006 [Tuesday 11th of August 2026 09:53:41 PM] All products processed - Order details: [{"ID":"AP373","INVEN":"ARP134-6006","M_QUAN_VIS":1,"UNIT":"103.99","UNIT_MEAS":"EA"}] [Tuesday 11th of August 2026 09:53:41 PM] Building payment record - Total: 134.6500 [Tuesday 11th of August 2026 09:53:41 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2058","ADDRESS1":"6088 Millerton Rd","ADDRESS2":"","C_ADDRESS1":"9301 E Gordon Heights Cir","C_ADDRESS2":"","C_CITY":"Gordon","C_COUNTRY":"USA","C_EMAIL":"HyunchulHong83@mac.com","C_NAME":"Jesse Rudolph","C_STATE":"WI","C_ZIP":"54838","ShippingAmount":"23.64","CITY":"Friant","EMAIL":"HyunchulHong83@mac.com","ID":"AP373","NAME":"Hyunchul Hong","STATE":"CA","COUNTRY":"USA","ZIP":"93626","MEMO":"","DESCR":"BigCommerce Order - AP2058 - Customer AP373","Details":[{"ID":"AP373","INVEN":"ARP134-6006","M_QUAN_VIS":1,"UNIT":"103.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"134.65","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 11th of August 2026 09:53:41 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2058 [Tuesday 11th of August 2026 09:53:41 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2058%27 [Tuesday 11th of August 2026 09:53:42 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2058 [Tuesday 11th of August 2026 09:53:42 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2058 not found in EBMS [Tuesday 11th of August 2026 09:53:42 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2058 | Found: false [Tuesday 11th of August 2026 09:53:42 PM] Invoice AP2058 does not exist in EBMS - creating [Tuesday 11th of August 2026 09:53:42 PM] create_ebms_invoice() - START - Invoice: AP2058 [Tuesday 11th of August 2026 09:53:42 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2058","ADDRESS1":"6088 Millerton Rd","ADDRESS2":"","C_ADDRESS1":"9301 E Gordon Heights Cir","C_ADDRESS2":"","C_CITY":"Gordon","C_COUNTRY":"USA","C_EMAIL":"HyunchulHong83@mac.com","C_NAME":"Jesse Rudolph","C_STATE":"WI","C_ZIP":"54838","ShippingAmount":"23.64","CITY":"Friant","EMAIL":"HyunchulHong83@mac.com","ID":"AP373","NAME":"Hyunchul Hong","STATE":"CA","COUNTRY":"USA","ZIP":"93626","MEMO":"","DESCR":"BigCommerce Order - AP2058 - Customer AP373","Details":[{"ID":"AP373","INVEN":"ARP134-6006","M_QUAN_VIS":1,"UNIT":"103.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"134.65","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 11th of August 2026 09:53:42 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Tuesday 11th of August 2026 09:53:49 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2058 [Tuesday 11th of August 2026 09:53:49 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2058 - Response: {"@odata.context":"http:\/\/localhost:56834\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"564f5252-5654-4347-5438-433632303030","AUTOID":"RROVTVGCT8C62000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-109.7099999999999937472239253111183643341064453125,"BAL_CUST_X":-109.7099999999999937472239253111183643341064453125,"BALANCE":-109.7099999999999937472239253111183643341064453125,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":7.019999999999999573674358543939888477325439453125,"TAX":1.3000000000000000444089209850062616169452667236328125,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":134.650000000000005684341886080801486968994140625,"TOTAL_S_SO":103.9899999999999948840923025272786617279052734375,"TOTAL_SO":134.650000000000005684341886080801486968994140625,"TOTAL_W":0,"TTLPROCPMT":134.650000000000005684341886080801486968994140625,"TOTAL":24.940000000000001278976924368180334568023681640625,"FREIGHT":23.6400000000000005684341886080801486968994140625,"HANDLING":0,"SHIPPING":23.6400000000000005684341886080801486968994140625,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"6088 Millerton Rd","ADDRESS2":"","C_EMAIL":"HyunchulHong83@mac.com","C_PHONE":"(323) 343-3568","CCNTCT_AID":"657FGV1C5CA7F891","CHARGE":"Due on Receipt","CHECK_DATE":"2026-08-11T00:00:00Z","CHECK_NO":" APBC","CITY":"Friant","CNTCT_AID":"657FGV1C5CA7F891","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-08-11T00:00:00Z","E_DATE":"2026-08-11T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"HyunchulHong83@mac.com","IADDRESS":"9301 E Gordon Heights Cir , Gordon, WI 54838","ID":"AP373","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-08-11T00:00:00Z","INVOICE":"AP2058","MAN_FREIGH":true,"MAN_TAX":true,"NAME":"Hyunchul Hong","PHONE":"","PROCESS":"Default","STATE":"CA","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"93626","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"9301 E Gordon Heights Cir","C_ADDRESS2":"","C_CITY":"Gordon","C_COUNTRY":"USA","C_ID":"AP373","C_NAME":"Jesse Rudolph","C_STATE":"WI","C_ZIP":"54838","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2058 - Customer AP373","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-08-11T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Tuesday 11th of August 2026 09:53:49 PM] create_ebms_invoice() - END - Invoice: AP2058 [Tuesday 11th of August 2026 09:53:49 PM] Invoice AP2058 created successfully [Tuesday 11th of August 2026 09:53:49 PM] ORDER WEBHOOK COMPLETED - Order ID: 2058 | Invoice: AP2058 [Tuesday 11th of August 2026 09:54:48 PM] ORDER WEBHOOK STARTED - Order ID: 2058 [Tuesday 11th of August 2026 09:54:48 PM] Fetching customer data for Order ID: 2058 [Tuesday 11th of August 2026 09:54:48 PM] get_order_customer_data() - START - Order ID: 2058 [Tuesday 11th of August 2026 09:54:48 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2058 [Tuesday 11th of August 2026 09:54:49 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2058 [Tuesday 11th of August 2026 09:54:49 PM] get_order_customer_data() - Parsing order response for Order ID: 2058 [Tuesday 11th of August 2026 09:54:49 PM] get_order_customer_data() - Customer object built - Customer ID: 373 | Name: Hyunchul Hong | Email: HyunchulHong83@mac.com | Total: 134.6500 | Shipping: 23.64 [Tuesday 11th of August 2026 09:54:49 PM] get_order_customer_data() - END - Order ID: 2058 [Tuesday 11th of August 2026 09:54:49 PM] Customer data received: {"id":373,"email":"HyunchulHong83@mac.com","address_1":"6088 Millerton Rd","address_2":"","city":"Friant","state":"CA","country":"USA","zip":"93626","f_name":"Hyunchul","l_name":"Hong","contact_5":"HyunchulHong83@mac.com","contact_1":"3233433568","contact_4":"Hyunchul Hong"} [Tuesday 11th of August 2026 09:54:49 PM] Fetching shipping info for Order ID: 2058 [Tuesday 11th of August 2026 09:54:49 PM] get_order_shipping_info() - START - Order ID: 2058 [Tuesday 11th of August 2026 09:54:49 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2058/shipping_addresses [Tuesday 11th of August 2026 09:54:49 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2058 [Tuesday 11th of August 2026 09:54:49 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2058 | Name: Jesse Rudolph | Address: 9301 E Gordon Heights Cir, Gordon, Wisconsin, 54838 [Tuesday 11th of August 2026 09:54:49 PM] get_order_shipping_info() - END - Order ID: 2058 [Tuesday 11th of August 2026 09:54:49 PM] Shipping info received: {"id":1957,"order_id":2058,"first_name":"Jesse","last_name":"Rudolph","company":"","street_1":"9301 E Gordon Heights Cir","street_2":"","city":"Gordon","zip":"54838","country":"United States","country_iso2":"US","state":"Wisconsin","email":"HyunchulHong83@mac.com","phone":"7158360230","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"23.6400","cost_ex_tax":"23.6400","cost_inc_tax":"24.9402","cost_tax":"1.3002","cost_tax_class_id":2,"base_handling_cost":"0.0000","handling_cost_ex_tax":"0.0000","handling_cost_inc_tax":"0.0000","handling_cost_tax":"0.0000","handling_cost_tax_class_id":2,"shipping_zone_id":3,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/2058\/shipping_addresses\/1957\/shipping_quotes","resource":"\/orders\/2058\/shipping_addresses\/1957\/shipping_quotes"},"form_fields":[]} [Tuesday 11th of August 2026 09:54:49 PM] Resolved Customer ID: AP373 [Tuesday 11th of August 2026 09:54:49 PM] Building order object for Invoice: AP2058 [Tuesday 11th of August 2026 09:54:49 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2058","ADDRESS1":"6088 Millerton Rd","ADDRESS2":"","C_ADDRESS1":"9301 E Gordon Heights Cir","C_ADDRESS2":"","C_CITY":"Gordon","C_COUNTRY":"USA","C_EMAIL":"HyunchulHong83@mac.com","C_NAME":"Jesse Rudolph","C_STATE":"WI","C_ZIP":"54838","ShippingAmount":"23.64","CITY":"Friant","EMAIL":"HyunchulHong83@mac.com","ID":"AP373","NAME":"Hyunchul Hong","STATE":"CA","COUNTRY":"USA","ZIP":"93626","MEMO":"","DESCR":"BigCommerce Order - AP2058 - Customer AP373"} [Tuesday 11th of August 2026 09:54:49 PM] Registered customer detected - checking EBMS for Customer ID: AP373 [Tuesday 11th of August 2026 09:54:49 PM] check_for_customer() - START - Customer ID: 373 [Tuesday 11th of August 2026 09:54:49 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP373%27 [Tuesday 11th of August 2026 09:54:49 PM] check_for_customer() - EBMS API call successful for Customer ID: 373 [Tuesday 11th of August 2026 09:54:49 PM] check_for_customer() - Customer ID: 373 found in EBMS [Tuesday 11th of August 2026 09:54:49 PM] check_for_customer() - END - Customer ID: 373 | Found: true [Tuesday 11th of August 2026 09:54:49 PM] Customer AP373 found in EBMS [Tuesday 11th of August 2026 09:54:49 PM] check_for_empty_info() - START - Customer ID: 373 [Tuesday 11th of August 2026 09:54:49 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP373%27 [Tuesday 11th of August 2026 09:54:49 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 373 [Tuesday 11th of August 2026 09:54:49 PM] check_for_empty_info() - Customer record found for Customer ID: 373 - Checking ADDRESS1 field [Tuesday 11th of August 2026 09:54:49 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 373 - No update needed [Tuesday 11th of August 2026 09:54:49 PM] check_for_empty_info() - END - Customer ID: 373 | Empty Info: false [Tuesday 11th of August 2026 09:54:49 PM] check_for_empty_pn() - START - Customer ID: AP373 [Tuesday 11th of August 2026 09:54:49 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP373%27 [Tuesday 11th of August 2026 09:54:49 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP373 [Tuesday 11th of August 2026 09:54:49 PM] check_for_empty_pn() - Customer record found for Customer ID: AP373 - Checking CONTACT_1 field [Tuesday 11th of August 2026 09:54:49 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP373 - Value: (323) 343-3568 - No update needed [Tuesday 11th of August 2026 09:54:49 PM] check_for_empty_pn() - END - Customer ID: AP373 | Empty PN: false [Tuesday 11th of August 2026 09:54:49 PM] Fetching products from BigCommerce for Order ID: 2058 [Tuesday 11th of August 2026 09:54:50 PM] BigCommerce API call successful for Order ID: 2058 [Tuesday 11th of August 2026 09:54:50 PM] Products received: 1 item(s) [Tuesday 11th of August 2026 09:54:50 PM] Processing product SKU: ARP134-6006 | Qty: 1 | Price: 103.9900 [Tuesday 11th of August 2026 09:54:50 PM] get_mpn() - START - Product ID: 38317 [Tuesday 11th of August 2026 09:54:50 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/38317 [Tuesday 11th of August 2026 09:54:50 PM] get_mpn() - BigCommerce API call successful for Product ID: 38317 [Tuesday 11th of August 2026 09:54:50 PM] get_mpn() - WARNING - MPN is empty for Product ID: 38317 [Tuesday 11th of August 2026 09:54:50 PM] get_mpn() - END - Product ID: 38317 | MPN: [Tuesday 11th of August 2026 09:54:50 PM] check_for_ebms_product() - START - SKU: ARP134-6006 [Tuesday 11th of August 2026 09:54:50 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ARP134-6006%27 [Tuesday 11th of August 2026 09:54:50 PM] check_for_ebms_product() - EBMS API call successful for SKU: ARP134-6006 [Tuesday 11th of August 2026 09:54:50 PM] check_for_ebms_product() - SKU: ARP134-6006 found in EBMS [Tuesday 11th of August 2026 09:54:50 PM] check_for_ebms_product() - END - SKU: ARP134-6006 | Found: true [Tuesday 11th of August 2026 09:54:50 PM] SKU ARP134-6006 found in EBMS - checking prices [Tuesday 11th of August 2026 09:54:50 PM] obtain_current_prices() - START - SKU: ARP134-6006 [Tuesday 11th of August 2026 09:54:50 PM] obtain_current_prices() - Checking Motorstate for SKU: ARP134-6006 [Tuesday 11th of August 2026 09:54:50 PM] check_for_ms_product() - START - SKU: ARP134-6006 [Tuesday 11th of August 2026 09:54:50 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ARP134-6006 [Tuesday 11th of August 2026 09:54:50 PM] check_for_ms_product() - Motorstate API call successful for SKU: ARP134-6006 [Tuesday 11th of August 2026 09:54:50 PM] check_for_ms_product() - SKU: ARP134-6006 found in Motorstate [Tuesday 11th of August 2026 09:54:50 PM] check_for_ms_product() - END - SKU: ARP134-6006 | Found: true [Tuesday 11th of August 2026 09:54:50 PM] obtain_current_prices() - SKU: ARP134-6006 found in Motorstate - Fetching prices [Tuesday 11th of August 2026 09:54:50 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ARP134-6006 - URL: https://api.motorstate.com/api/Product?partNumbers=ARP134-6006 [Tuesday 11th of August 2026 09:54:50 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: ARP134-6006 - Base: 104.99 | Cost: 93.13 [Tuesday 11th of August 2026 09:54:50 PM] obtain_current_prices() - Returning Motorstate prices for SKU: ARP134-6006 - Base: 104.99 | Cost: 93.13 [Tuesday 11th of August 2026 09:54:50 PM] obtain_current_prices() - END - SKU: ARP134-6006 [Tuesday 11th of August 2026 09:54:50 PM] SKU ARP134-6006 has existing EBMS prices - syncing BigCommerce price back (cost: 93.13, base: 103.99) [Tuesday 11th of August 2026 09:54:50 PM] update_product_price() - START - Product ID: 38317 | Base: 103.99 | Cost: 93.13 [Tuesday 11th of August 2026 09:54:50 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/38317 [Tuesday 11th of August 2026 09:54:50 PM] update_product_price() - PUT payload: {"price":103.9899999999999948840923025272786617279052734375,"cost_price":93.1299999999999954525264911353588104248046875} [Tuesday 11th of August 2026 09:54:50 PM] update_product_price() - Attempt 1 of 6 for Product ID: 38317 [Tuesday 11th of August 2026 09:54:51 PM] update_product_price() - Price updated successfully for Product ID: 38317 - Base: 103.99 | Cost: 93.13 [Tuesday 11th of August 2026 09:54:51 PM] update_product_price() - END - Product ID: 38317 | Result: success [Tuesday 11th of August 2026 09:54:51 PM] BigCommerce price updated for Product ID: 38317 [Tuesday 11th of August 2026 09:54:51 PM] get_product_inventory() - START - SKU: ARP134-6006 [Tuesday 11th of August 2026 09:54:51 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ARP134-6006 [Tuesday 11th of August 2026 09:54:51 PM] get_product_inventory() - Motorstate API call successful for SKU: ARP134-6006 [Tuesday 11th of August 2026 09:54:51 PM] get_product_inventory() - Stock found for SKU: ARP134-6006 - Quantity: 22 | Running Total: 22 [Tuesday 11th of August 2026 09:54:51 PM] get_product_inventory() - END - SKU: ARP134-6006 | Total: 22 [Tuesday 11th of August 2026 09:54:51 PM] get_cf_id() - START - Product ID: 38317 [Tuesday 11th of August 2026 09:54:51 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/38317/custom-fields [Tuesday 11th of August 2026 09:54:51 PM] get_cf_id() - BigCommerce API call successful for Product ID: 38317 [Tuesday 11th of August 2026 09:54:51 PM] get_cf_id() - Custom field found for Product ID: 38317 | Field: online_stock_level | CF ID: 38207 [Tuesday 11th of August 2026 09:54:51 PM] get_cf_id() - END - Product ID: 38317 | CF ID: 38207 [Tuesday 11th of August 2026 09:54:51 PM] Updating inventory for SKU ARP134-6006 - stock: 22, CF ID: 38207 [Tuesday 11th of August 2026 09:54:51 PM] update_product_inventory() - START - Product ID: 38317 | Stock: 22 | CF ID: 38207 [Tuesday 11th of August 2026 09:54:51 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/38317/custom-fields/38207 [Tuesday 11th of August 2026 09:54:51 PM] update_product_inventory() - Inventory updated successfully for Product ID: 38317 | Stock: 22 [Tuesday 11th of August 2026 09:54:51 PM] update_product_inventory() - END - Product ID: 38317 | Result: success [Tuesday 11th of August 2026 09:54:51 PM] Inventory updated for SKU: ARP134-6006 [Tuesday 11th of August 2026 09:54:51 PM] All products processed - Order details: [{"ID":"AP373","INVEN":"ARP134-6006","M_QUAN_VIS":1,"UNIT":"103.99","UNIT_MEAS":"EA"}] [Tuesday 11th of August 2026 09:54:51 PM] Building payment record - Total: 134.6500 [Tuesday 11th of August 2026 09:54:51 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2058","ADDRESS1":"6088 Millerton Rd","ADDRESS2":"","C_ADDRESS1":"9301 E Gordon Heights Cir","C_ADDRESS2":"","C_CITY":"Gordon","C_COUNTRY":"USA","C_EMAIL":"HyunchulHong83@mac.com","C_NAME":"Jesse Rudolph","C_STATE":"WI","C_ZIP":"54838","ShippingAmount":"23.64","CITY":"Friant","EMAIL":"HyunchulHong83@mac.com","ID":"AP373","NAME":"Hyunchul Hong","STATE":"CA","COUNTRY":"USA","ZIP":"93626","MEMO":"","DESCR":"BigCommerce Order - AP2058 - Customer AP373","Details":[{"ID":"AP373","INVEN":"ARP134-6006","M_QUAN_VIS":1,"UNIT":"103.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"134.65","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 11th of August 2026 09:54:51 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2058 [Tuesday 11th of August 2026 09:54:51 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2058%27 [Tuesday 11th of August 2026 09:54:52 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2058 [Tuesday 11th of August 2026 09:54:52 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2058 found in EBMS [Tuesday 11th of August 2026 09:54:52 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2058 | Found: true [Tuesday 11th of August 2026 09:54:52 PM] Invoice AP2058 already exists in EBMS - patching [Tuesday 11th of August 2026 09:54:52 PM] patch_ebms_invoice() - START - Invoice: AP2058 [Tuesday 11th of August 2026 09:54:52 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2058","ADDRESS1":"6088 Millerton Rd","ADDRESS2":"","C_ADDRESS1":"9301 E Gordon Heights Cir","C_ADDRESS2":"","C_CITY":"Gordon","C_COUNTRY":"USA","C_EMAIL":"HyunchulHong83@mac.com","C_NAME":"Jesse Rudolph","C_STATE":"WI","C_ZIP":"54838","ShippingAmount":"23.64","CITY":"Friant","EMAIL":"HyunchulHong83@mac.com","ID":"AP373","NAME":"Hyunchul Hong","STATE":"CA","COUNTRY":"USA","ZIP":"93626","MEMO":"","DESCR":"BigCommerce Order - AP2058 - Customer AP373","Details":[{"ID":"AP373","INVEN":"ARP134-6006","M_QUAN_VIS":1,"UNIT":"103.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"134.65","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 11th of August 2026 09:54:52 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2058%27 [Tuesday 11th of August 2026 09:54:52 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2058 [Tuesday 11th of August 2026 09:54:52 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2058 [Tuesday 11th of August 2026 09:54:52 PM] patch_ebms_invoice() - END - Invoice: AP2058 [Tuesday 11th of August 2026 09:54:52 PM] Invoice AP2058 patched successfully [Tuesday 11th of August 2026 09:54:52 PM] ORDER WEBHOOK COMPLETED - Order ID: 2058 | Invoice: AP2058