[Monday 21st of September 2026 04:58:38 PM] ORDER WEBHOOK STARTED - Order ID: 2278 [Monday 21st of September 2026 04:58:38 PM] Fetching customer data for Order ID: 2278 [Monday 21st of September 2026 04:58:38 PM] get_order_customer_data() - START - Order ID: 2278 [Monday 21st of September 2026 04:58:38 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2278 [Monday 21st of September 2026 04:58:38 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2278 [Monday 21st of September 2026 04:58:38 PM] get_order_customer_data() - Parsing order response for Order ID: 2278 [Monday 21st of September 2026 04:58:38 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Ryan Emerson | Email: ryanremerson193@gmail.com | Total: 85.5800 | Shipping: 25.59 [Monday 21st of September 2026 04:58:38 PM] get_order_customer_data() - END - Order ID: 2278 [Monday 21st of September 2026 04:58:38 PM] Customer data received: {"id":0,"email":"ryanremerson193@gmail.com","address_1":"2343 vt rte 107 bethel","address_2":"","city":"Bethel","state":"VT","country":"USA","zip":"05032-9111","f_name":"Ryan","l_name":"Emerson","contact_5":"ryanremerson193@gmail.com","contact_1":"8024618723","contact_4":"Ryan Emerson"} [Monday 21st of September 2026 04:58:38 PM] Fetching shipping info for Order ID: 2278 [Monday 21st of September 2026 04:58:38 PM] get_order_shipping_info() - START - Order ID: 2278 [Monday 21st of September 2026 04:58:38 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2278/shipping_addresses [Monday 21st of September 2026 04:58:39 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2278 [Monday 21st of September 2026 04:58:39 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2278 | Name: Ryan Emerson | Address: 2343 vt rte 107 bethel, Bethel, Vermont, 05032-9111 [Monday 21st of September 2026 04:58:39 PM] get_order_shipping_info() - END - Order ID: 2278 [Monday 21st of September 2026 04:58:39 PM] Shipping info received: {"id":2177,"order_id":2278,"first_name":"Ryan","last_name":"Emerson","company":"","street_1":"2343 vt rte 107 bethel","street_2":"","city":"Bethel","zip":"05032-9111","country":"United States","country_iso2":"US","state":"Vermont","email":"ryanremerson193@gmail.com","phone":"8024618723","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"25.5900","cost_ex_tax":"25.5900","cost_inc_tax":"25.5900","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\/2278\/shipping_addresses\/2177\/shipping_quotes","resource":"\/orders\/2278\/shipping_addresses\/2177\/shipping_quotes"},"form_fields":[]} [Monday 21st of September 2026 04:58:39 PM] Resolved Customer ID: APONLINE [Monday 21st of September 2026 04:58:39 PM] Building order object for Invoice: AP2278 [Monday 21st of September 2026 04:58:39 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2278","ADDRESS1":"2343 vt rte 107 bethel","ADDRESS2":"","C_ADDRESS1":"2343 vt rte 107 bethel","C_ADDRESS2":"","C_CITY":"Bethel","C_COUNTRY":"USA","C_EMAIL":"ryanremerson193@gmail.com","C_NAME":"Ryan Emerson","C_STATE":"VT","C_ZIP":"05032-9111","ShippingAmount":"25.59","CITY":"Bethel","EMAIL":"ryanremerson193@gmail.com","ID":"APONLINE","NAME":"Ryan Emerson","STATE":"VT","COUNTRY":"USA","ZIP":"05032-9111","MEMO":"","DESCR":"BigCommerce Order - AP2278 - Customer APONLINE"} [Monday 21st of September 2026 04:58:39 PM] Guest checkout detected (APONLINE) - skipping customer sync [Monday 21st of September 2026 04:58:39 PM] Fetching products from BigCommerce for Order ID: 2278 [Monday 21st of September 2026 04:58:39 PM] BigCommerce API call successful for Order ID: 2278 [Monday 21st of September 2026 04:58:39 PM] Products received: 1 item(s) [Monday 21st of September 2026 04:58:39 PM] Processing product SKU: HSK56791 | Qty: 1 | Price: 59.9900 [Monday 21st of September 2026 04:58:39 PM] get_mpn() - START - Product ID: 31449 [Monday 21st of September 2026 04:58:39 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/31449 [Monday 21st of September 2026 04:58:39 PM] get_mpn() - BigCommerce API call successful for Product ID: 31449 [Monday 21st of September 2026 04:58:39 PM] get_mpn() - WARNING - MPN is empty for Product ID: 31449 [Monday 21st of September 2026 04:58:39 PM] get_mpn() - END - Product ID: 31449 | MPN: [Monday 21st of September 2026 04:58:39 PM] check_for_ebms_product() - START - SKU: HSK56791 [Monday 21st of September 2026 04:58:39 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27HSK56791%27 [Monday 21st of September 2026 04:58:42 PM] check_for_ebms_product() - EBMS API call successful for SKU: HSK56791 [Monday 21st of September 2026 04:58:42 PM] check_for_ebms_product() - SKU: HSK56791 not found in EBMS [Monday 21st of September 2026 04:58:42 PM] check_for_ebms_product() - END - SKU: HSK56791 | Found: false [Monday 21st of September 2026 04:58:42 PM] SKU HSK56791 not found in EBMS - creating new part [Monday 21st of September 2026 04:58:42 PM] get_product_desc() - START - Product ID: 31449 [Monday 21st of September 2026 04:58:42 PM] get_product_desc() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/31449 [Monday 21st of September 2026 04:58:42 PM] get_product_desc() - BigCommerce API call successful for Product ID: 31449 [Monday 21st of September 2026 04:58:42 PM] get_product_desc() - Description retrieved for Product ID: 31449 - Description: Mud Flap - Mud Guards - Front - Plastic - Black / Textured - GM Fullsize Truck 2007-13 - Pair [Monday 21st of September 2026 04:58:42 PM] get_product_desc() - END - Product ID: 31449 [Monday 21st of September 2026 04:58:42 PM] get_ms_product() - START - SKU: HSK56791 [Monday 21st of September 2026 04:58:42 PM] get_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=HSK56791 [Monday 21st of September 2026 04:58:42 PM] get_ms_product() - Motorstate API call successful for SKU: HSK56791 [Monday 21st of September 2026 04:58:42 PM] get_ms_product() - Product data retrieved from Motorstate for SKU: HSK56791 - Response: [{"Found":true,"PartNumber":"HSK56791","Product":{"PartNumber":"hsk56791","VendorPartNumber":"56791","Status":1,"IsStocking":true,"ShortDescription":"07-13 Silverado/HD Front Mud Flaps","Quantity":2,"CustomerPrice":29.5800045,"CustomerPriceNonPromotional":29.5800045,"BasePrice":38.65,"ListPrice":59.99,"MapPrice":59.99,"IsMapRestricted":false,"CanSpecialOrder":true,"CanDropShip":true,"DropShipCharge":5.0,"SpecialOrderDetails":"","MotorStateNotes":"W/O FENDER FLARES","CanRegularBackOrder":true}}] [Monday 21st of September 2026 04:58:42 PM] get_ms_product() - END - SKU: HSK56791 [Monday 21st of September 2026 04:58:42 PM] MS pricing found for SKU HSK56791 - base: 59.99, cost: 29.5800045 [Monday 21st of September 2026 04:58:42 PM] create_new_part() - START - SKU: HSK56791 | Base: 59.99 | Cost: 29.58 | Weight: 2.3500 | MPN: [Monday 21st of September 2026 04:58:42 PM] create_new_part() - Description parsed - DESCR_1: Mud Flap - Mud Guards - Front - Plastic - Black / Textured - GM Fullsize Truck 2 | DESCR_2: 007-13 - Pair [Monday 21st of September 2026 04:58:42 PM] create_new_part() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY [Monday 21st of September 2026 04:58:42 PM] create_new_part() - POST payload: {"ID":"HSK56791","DESCR_1":"Mud Flap - Mud Guards - Front - Plastic - Black \/ Textured - GM Fullsize Truck 2","DESCR_2":"007-13 - Pair","DESCR_3":"Mud Flap - Mud Guards - Front - Plastic - Black \/ Textured - GM Fullsize Truck 2007-13 - Pair","DESCR_3PRN":false,"DESCR_3PRP":false,"COST":"29.58","BASE":"59.99","WEIGHT":"2.3500","MFG_PART":"","TREE_ID":"603"} [Monday 21st of September 2026 04:58:44 PM] create_new_part() - EBMS API call successful for SKU: HSK56791 [Monday 21st of September 2026 04:58:44 PM] create_new_part() - Part created successfully in EBMS - SKU: HSK56791 - {"id":"HSK56791","cost":"29.58","base":"59.99","description":"Mud Flap - Mud Guards - Front - Plastic - Black \/ Textured - GM Fullsize Truck 2007-13 - Pair","tree_id":" 603"} [Monday 21st of September 2026 04:58:44 PM] create_new_part() - Sending new part notification email for SKU: HSK56791 [Monday 21st of September 2026 04:58:45 PM] create_new_part() - Notification email sent successfully for SKU: HSK56791 [Monday 21st of September 2026 04:58:45 PM] create_new_part() - END - SKU: HSK56791 [Monday 21st of September 2026 04:58:45 PM] New part created in EBMS for SKU: HSK56791 [Monday 21st of September 2026 04:58:45 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"HSK56791","M_QUAN_VIS":1,"UNIT":"59.99","UNIT_MEAS":"EA"}] [Monday 21st of September 2026 04:58:45 PM] Building payment record - Total: 85.5800 [Monday 21st of September 2026 04:58:45 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2278","ADDRESS1":"2343 vt rte 107 bethel","ADDRESS2":"","C_ADDRESS1":"2343 vt rte 107 bethel","C_ADDRESS2":"","C_CITY":"Bethel","C_COUNTRY":"USA","C_EMAIL":"ryanremerson193@gmail.com","C_NAME":"Ryan Emerson","C_STATE":"VT","C_ZIP":"05032-9111","ShippingAmount":"25.59","CITY":"Bethel","EMAIL":"ryanremerson193@gmail.com","ID":"APONLINE","NAME":"Ryan Emerson","STATE":"VT","COUNTRY":"USA","ZIP":"05032-9111","MEMO":"","DESCR":"BigCommerce Order - AP2278 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"HSK56791","M_QUAN_VIS":1,"UNIT":"59.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"85.58","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 21st of September 2026 04:58:45 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2278 [Monday 21st of September 2026 04:58:45 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2278%27 [Monday 21st of September 2026 04:58:45 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2278 [Monday 21st of September 2026 04:58:45 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2278 not found in EBMS [Monday 21st of September 2026 04:58:45 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2278 | Found: false [Monday 21st of September 2026 04:58:45 PM] Invoice AP2278 does not exist in EBMS - creating [Monday 21st of September 2026 04:58:45 PM] create_ebms_invoice() - START - Invoice: AP2278 [Monday 21st of September 2026 04:58:45 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2278","ADDRESS1":"2343 vt rte 107 bethel","ADDRESS2":"","C_ADDRESS1":"2343 vt rte 107 bethel","C_ADDRESS2":"","C_CITY":"Bethel","C_COUNTRY":"USA","C_EMAIL":"ryanremerson193@gmail.com","C_NAME":"Ryan Emerson","C_STATE":"VT","C_ZIP":"05032-9111","ShippingAmount":"25.59","CITY":"Bethel","EMAIL":"ryanremerson193@gmail.com","ID":"APONLINE","NAME":"Ryan Emerson","STATE":"VT","COUNTRY":"USA","ZIP":"05032-9111","MEMO":"","DESCR":"BigCommerce Order - AP2278 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"HSK56791","M_QUAN_VIS":1,"UNIT":"59.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"85.58","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 21st of September 2026 04:58:45 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Monday 21st of September 2026 04:58:52 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2278 [Monday 21st of September 2026 04:58:52 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2278 - Response: {"@odata.context":"http:\/\/localhost:60155\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"43344c34-3546-4f56-434b-555632303030","AUTOID":"4L4CF5VOCKUV2000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-59.99000000000000198951966012828052043914794921875,"BAL_CUST_X":-59.99000000000000198951966012828052043914794921875,"BALANCE":-59.99000000000000198951966012828052043914794921875,"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":85.5799999999999982946974341757595539093017578125,"TOTAL_S_SO":59.99000000000000198951966012828052043914794921875,"TOTAL_SO":85.5799999999999982946974341757595539093017578125,"TOTAL_W":0,"TTLPROCPMT":85.5799999999999982946974341757595539093017578125,"TOTAL":25.589999999999999857891452847979962825775146484375,"FREIGHT":25.589999999999999857891452847979962825775146484375,"HANDLING":0,"SHIPPING":25.589999999999999857891452847979962825775146484375,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"2343 vt rte 107 bethel","ADDRESS2":"","C_EMAIL":"ryanremerson193@gmail.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-09-21T00:00:00Z","CHECK_NO":" APBC","CITY":"Bethel","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-09-21T00:00:00Z","E_DATE":"2026-09-21T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"ryanremerson193@gmail.com","IADDRESS":"2343 vt rte 107 bethel , Bethel, VT 05032-9111","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-09-21T00:00:00Z","INVOICE":"AP2278","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"Ryan Emerson","PHONE":"","PROCESS":"Default","STATE":"VT","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"05032-9111","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"2343 vt rte 107 bethel","C_ADDRESS2":"","C_CITY":"Bethel","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"Ryan Emerson","C_STATE":"VT","C_ZIP":"05032-9111","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2278 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-09-21T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Monday 21st of September 2026 04:58:52 PM] create_ebms_invoice() - END - Invoice: AP2278 [Monday 21st of September 2026 04:58:52 PM] Invoice AP2278 created successfully [Monday 21st of September 2026 04:58:52 PM] ORDER WEBHOOK COMPLETED - Order ID: 2278 | Invoice: AP2278 [Monday 21st of September 2026 04:59:48 PM] ORDER WEBHOOK STARTED - Order ID: 2278 [Monday 21st of September 2026 04:59:48 PM] Fetching customer data for Order ID: 2278 [Monday 21st of September 2026 04:59:48 PM] get_order_customer_data() - START - Order ID: 2278 [Monday 21st of September 2026 04:59:48 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2278 [Monday 21st of September 2026 04:59:49 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2278 [Monday 21st of September 2026 04:59:49 PM] get_order_customer_data() - Parsing order response for Order ID: 2278 [Monday 21st of September 2026 04:59:49 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Ryan Emerson | Email: ryanremerson193@gmail.com | Total: 85.5800 | Shipping: 25.59 [Monday 21st of September 2026 04:59:49 PM] get_order_customer_data() - END - Order ID: 2278 [Monday 21st of September 2026 04:59:49 PM] Customer data received: {"id":0,"email":"ryanremerson193@gmail.com","address_1":"2343 vt rte 107 bethel","address_2":"","city":"Bethel","state":"VT","country":"USA","zip":"05032-9111","f_name":"Ryan","l_name":"Emerson","contact_5":"ryanremerson193@gmail.com","contact_1":"8024618723","contact_4":"Ryan Emerson"} [Monday 21st of September 2026 04:59:49 PM] Fetching shipping info for Order ID: 2278 [Monday 21st of September 2026 04:59:49 PM] get_order_shipping_info() - START - Order ID: 2278 [Monday 21st of September 2026 04:59:49 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2278/shipping_addresses [Monday 21st of September 2026 04:59:49 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2278 [Monday 21st of September 2026 04:59:49 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2278 | Name: Ryan Emerson | Address: 2343 vt rte 107 bethel, Bethel, Vermont, 05032-9111 [Monday 21st of September 2026 04:59:49 PM] get_order_shipping_info() - END - Order ID: 2278 [Monday 21st of September 2026 04:59:49 PM] Shipping info received: {"id":2177,"order_id":2278,"first_name":"Ryan","last_name":"Emerson","company":"","street_1":"2343 vt rte 107 bethel","street_2":"","city":"Bethel","zip":"05032-9111","country":"United States","country_iso2":"US","state":"Vermont","email":"ryanremerson193@gmail.com","phone":"8024618723","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"25.5900","cost_ex_tax":"25.5900","cost_inc_tax":"25.5900","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\/2278\/shipping_addresses\/2177\/shipping_quotes","resource":"\/orders\/2278\/shipping_addresses\/2177\/shipping_quotes"},"form_fields":[]} [Monday 21st of September 2026 04:59:49 PM] Resolved Customer ID: APONLINE [Monday 21st of September 2026 04:59:49 PM] Building order object for Invoice: AP2278 [Monday 21st of September 2026 04:59:49 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2278","ADDRESS1":"2343 vt rte 107 bethel","ADDRESS2":"","C_ADDRESS1":"2343 vt rte 107 bethel","C_ADDRESS2":"","C_CITY":"Bethel","C_COUNTRY":"USA","C_EMAIL":"ryanremerson193@gmail.com","C_NAME":"Ryan Emerson","C_STATE":"VT","C_ZIP":"05032-9111","ShippingAmount":"25.59","CITY":"Bethel","EMAIL":"ryanremerson193@gmail.com","ID":"APONLINE","NAME":"Ryan Emerson","STATE":"VT","COUNTRY":"USA","ZIP":"05032-9111","MEMO":"","DESCR":"BigCommerce Order - AP2278 - Customer APONLINE"} [Monday 21st of September 2026 04:59:49 PM] Guest checkout detected (APONLINE) - skipping customer sync [Monday 21st of September 2026 04:59:49 PM] Fetching products from BigCommerce for Order ID: 2278 [Monday 21st of September 2026 04:59:49 PM] BigCommerce API call successful for Order ID: 2278 [Monday 21st of September 2026 04:59:49 PM] Products received: 1 item(s) [Monday 21st of September 2026 04:59:49 PM] Processing product SKU: HSK56791 | Qty: 1 | Price: 59.9900 [Monday 21st of September 2026 04:59:49 PM] get_mpn() - START - Product ID: 31449 [Monday 21st of September 2026 04:59:49 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/31449 [Monday 21st of September 2026 04:59:49 PM] get_mpn() - BigCommerce API call successful for Product ID: 31449 [Monday 21st of September 2026 04:59:49 PM] get_mpn() - WARNING - MPN is empty for Product ID: 31449 [Monday 21st of September 2026 04:59:49 PM] get_mpn() - END - Product ID: 31449 | MPN: [Monday 21st of September 2026 04:59:49 PM] check_for_ebms_product() - START - SKU: HSK56791 [Monday 21st of September 2026 04:59:49 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27HSK56791%27 [Monday 21st of September 2026 04:59:50 PM] check_for_ebms_product() - EBMS API call successful for SKU: HSK56791 [Monday 21st of September 2026 04:59:50 PM] check_for_ebms_product() - SKU: HSK56791 found in EBMS [Monday 21st of September 2026 04:59:50 PM] check_for_ebms_product() - END - SKU: HSK56791 | Found: true [Monday 21st of September 2026 04:59:50 PM] SKU HSK56791 found in EBMS - checking prices [Monday 21st of September 2026 04:59:50 PM] obtain_current_prices() - START - SKU: HSK56791 [Monday 21st of September 2026 04:59:50 PM] obtain_current_prices() - Checking Motorstate for SKU: HSK56791 [Monday 21st of September 2026 04:59:50 PM] check_for_ms_product() - START - SKU: HSK56791 [Monday 21st of September 2026 04:59:50 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=HSK56791 [Monday 21st of September 2026 04:59:50 PM] check_for_ms_product() - Motorstate API call successful for SKU: HSK56791 [Monday 21st of September 2026 04:59:50 PM] check_for_ms_product() - SKU: HSK56791 found in Motorstate [Monday 21st of September 2026 04:59:50 PM] check_for_ms_product() - END - SKU: HSK56791 | Found: true [Monday 21st of September 2026 04:59:50 PM] obtain_current_prices() - SKU: HSK56791 found in Motorstate - Fetching prices [Monday 21st of September 2026 04:59:50 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: HSK56791 - URL: https://api.motorstate.com/api/Product?partNumbers=HSK56791 [Monday 21st of September 2026 04:59:50 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: HSK56791 - Base: 59.99 | Cost: 29.58 [Monday 21st of September 2026 04:59:50 PM] obtain_current_prices() - Returning Motorstate prices for SKU: HSK56791 - Base: 59.99 | Cost: 29.58 [Monday 21st of September 2026 04:59:50 PM] obtain_current_prices() - END - SKU: HSK56791 [Monday 21st of September 2026 04:59:50 PM] SKU HSK56791 has existing EBMS prices - syncing BigCommerce price back (cost: 29.58, base: 59.99) [Monday 21st of September 2026 04:59:50 PM] update_product_price() - START - Product ID: 31449 | Base: 59.99 | Cost: 29.58 [Monday 21st of September 2026 04:59:50 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/31449 [Monday 21st of September 2026 04:59:50 PM] update_product_price() - PUT payload: {"price":59.99000000000000198951966012828052043914794921875,"cost_price":29.5799999999999982946974341757595539093017578125} [Monday 21st of September 2026 04:59:50 PM] update_product_price() - Attempt 1 of 6 for Product ID: 31449 [Monday 21st of September 2026 04:59:50 PM] update_product_price() - Price updated successfully for Product ID: 31449 - Base: 59.99 | Cost: 29.58 [Monday 21st of September 2026 04:59:50 PM] update_product_price() - END - Product ID: 31449 | Result: success [Monday 21st of September 2026 04:59:50 PM] BigCommerce price updated for Product ID: 31449 [Monday 21st of September 2026 04:59:50 PM] get_product_inventory() - START - SKU: HSK56791 [Monday 21st of September 2026 04:59:50 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=HSK56791 [Monday 21st of September 2026 04:59:51 PM] get_product_inventory() - Motorstate API call successful for SKU: HSK56791 [Monday 21st of September 2026 04:59:51 PM] get_product_inventory() - Stock found for SKU: HSK56791 - Quantity: 2 | Running Total: 2 [Monday 21st of September 2026 04:59:51 PM] get_product_inventory() - END - SKU: HSK56791 | Total: 2 [Monday 21st of September 2026 04:59:51 PM] get_cf_id() - START - Product ID: 31449 [Monday 21st of September 2026 04:59:51 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/31449/custom-fields [Monday 21st of September 2026 04:59:51 PM] get_cf_id() - BigCommerce API call successful for Product ID: 31449 [Monday 21st of September 2026 04:59:51 PM] get_cf_id() - Custom field found for Product ID: 31449 | Field: online_stock_level | CF ID: 31339 [Monday 21st of September 2026 04:59:51 PM] get_cf_id() - END - Product ID: 31449 | CF ID: 31339 [Monday 21st of September 2026 04:59:51 PM] Updating inventory for SKU HSK56791 - stock: 2, CF ID: 31339 [Monday 21st of September 2026 04:59:51 PM] update_product_inventory() - START - Product ID: 31449 | Stock: 2 | CF ID: 31339 [Monday 21st of September 2026 04:59:51 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/31449/custom-fields/31339 [Monday 21st of September 2026 04:59:51 PM] update_product_inventory() - Inventory updated successfully for Product ID: 31449 | Stock: 2 [Monday 21st of September 2026 04:59:51 PM] update_product_inventory() - END - Product ID: 31449 | Result: success [Monday 21st of September 2026 04:59:51 PM] Inventory updated for SKU: HSK56791 [Monday 21st of September 2026 04:59:51 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"HSK56791","M_QUAN_VIS":1,"UNIT":"59.99","UNIT_MEAS":"EA"}] [Monday 21st of September 2026 04:59:51 PM] Building payment record - Total: 85.5800 [Monday 21st of September 2026 04:59:51 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2278","ADDRESS1":"2343 vt rte 107 bethel","ADDRESS2":"","C_ADDRESS1":"2343 vt rte 107 bethel","C_ADDRESS2":"","C_CITY":"Bethel","C_COUNTRY":"USA","C_EMAIL":"ryanremerson193@gmail.com","C_NAME":"Ryan Emerson","C_STATE":"VT","C_ZIP":"05032-9111","ShippingAmount":"25.59","CITY":"Bethel","EMAIL":"ryanremerson193@gmail.com","ID":"APONLINE","NAME":"Ryan Emerson","STATE":"VT","COUNTRY":"USA","ZIP":"05032-9111","MEMO":"","DESCR":"BigCommerce Order - AP2278 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"HSK56791","M_QUAN_VIS":1,"UNIT":"59.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"85.58","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 21st of September 2026 04:59:51 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2278 [Monday 21st of September 2026 04:59:51 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2278%27 [Monday 21st of September 2026 04:59:52 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2278 [Monday 21st of September 2026 04:59:52 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2278 found in EBMS [Monday 21st of September 2026 04:59:52 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2278 | Found: true [Monday 21st of September 2026 04:59:52 PM] Invoice AP2278 already exists in EBMS - patching [Monday 21st of September 2026 04:59:52 PM] patch_ebms_invoice() - START - Invoice: AP2278 [Monday 21st of September 2026 04:59:52 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2278","ADDRESS1":"2343 vt rte 107 bethel","ADDRESS2":"","C_ADDRESS1":"2343 vt rte 107 bethel","C_ADDRESS2":"","C_CITY":"Bethel","C_COUNTRY":"USA","C_EMAIL":"ryanremerson193@gmail.com","C_NAME":"Ryan Emerson","C_STATE":"VT","C_ZIP":"05032-9111","ShippingAmount":"25.59","CITY":"Bethel","EMAIL":"ryanremerson193@gmail.com","ID":"APONLINE","NAME":"Ryan Emerson","STATE":"VT","COUNTRY":"USA","ZIP":"05032-9111","MEMO":"","DESCR":"BigCommerce Order - AP2278 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"HSK56791","M_QUAN_VIS":1,"UNIT":"59.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"85.58","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 21st of September 2026 04:59:52 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2278%27 [Monday 21st of September 2026 04:59:52 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2278 [Monday 21st of September 2026 04:59:52 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2278 [Monday 21st of September 2026 04:59:52 PM] patch_ebms_invoice() - END - Invoice: AP2278 [Monday 21st of September 2026 04:59:52 PM] Invoice AP2278 patched successfully [Monday 21st of September 2026 04:59:52 PM] ORDER WEBHOOK COMPLETED - Order ID: 2278 | Invoice: AP2278 [Monday 21st of September 2026 08:31:18 PM] ORDER WEBHOOK STARTED - Order ID: 2279 [Monday 21st of September 2026 08:31:18 PM] Fetching customer data for Order ID: 2279 [Monday 21st of September 2026 08:31:18 PM] get_order_customer_data() - START - Order ID: 2279 [Monday 21st of September 2026 08:31:18 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2279 [Monday 21st of September 2026 08:31:18 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2279 [Monday 21st of September 2026 08:31:18 PM] get_order_customer_data() - Parsing order response for Order ID: 2279 [Monday 21st of September 2026 08:31:18 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Don Sowers | Email: twogetheragain11@yahoo.com | Total: 346.7000 | Shipping: 27.70 [Monday 21st of September 2026 08:31:18 PM] get_order_customer_data() - END - Order ID: 2279 [Monday 21st of September 2026 08:31:18 PM] Customer data received: {"id":0,"email":"twogetheragain11@yahoo.com","address_1":"109 Border Dr","address_2":"","city":"Hedgesville","state":"WV","country":"USA","zip":"25427","f_name":"Don","l_name":"Sowers","contact_5":"twogetheragain11@yahoo.com","contact_1":"3046162150","contact_4":"Don Sowers"} [Monday 21st of September 2026 08:31:18 PM] Fetching shipping info for Order ID: 2279 [Monday 21st of September 2026 08:31:18 PM] get_order_shipping_info() - START - Order ID: 2279 [Monday 21st of September 2026 08:31:18 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2279/shipping_addresses [Monday 21st of September 2026 08:31:19 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2279 [Monday 21st of September 2026 08:31:19 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2279 | Name: Chuck Stuart | Address: 3012 Littlestown pike, Westminster , Maryland, 21158 [Monday 21st of September 2026 08:31:19 PM] get_order_shipping_info() - END - Order ID: 2279 [Monday 21st of September 2026 08:31:19 PM] Shipping info received: {"id":2178,"order_id":2279,"first_name":"Chuck","last_name":"Stuart","company":"","street_1":"3012 Littlestown pike","street_2":"","city":"Westminster ","zip":"21158","country":"United States","country_iso2":"US","state":"Maryland","email":"twogetheragain11@yahoo.com","phone":"4102594142","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"27.7000","cost_ex_tax":"27.7000","cost_inc_tax":"27.7000","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\/2279\/shipping_addresses\/2178\/shipping_quotes","resource":"\/orders\/2279\/shipping_addresses\/2178\/shipping_quotes"},"form_fields":[]} [Monday 21st of September 2026 08:31:19 PM] Resolved Customer ID: APONLINE [Monday 21st of September 2026 08:31:19 PM] Building order object for Invoice: AP2279 [Monday 21st of September 2026 08:31:19 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2279","ADDRESS1":"109 Border Dr","ADDRESS2":"","C_ADDRESS1":"3012 Littlestown pike","C_ADDRESS2":"","C_CITY":"Westminster ","C_COUNTRY":"USA","C_EMAIL":"twogetheragain11@yahoo.com","C_NAME":"Chuck Stuart","C_STATE":"MD","C_ZIP":"21158","ShippingAmount":"27.70","CITY":"Hedgesville","EMAIL":"twogetheragain11@yahoo.com","ID":"APONLINE","NAME":"Don Sowers","STATE":"WV","COUNTRY":"USA","ZIP":"25427","MEMO":"","DESCR":"BigCommerce Order - AP2279 - Customer APONLINE"} [Monday 21st of September 2026 08:31:19 PM] Guest checkout detected (APONLINE) - skipping customer sync [Monday 21st of September 2026 08:31:19 PM] Fetching products from BigCommerce for Order ID: 2279 [Monday 21st of September 2026 08:31:19 PM] BigCommerce API call successful for Order ID: 2279 [Monday 21st of September 2026 08:31:19 PM] Products received: 1 item(s) [Monday 21st of September 2026 08:31:19 PM] Processing product SKU: CAN65-206 | Qty: 1 | Price: 319.0000 [Monday 21st of September 2026 08:31:19 PM] get_mpn() - START - Product ID: 22979 [Monday 21st of September 2026 08:31:19 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/22979 [Monday 21st of September 2026 08:31:19 PM] get_mpn() - BigCommerce API call successful for Product ID: 22979 [Monday 21st of September 2026 08:31:19 PM] get_mpn() - WARNING - MPN is empty for Product ID: 22979 [Monday 21st of September 2026 08:31:19 PM] get_mpn() - END - Product ID: 22979 | MPN: [Monday 21st of September 2026 08:31:19 PM] check_for_ebms_product() - START - SKU: CAN65-206 [Monday 21st of September 2026 08:31:19 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27CAN65-206%27 [Monday 21st of September 2026 08:31:20 PM] check_for_ebms_product() - EBMS API call successful for SKU: CAN65-206 [Monday 21st of September 2026 08:31:20 PM] check_for_ebms_product() - SKU: CAN65-206 not found in EBMS [Monday 21st of September 2026 08:31:20 PM] check_for_ebms_product() - END - SKU: CAN65-206 | Found: false [Monday 21st of September 2026 08:31:20 PM] SKU CAN65-206 not found in EBMS - creating new part [Monday 21st of September 2026 08:31:20 PM] get_product_desc() - START - Product ID: 22979 [Monday 21st of September 2026 08:31:20 PM] get_product_desc() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/22979 [Monday 21st of September 2026 08:31:20 PM] get_product_desc() - BigCommerce API call successful for Product ID: 22979 [Monday 21st of September 2026 08:31:20 PM] get_product_desc() - Description retrieved for Product ID: 22979 - Description: Valve Cover - Tall - PCV Port - Billet Fill Cap - Hardware Included - Fabricated Aluminum - Center Bolt - Small Block Chevy - GM F-Body 1993-97 - Pair [Monday 21st of September 2026 08:31:20 PM] get_product_desc() - END - Product ID: 22979 [Monday 21st of September 2026 08:31:20 PM] get_ms_product() - START - SKU: CAN65-206 [Monday 21st of September 2026 08:31:20 PM] get_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=CAN65-206 [Monday 21st of September 2026 08:31:20 PM] get_ms_product() - Motorstate API call successful for SKU: CAN65-206 [Monday 21st of September 2026 08:31:20 PM] get_ms_product() - Product data retrieved from Motorstate for SKU: CAN65-206 - Response: [{"Found":true,"PartNumber":"CAN65-206","Product":{"PartNumber":"can65-206","VendorPartNumber":"65-206","Status":1,"IsStocking":true,"ShortDescription":"SBC Fabricated Aluminum Valve Covers","Quantity":7,"CustomerPrice":259.49055,"CustomerPriceNonPromotional":259.49055,"BasePrice":319.0,"ListPrice":319.0,"MapPrice":319.0,"IsMapRestricted":false,"CanSpecialOrder":true,"CanDropShip":true,"DropShipCharge":0.0,"SpecialOrderDetails":"","MotorStateNotes":"93-97 GM F-body.","CanRegularBackOrder":true}}] [Monday 21st of September 2026 08:31:20 PM] get_ms_product() - END - SKU: CAN65-206 [Monday 21st of September 2026 08:31:20 PM] MS pricing found for SKU CAN65-206 - base: 319, cost: 259.49055 [Monday 21st of September 2026 08:31:20 PM] create_new_part() - START - SKU: CAN65-206 | Base: 319.00 | Cost: 259.49 | Weight: 9.5500 | MPN: [Monday 21st of September 2026 08:31:20 PM] create_new_part() - Description parsed - DESCR_1: Valve Cover - Tall - PCV Port - Billet Fill Cap - Hardware Included - Fabricated | DESCR_2: Aluminum - Center Bolt - Small Block Chevy - GM F-Body 1993-97 - Pair [Monday 21st of September 2026 08:31:20 PM] create_new_part() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY [Monday 21st of September 2026 08:31:20 PM] create_new_part() - POST payload: {"ID":"CAN65-206","DESCR_1":"Valve Cover - Tall - PCV Port - Billet Fill Cap - Hardware Included - Fabricated","DESCR_2":" Aluminum - Center Bolt - Small Block Chevy - GM F-Body 1993-97 - Pair","DESCR_3":"Valve Cover - Tall - PCV Port - Billet Fill Cap - Hardware Included - Fabricated Aluminum - Center Bolt - Small Block Chevy - GM F-Body 1993-97 - Pair","DESCR_3PRN":false,"DESCR_3PRP":false,"COST":"259.49","BASE":"319.00","WEIGHT":"9.5500","MFG_PART":"","TREE_ID":"603"} [Monday 21st of September 2026 08:31:22 PM] create_new_part() - EBMS API call successful for SKU: CAN65-206 [Monday 21st of September 2026 08:31:22 PM] create_new_part() - Part created successfully in EBMS - SKU: CAN65-206 - {"id":"CAN65-206","cost":"259.49","base":"319.00","description":"Valve Cover - Tall - PCV Port - Billet Fill Cap - Hardware Included - Fabricated Aluminum - Center Bolt - Small Block Chevy - GM F-Body 1993-97 - Pair","tree_id":" 603"} [Monday 21st of September 2026 08:31:22 PM] create_new_part() - Sending new part notification email for SKU: CAN65-206 [Monday 21st of September 2026 08:31:22 PM] create_new_part() - Notification email sent successfully for SKU: CAN65-206 [Monday 21st of September 2026 08:31:22 PM] create_new_part() - END - SKU: CAN65-206 [Monday 21st of September 2026 08:31:22 PM] New part created in EBMS for SKU: CAN65-206 [Monday 21st of September 2026 08:31:22 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"CAN65-206","M_QUAN_VIS":1,"UNIT":"319.00","UNIT_MEAS":"EA"}] [Monday 21st of September 2026 08:31:22 PM] Building payment record - Total: 346.7000 [Monday 21st of September 2026 08:31:22 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2279","ADDRESS1":"109 Border Dr","ADDRESS2":"","C_ADDRESS1":"3012 Littlestown pike","C_ADDRESS2":"","C_CITY":"Westminster ","C_COUNTRY":"USA","C_EMAIL":"twogetheragain11@yahoo.com","C_NAME":"Chuck Stuart","C_STATE":"MD","C_ZIP":"21158","ShippingAmount":"27.70","CITY":"Hedgesville","EMAIL":"twogetheragain11@yahoo.com","ID":"APONLINE","NAME":"Don Sowers","STATE":"WV","COUNTRY":"USA","ZIP":"25427","MEMO":"","DESCR":"BigCommerce Order - AP2279 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"CAN65-206","M_QUAN_VIS":1,"UNIT":"319.00","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"346.70","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 21st of September 2026 08:31:22 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2279 [Monday 21st of September 2026 08:31:22 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2279%27 [Monday 21st of September 2026 08:31:23 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2279 [Monday 21st of September 2026 08:31:23 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2279 not found in EBMS [Monday 21st of September 2026 08:31:23 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2279 | Found: false [Monday 21st of September 2026 08:31:23 PM] Invoice AP2279 does not exist in EBMS - creating [Monday 21st of September 2026 08:31:23 PM] create_ebms_invoice() - START - Invoice: AP2279 [Monday 21st of September 2026 08:31:23 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2279","ADDRESS1":"109 Border Dr","ADDRESS2":"","C_ADDRESS1":"3012 Littlestown pike","C_ADDRESS2":"","C_CITY":"Westminster ","C_COUNTRY":"USA","C_EMAIL":"twogetheragain11@yahoo.com","C_NAME":"Chuck Stuart","C_STATE":"MD","C_ZIP":"21158","ShippingAmount":"27.70","CITY":"Hedgesville","EMAIL":"twogetheragain11@yahoo.com","ID":"APONLINE","NAME":"Don Sowers","STATE":"WV","COUNTRY":"USA","ZIP":"25427","MEMO":"","DESCR":"BigCommerce Order - AP2279 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"CAN65-206","M_QUAN_VIS":1,"UNIT":"319.00","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"346.70","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 21st of September 2026 08:31:23 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Monday 21st of September 2026 08:31:29 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2279 [Monday 21st of September 2026 08:31:29 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2279 - Response: {"@odata.context":"http:\/\/localhost:60155\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"424f4e41-3649-3333-484b-555632303030","AUTOID":"ANOBI633HKUV2000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-319,"BAL_CUST_X":-319,"BALANCE":-319,"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":346.69999999999998863131622783839702606201171875,"TOTAL_S_SO":319,"TOTAL_SO":346.69999999999998863131622783839702606201171875,"TOTAL_W":0,"TTLPROCPMT":346.69999999999998863131622783839702606201171875,"TOTAL":27.699999999999999289457264239899814128875732421875,"FREIGHT":27.699999999999999289457264239899814128875732421875,"HANDLING":0,"SHIPPING":27.699999999999999289457264239899814128875732421875,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"109 Border Dr","ADDRESS2":"","C_EMAIL":"twogetheragain11@yahoo.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-09-21T00:00:00Z","CHECK_NO":" APBC","CITY":"Hedgesville","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-09-21T00:00:00Z","E_DATE":"2026-09-21T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"twogetheragain11@yahoo.com","IADDRESS":"3012 Littlestown pike , Westminster, MD 21158","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-09-21T00:00:00Z","INVOICE":"AP2279","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"Don Sowers","PHONE":"","PROCESS":"Default","STATE":"WV","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"25427","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"3012 Littlestown pike","C_ADDRESS2":"","C_CITY":"Westminster","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"Chuck Stuart","C_STATE":"MD","C_ZIP":"21158","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2279 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-09-21T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Monday 21st of September 2026 08:31:29 PM] create_ebms_invoice() - END - Invoice: AP2279 [Monday 21st of September 2026 08:31:29 PM] Invoice AP2279 created successfully [Monday 21st of September 2026 08:31:29 PM] ORDER WEBHOOK COMPLETED - Order ID: 2279 | Invoice: AP2279 [Monday 21st of September 2026 08:32:28 PM] ORDER WEBHOOK STARTED - Order ID: 2279 [Monday 21st of September 2026 08:32:28 PM] Fetching customer data for Order ID: 2279 [Monday 21st of September 2026 08:32:28 PM] get_order_customer_data() - START - Order ID: 2279 [Monday 21st of September 2026 08:32:28 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2279 [Monday 21st of September 2026 08:32:28 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2279 [Monday 21st of September 2026 08:32:28 PM] get_order_customer_data() - Parsing order response for Order ID: 2279 [Monday 21st of September 2026 08:32:28 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Don Sowers | Email: twogetheragain11@yahoo.com | Total: 346.7000 | Shipping: 27.70 [Monday 21st of September 2026 08:32:28 PM] get_order_customer_data() - END - Order ID: 2279 [Monday 21st of September 2026 08:32:28 PM] Customer data received: {"id":0,"email":"twogetheragain11@yahoo.com","address_1":"109 Border Dr","address_2":"","city":"Hedgesville","state":"WV","country":"USA","zip":"25427","f_name":"Don","l_name":"Sowers","contact_5":"twogetheragain11@yahoo.com","contact_1":"3046162150","contact_4":"Don Sowers"} [Monday 21st of September 2026 08:32:28 PM] Fetching shipping info for Order ID: 2279 [Monday 21st of September 2026 08:32:28 PM] get_order_shipping_info() - START - Order ID: 2279 [Monday 21st of September 2026 08:32:28 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2279/shipping_addresses [Monday 21st of September 2026 08:32:29 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2279 [Monday 21st of September 2026 08:32:29 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2279 | Name: Chuck Stuart | Address: 3012 Littlestown pike, Westminster , Maryland, 21158 [Monday 21st of September 2026 08:32:29 PM] get_order_shipping_info() - END - Order ID: 2279 [Monday 21st of September 2026 08:32:29 PM] Shipping info received: {"id":2178,"order_id":2279,"first_name":"Chuck","last_name":"Stuart","company":"","street_1":"3012 Littlestown pike","street_2":"","city":"Westminster ","zip":"21158","country":"United States","country_iso2":"US","state":"Maryland","email":"twogetheragain11@yahoo.com","phone":"4102594142","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"27.7000","cost_ex_tax":"27.7000","cost_inc_tax":"27.7000","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\/2279\/shipping_addresses\/2178\/shipping_quotes","resource":"\/orders\/2279\/shipping_addresses\/2178\/shipping_quotes"},"form_fields":[]} [Monday 21st of September 2026 08:32:29 PM] Resolved Customer ID: APONLINE [Monday 21st of September 2026 08:32:29 PM] Building order object for Invoice: AP2279 [Monday 21st of September 2026 08:32:29 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2279","ADDRESS1":"109 Border Dr","ADDRESS2":"","C_ADDRESS1":"3012 Littlestown pike","C_ADDRESS2":"","C_CITY":"Westminster ","C_COUNTRY":"USA","C_EMAIL":"twogetheragain11@yahoo.com","C_NAME":"Chuck Stuart","C_STATE":"MD","C_ZIP":"21158","ShippingAmount":"27.70","CITY":"Hedgesville","EMAIL":"twogetheragain11@yahoo.com","ID":"APONLINE","NAME":"Don Sowers","STATE":"WV","COUNTRY":"USA","ZIP":"25427","MEMO":"","DESCR":"BigCommerce Order - AP2279 - Customer APONLINE"} [Monday 21st of September 2026 08:32:29 PM] Guest checkout detected (APONLINE) - skipping customer sync [Monday 21st of September 2026 08:32:29 PM] Fetching products from BigCommerce for Order ID: 2279 [Monday 21st of September 2026 08:32:29 PM] BigCommerce API call successful for Order ID: 2279 [Monday 21st of September 2026 08:32:29 PM] Products received: 1 item(s) [Monday 21st of September 2026 08:32:29 PM] Processing product SKU: CAN65-206 | Qty: 1 | Price: 319.0000 [Monday 21st of September 2026 08:32:29 PM] get_mpn() - START - Product ID: 22979 [Monday 21st of September 2026 08:32:29 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/22979 [Monday 21st of September 2026 08:32:29 PM] get_mpn() - BigCommerce API call successful for Product ID: 22979 [Monday 21st of September 2026 08:32:29 PM] get_mpn() - WARNING - MPN is empty for Product ID: 22979 [Monday 21st of September 2026 08:32:29 PM] get_mpn() - END - Product ID: 22979 | MPN: [Monday 21st of September 2026 08:32:29 PM] check_for_ebms_product() - START - SKU: CAN65-206 [Monday 21st of September 2026 08:32:29 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27CAN65-206%27 [Monday 21st of September 2026 08:32:29 PM] check_for_ebms_product() - EBMS API call successful for SKU: CAN65-206 [Monday 21st of September 2026 08:32:29 PM] check_for_ebms_product() - SKU: CAN65-206 found in EBMS [Monday 21st of September 2026 08:32:29 PM] check_for_ebms_product() - END - SKU: CAN65-206 | Found: true [Monday 21st of September 2026 08:32:29 PM] SKU CAN65-206 found in EBMS - checking prices [Monday 21st of September 2026 08:32:29 PM] obtain_current_prices() - START - SKU: CAN65-206 [Monday 21st of September 2026 08:32:29 PM] obtain_current_prices() - Checking Motorstate for SKU: CAN65-206 [Monday 21st of September 2026 08:32:29 PM] check_for_ms_product() - START - SKU: CAN65-206 [Monday 21st of September 2026 08:32:29 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=CAN65-206 [Monday 21st of September 2026 08:32:30 PM] check_for_ms_product() - Motorstate API call successful for SKU: CAN65-206 [Monday 21st of September 2026 08:32:30 PM] check_for_ms_product() - SKU: CAN65-206 found in Motorstate [Monday 21st of September 2026 08:32:30 PM] check_for_ms_product() - END - SKU: CAN65-206 | Found: true [Monday 21st of September 2026 08:32:30 PM] obtain_current_prices() - SKU: CAN65-206 found in Motorstate - Fetching prices [Monday 21st of September 2026 08:32:30 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: CAN65-206 - URL: https://api.motorstate.com/api/Product?partNumbers=CAN65-206 [Monday 21st of September 2026 08:32:30 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: CAN65-206 - Base: 319.00 | Cost: 259.49 [Monday 21st of September 2026 08:32:30 PM] obtain_current_prices() - Returning Motorstate prices for SKU: CAN65-206 - Base: 319.00 | Cost: 259.49 [Monday 21st of September 2026 08:32:30 PM] obtain_current_prices() - END - SKU: CAN65-206 [Monday 21st of September 2026 08:32:30 PM] SKU CAN65-206 has existing EBMS prices - syncing BigCommerce price back (cost: 259.49, base: 319.00) [Monday 21st of September 2026 08:32:30 PM] update_product_price() - START - Product ID: 22979 | Base: 319 | Cost: 259.49 [Monday 21st of September 2026 08:32:30 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/22979 [Monday 21st of September 2026 08:32:30 PM] update_product_price() - PUT payload: {"price":319.0,"cost_price":259.490000000000009094947017729282379150390625} [Monday 21st of September 2026 08:32:30 PM] update_product_price() - Attempt 1 of 6 for Product ID: 22979 [Monday 21st of September 2026 08:32:30 PM] update_product_price() - Price updated successfully for Product ID: 22979 - Base: 319 | Cost: 259.49 [Monday 21st of September 2026 08:32:30 PM] update_product_price() - END - Product ID: 22979 | Result: success [Monday 21st of September 2026 08:32:30 PM] BigCommerce price updated for Product ID: 22979 [Monday 21st of September 2026 08:32:30 PM] get_product_inventory() - START - SKU: CAN65-206 [Monday 21st of September 2026 08:32:30 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=CAN65-206 [Monday 21st of September 2026 08:32:30 PM] get_product_inventory() - Motorstate API call successful for SKU: CAN65-206 [Monday 21st of September 2026 08:32:30 PM] get_product_inventory() - Stock found for SKU: CAN65-206 - Quantity: 7 | Running Total: 7 [Monday 21st of September 2026 08:32:30 PM] get_product_inventory() - END - SKU: CAN65-206 | Total: 7 [Monday 21st of September 2026 08:32:30 PM] get_cf_id() - START - Product ID: 22979 [Monday 21st of September 2026 08:32:30 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/22979/custom-fields [Monday 21st of September 2026 08:32:30 PM] get_cf_id() - BigCommerce API call successful for Product ID: 22979 [Monday 21st of September 2026 08:32:30 PM] get_cf_id() - Custom field found for Product ID: 22979 | Field: online_stock_level | CF ID: 22869 [Monday 21st of September 2026 08:32:30 PM] get_cf_id() - END - Product ID: 22979 | CF ID: 22869 [Monday 21st of September 2026 08:32:30 PM] Updating inventory for SKU CAN65-206 - stock: 7, CF ID: 22869 [Monday 21st of September 2026 08:32:30 PM] update_product_inventory() - START - Product ID: 22979 | Stock: 7 | CF ID: 22869 [Monday 21st of September 2026 08:32:30 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/22979/custom-fields/22869 [Monday 21st of September 2026 08:32:31 PM] update_product_inventory() - Inventory updated successfully for Product ID: 22979 | Stock: 7 [Monday 21st of September 2026 08:32:31 PM] update_product_inventory() - END - Product ID: 22979 | Result: success [Monday 21st of September 2026 08:32:31 PM] Inventory updated for SKU: CAN65-206 [Monday 21st of September 2026 08:32:31 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"CAN65-206","M_QUAN_VIS":1,"UNIT":"319.00","UNIT_MEAS":"EA"}] [Monday 21st of September 2026 08:32:31 PM] Building payment record - Total: 346.7000 [Monday 21st of September 2026 08:32:31 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2279","ADDRESS1":"109 Border Dr","ADDRESS2":"","C_ADDRESS1":"3012 Littlestown pike","C_ADDRESS2":"","C_CITY":"Westminster ","C_COUNTRY":"USA","C_EMAIL":"twogetheragain11@yahoo.com","C_NAME":"Chuck Stuart","C_STATE":"MD","C_ZIP":"21158","ShippingAmount":"27.70","CITY":"Hedgesville","EMAIL":"twogetheragain11@yahoo.com","ID":"APONLINE","NAME":"Don Sowers","STATE":"WV","COUNTRY":"USA","ZIP":"25427","MEMO":"","DESCR":"BigCommerce Order - AP2279 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"CAN65-206","M_QUAN_VIS":1,"UNIT":"319.00","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"346.70","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 21st of September 2026 08:32:31 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2279 [Monday 21st of September 2026 08:32:31 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2279%27 [Monday 21st of September 2026 08:32:31 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2279 [Monday 21st of September 2026 08:32:31 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2279 found in EBMS [Monday 21st of September 2026 08:32:31 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2279 | Found: true [Monday 21st of September 2026 08:32:31 PM] Invoice AP2279 already exists in EBMS - patching [Monday 21st of September 2026 08:32:31 PM] patch_ebms_invoice() - START - Invoice: AP2279 [Monday 21st of September 2026 08:32:31 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2279","ADDRESS1":"109 Border Dr","ADDRESS2":"","C_ADDRESS1":"3012 Littlestown pike","C_ADDRESS2":"","C_CITY":"Westminster ","C_COUNTRY":"USA","C_EMAIL":"twogetheragain11@yahoo.com","C_NAME":"Chuck Stuart","C_STATE":"MD","C_ZIP":"21158","ShippingAmount":"27.70","CITY":"Hedgesville","EMAIL":"twogetheragain11@yahoo.com","ID":"APONLINE","NAME":"Don Sowers","STATE":"WV","COUNTRY":"USA","ZIP":"25427","MEMO":"","DESCR":"BigCommerce Order - AP2279 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"CAN65-206","M_QUAN_VIS":1,"UNIT":"319.00","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"346.70","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 21st of September 2026 08:32:31 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2279%27 [Monday 21st of September 2026 08:32:31 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2279 [Monday 21st of September 2026 08:32:31 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2279 [Monday 21st of September 2026 08:32:31 PM] patch_ebms_invoice() - END - Invoice: AP2279 [Monday 21st of September 2026 08:32:31 PM] Invoice AP2279 patched successfully [Monday 21st of September 2026 08:32:32 PM] ORDER WEBHOOK COMPLETED - Order ID: 2279 | Invoice: AP2279