[Friday 12th of June 2026 08:12:34 AM] ORDER WEBHOOK STARTED - Order ID: 1922 [Friday 12th of June 2026 08:12:34 AM] Fetching customer data for Order ID: 1922 [Friday 12th of June 2026 08:12:34 AM] get_order_customer_data() - START - Order ID: 1922 [Friday 12th of June 2026 08:12:34 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1922 [Friday 12th of June 2026 08:12:34 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1922 [Friday 12th of June 2026 08:12:34 AM] get_order_customer_data() - Parsing order response for Order ID: 1922 [Friday 12th of June 2026 08:12:34 AM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Bradley Walsh | Email: brad@bradsgolfcars.com | Total: 239.0600 | Shipping: 26.09 [Friday 12th of June 2026 08:12:34 AM] get_order_customer_data() - END - Order ID: 1922 [Friday 12th of June 2026 08:12:34 AM] Customer data received: {"id":0,"email":"brad@bradsgolfcars.com","address_1":"5515 Reidsville Rd","address_2":"","city":"Belews Creek","state":"NC","country":"USA","zip":"27009","f_name":"Bradley","l_name":"Walsh","contact_5":"brad@bradsgolfcars.com","contact_1":"336-595-2006","contact_4":"Bradley Walsh"} [Friday 12th of June 2026 08:12:34 AM] Fetching shipping info for Order ID: 1922 [Friday 12th of June 2026 08:12:34 AM] get_order_shipping_info() - START - Order ID: 1922 [Friday 12th of June 2026 08:12:34 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1922/shipping_addresses [Friday 12th of June 2026 08:12:35 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1922 [Friday 12th of June 2026 08:12:35 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1922 | Name: Bradley Walsh | Address: 5515 Reidsville Rd, Belews Creek, North Carolina, 27009 [Friday 12th of June 2026 08:12:35 AM] get_order_shipping_info() - END - Order ID: 1922 [Friday 12th of June 2026 08:12:35 AM] Shipping info received: {"id":1821,"order_id":1922,"first_name":"Bradley","last_name":"Walsh","company":"Brad's Golf Cars","street_1":"5515 Reidsville Rd","street_2":"","city":"Belews Creek","zip":"27009","country":"United States","country_iso2":"US","state":"North Carolina","email":"brad@bradsgolfcars.com","phone":"336-595-2006","items_total":3,"items_shipped":0,"shipping_method":"FedEx Ground \u00ae","base_cost":"26.0900","cost_ex_tax":"26.0900","cost_inc_tax":"26.0900","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":1,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/1922\/shipping_addresses\/1821\/shipping_quotes","resource":"\/orders\/1922\/shipping_addresses\/1821\/shipping_quotes"},"form_fields":[]} [Friday 12th of June 2026 08:12:35 AM] Resolved Customer ID: APONLINE [Friday 12th of June 2026 08:12:35 AM] Building order object for Invoice: AP1922 [Friday 12th of June 2026 08:12:35 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1922","ADDRESS1":"5515 Reidsville Rd","ADDRESS2":"","C_ADDRESS1":"5515 Reidsville Rd","C_ADDRESS2":"","C_CITY":"Belews Creek","C_COUNTRY":"USA","C_EMAIL":"brad@bradsgolfcars.com","C_NAME":"Bradley Walsh","C_STATE":"NC","C_ZIP":"27009","ShippingAmount":"26.09","CITY":"Belews Creek","EMAIL":"brad@bradsgolfcars.com","ID":"APONLINE","NAME":"Bradley Walsh","STATE":"NC","COUNTRY":"USA","ZIP":"27009","MEMO":"","DESCR":"BigCommerce Order - AP1922 - Customer APONLINE"} [Friday 12th of June 2026 08:12:35 AM] Guest checkout detected (APONLINE) - skipping customer sync [Friday 12th of June 2026 08:12:35 AM] Fetching products from BigCommerce for Order ID: 1922 [Friday 12th of June 2026 08:12:35 AM] BigCommerce API call successful for Order ID: 1922 [Friday 12th of June 2026 08:12:35 AM] Products received: 1 item(s) [Friday 12th of June 2026 08:12:35 AM] Processing product SKU: TAN56200 | Qty: 3 | Price: 70.9900 [Friday 12th of June 2026 08:12:35 AM] get_mpn() - START - Product ID: 84552 [Friday 12th of June 2026 08:12:35 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/84552 [Friday 12th of June 2026 08:12:35 AM] get_mpn() - BigCommerce API call successful for Product ID: 84552 [Friday 12th of June 2026 08:12:35 AM] get_mpn() - WARNING - MPN is empty for Product ID: 84552 [Friday 12th of June 2026 08:12:35 AM] get_mpn() - END - Product ID: 84552 | MPN: [Friday 12th of June 2026 08:12:35 AM] check_for_ebms_product() - START - SKU: TAN56200 [Friday 12th of June 2026 08:12:35 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27TAN56200%27 [Friday 12th of June 2026 08:12:35 AM] check_for_ebms_product() - EBMS API call successful for SKU: TAN56200 [Friday 12th of June 2026 08:12:35 AM] check_for_ebms_product() - SKU: TAN56200 not found in EBMS [Friday 12th of June 2026 08:12:35 AM] check_for_ebms_product() - END - SKU: TAN56200 | Found: false [Friday 12th of June 2026 08:12:35 AM] SKU TAN56200 not found in EBMS - creating new part [Friday 12th of June 2026 08:12:35 AM] get_product_desc() - START - Product ID: 84552 [Friday 12th of June 2026 08:12:35 AM] get_product_desc() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/84552 [Friday 12th of June 2026 08:12:35 AM] get_product_desc() - BigCommerce API call successful for Product ID: 84552 [Friday 12th of June 2026 08:12:35 AM] get_product_desc() - Description retrieved for Product ID: 84552 - Description: Toe-In Plates - 2 Plates - 2 Tape Measures - Aluminum - Blue Anodized - Kit [Friday 12th of June 2026 08:12:35 AM] get_product_desc() - END - Product ID: 84552 [Friday 12th of June 2026 08:12:35 AM] get_ms_product() - START - SKU: TAN56200 [Friday 12th of June 2026 08:12:35 AM] get_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=TAN56200 [Friday 12th of June 2026 08:12:35 AM] get_ms_product() - Motorstate API call successful for SKU: TAN56200 [Friday 12th of June 2026 08:12:35 AM] get_ms_product() - Product data retrieved from Motorstate for SKU: TAN56200 - Response: [{"Found":true,"PartNumber":"TAN56200","Product":{"PartNumber":"tan56200","VendorPartNumber":"56200","Status":1,"IsStocking":true,"ShortDescription":"Deluxe Toe Plate Kit ","Quantity":3,"CustomerPrice":67.4400,"CustomerPriceNonPromotional":67.4400,"BasePrice":67.44,"ListPrice":70.99,"MapPrice":69.46,"IsMapRestricted":false,"CanSpecialOrder":true,"CanDropShip":true,"DropShipCharge":0.0,"SpecialOrderDetails":"","MotorStateNotes":"THESE ARE MADE OF THINNER MATERIAL THAN THE ALLSTAR 10117,\r\nBUT THE TANNERS COME WITH A TAPE MEASURE.","CanRegularBackOrder":true}}] [Friday 12th of June 2026 08:12:35 AM] get_ms_product() - END - SKU: TAN56200 [Friday 12th of June 2026 08:12:35 AM] MS pricing found for SKU TAN56200 - base: 70.99, cost: 67.44 [Friday 12th of June 2026 08:12:35 AM] create_new_part() - START - SKU: TAN56200 | Base: 70.99 | Cost: 67.44 | Weight: 3.9900 | MPN: [Friday 12th of June 2026 08:12:35 AM] create_new_part() - Description parsed - DESCR_1: Toe-In Plates - 2 Plates - 2 Tape Measures - Aluminum - Blue Anodized - Kit | DESCR_2: [Friday 12th of June 2026 08:12:35 AM] create_new_part() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY [Friday 12th of June 2026 08:12:35 AM] create_new_part() - POST payload: {"ID":"TAN56200","DESCR_1":"Toe-In Plates - 2 Plates - 2 Tape Measures - Aluminum - Blue Anodized - Kit","DESCR_2":"","DESCR_3":"Toe-In Plates - 2 Plates - 2 Tape Measures - Aluminum - Blue Anodized - Kit","DESCR_3PRN":false,"DESCR_3PRP":false,"COST":"67.44","BASE":"70.99","WEIGHT":"3.9900","MFG_PART":"","TREE_ID":"603"} [Friday 12th of June 2026 08:12:38 AM] create_new_part() - EBMS API call successful for SKU: TAN56200 [Friday 12th of June 2026 08:12:38 AM] create_new_part() - Part created successfully in EBMS - SKU: TAN56200 - {"id":"TAN56200","cost":"67.44","base":"70.99","description":"Toe-In Plates - 2 Plates - 2 Tape Measures - Aluminum - Blue Anodized - Kit","tree_id":" 603"} [Friday 12th of June 2026 08:12:38 AM] create_new_part() - Sending new part notification email for SKU: TAN56200 [Friday 12th of June 2026 08:12:38 AM] create_new_part() - Notification email sent successfully for SKU: TAN56200 [Friday 12th of June 2026 08:12:38 AM] create_new_part() - END - SKU: TAN56200 [Friday 12th of June 2026 08:12:38 AM] New part created in EBMS for SKU: TAN56200 [Friday 12th of June 2026 08:12:38 AM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"TAN56200","M_QUAN_VIS":3,"UNIT":"70.99","UNIT_MEAS":"EA"}] [Friday 12th of June 2026 08:12:38 AM] Building payment record - Total: 239.0600 [Friday 12th of June 2026 08:12:38 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1922","ADDRESS1":"5515 Reidsville Rd","ADDRESS2":"","C_ADDRESS1":"5515 Reidsville Rd","C_ADDRESS2":"","C_CITY":"Belews Creek","C_COUNTRY":"USA","C_EMAIL":"brad@bradsgolfcars.com","C_NAME":"Bradley Walsh","C_STATE":"NC","C_ZIP":"27009","ShippingAmount":"26.09","CITY":"Belews Creek","EMAIL":"brad@bradsgolfcars.com","ID":"APONLINE","NAME":"Bradley Walsh","STATE":"NC","COUNTRY":"USA","ZIP":"27009","MEMO":"","DESCR":"BigCommerce Order - AP1922 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"TAN56200","M_QUAN_VIS":3,"UNIT":"70.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"239.06","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 12th of June 2026 08:12:38 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1922 [Friday 12th of June 2026 08:12:38 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1922%27 [Friday 12th of June 2026 08:12:38 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1922 [Friday 12th of June 2026 08:12:38 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1922 not found in EBMS [Friday 12th of June 2026 08:12:38 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1922 | Found: false [Friday 12th of June 2026 08:12:38 AM] Invoice AP1922 does not exist in EBMS - creating [Friday 12th of June 2026 08:12:38 AM] create_ebms_invoice() - START - Invoice: AP1922 [Friday 12th of June 2026 08:12:38 AM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1922","ADDRESS1":"5515 Reidsville Rd","ADDRESS2":"","C_ADDRESS1":"5515 Reidsville Rd","C_ADDRESS2":"","C_CITY":"Belews Creek","C_COUNTRY":"USA","C_EMAIL":"brad@bradsgolfcars.com","C_NAME":"Bradley Walsh","C_STATE":"NC","C_ZIP":"27009","ShippingAmount":"26.09","CITY":"Belews Creek","EMAIL":"brad@bradsgolfcars.com","ID":"APONLINE","NAME":"Bradley Walsh","STATE":"NC","COUNTRY":"USA","ZIP":"27009","MEMO":"","DESCR":"BigCommerce Order - AP1922 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"TAN56200","M_QUAN_VIS":3,"UNIT":"70.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"239.06","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 12th of June 2026 08:12:38 AM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Friday 12th of June 2026 08:12:45 AM] create_ebms_invoice() - EBMS API call successful for Invoice: AP1922 [Friday 12th of June 2026 08:12:45 AM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP1922 - Response: {"@odata.context":"http:\/\/localhost:50559\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"334d5554-3748-474e-3345-444237303030","AUTOID":"TUM3H7NG3EDB7000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-212.969999999999998863131622783839702606201171875,"BAL_CUST_X":-212.969999999999998863131622783839702606201171875,"BALANCE":-212.969999999999998863131622783839702606201171875,"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":239.06000000000000227373675443232059478759765625,"TOTAL_S_SO":212.969999999999998863131622783839702606201171875,"TOTAL_SO":239.06000000000000227373675443232059478759765625,"TOTAL_W":0,"TTLPROCPMT":239.06000000000000227373675443232059478759765625,"TOTAL":26.089999999999999857891452847979962825775146484375,"FREIGHT":26.089999999999999857891452847979962825775146484375,"HANDLING":0,"SHIPPING":26.089999999999999857891452847979962825775146484375,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"5515 Reidsville Rd","ADDRESS2":"","C_EMAIL":"brad@bradsgolfcars.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-06-12T00:00:00Z","CHECK_NO":" APBC","CITY":"Belews Creek","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-06-12T00:00:00Z","E_DATE":"2026-06-12T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"brad@bradsgolfcars.com","IADDRESS":"5515 Reidsville Rd , Belews Creek, NC 27009","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-06-12T00:00:00Z","INVOICE":"AP1922","MAN_TAX":false,"NAME":"Bradley Walsh","PHONE":"","PROCESS":"Default","STATE":"NC","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"27009","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"5515 Reidsville Rd","C_ADDRESS2":"","C_CITY":"Belews Creek","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"Bradley Walsh","C_STATE":"NC","C_ZIP":"27009","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP1922 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-06-12T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Friday 12th of June 2026 08:12:45 AM] create_ebms_invoice() - END - Invoice: AP1922 [Friday 12th of June 2026 08:12:45 AM] Invoice AP1922 created successfully [Friday 12th of June 2026 08:12:45 AM] ORDER WEBHOOK COMPLETED - Order ID: 1922 | Invoice: AP1922 [Friday 12th of June 2026 08:13:44 AM] ORDER WEBHOOK STARTED - Order ID: 1922 [Friday 12th of June 2026 08:13:44 AM] Fetching customer data for Order ID: 1922 [Friday 12th of June 2026 08:13:44 AM] get_order_customer_data() - START - Order ID: 1922 [Friday 12th of June 2026 08:13:44 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1922 [Friday 12th of June 2026 08:13:45 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1922 [Friday 12th of June 2026 08:13:45 AM] get_order_customer_data() - Parsing order response for Order ID: 1922 [Friday 12th of June 2026 08:13:45 AM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Bradley Walsh | Email: brad@bradsgolfcars.com | Total: 239.0600 | Shipping: 26.09 [Friday 12th of June 2026 08:13:45 AM] get_order_customer_data() - END - Order ID: 1922 [Friday 12th of June 2026 08:13:45 AM] Customer data received: {"id":0,"email":"brad@bradsgolfcars.com","address_1":"5515 Reidsville Rd","address_2":"","city":"Belews Creek","state":"NC","country":"USA","zip":"27009","f_name":"Bradley","l_name":"Walsh","contact_5":"brad@bradsgolfcars.com","contact_1":"336-595-2006","contact_4":"Bradley Walsh"} [Friday 12th of June 2026 08:13:45 AM] Fetching shipping info for Order ID: 1922 [Friday 12th of June 2026 08:13:45 AM] get_order_shipping_info() - START - Order ID: 1922 [Friday 12th of June 2026 08:13:45 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1922/shipping_addresses [Friday 12th of June 2026 08:13:45 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1922 [Friday 12th of June 2026 08:13:45 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1922 | Name: Bradley Walsh | Address: 5515 Reidsville Rd, Belews Creek, North Carolina, 27009 [Friday 12th of June 2026 08:13:45 AM] get_order_shipping_info() - END - Order ID: 1922 [Friday 12th of June 2026 08:13:45 AM] Shipping info received: {"id":1821,"order_id":1922,"first_name":"Bradley","last_name":"Walsh","company":"Brad's Golf Cars","street_1":"5515 Reidsville Rd","street_2":"","city":"Belews Creek","zip":"27009","country":"United States","country_iso2":"US","state":"North Carolina","email":"brad@bradsgolfcars.com","phone":"336-595-2006","items_total":3,"items_shipped":0,"shipping_method":"FedEx Ground \u00ae","base_cost":"26.0900","cost_ex_tax":"26.0900","cost_inc_tax":"26.0900","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":1,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/1922\/shipping_addresses\/1821\/shipping_quotes","resource":"\/orders\/1922\/shipping_addresses\/1821\/shipping_quotes"},"form_fields":[]} [Friday 12th of June 2026 08:13:45 AM] Resolved Customer ID: APONLINE [Friday 12th of June 2026 08:13:45 AM] Building order object for Invoice: AP1922 [Friday 12th of June 2026 08:13:45 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1922","ADDRESS1":"5515 Reidsville Rd","ADDRESS2":"","C_ADDRESS1":"5515 Reidsville Rd","C_ADDRESS2":"","C_CITY":"Belews Creek","C_COUNTRY":"USA","C_EMAIL":"brad@bradsgolfcars.com","C_NAME":"Bradley Walsh","C_STATE":"NC","C_ZIP":"27009","ShippingAmount":"26.09","CITY":"Belews Creek","EMAIL":"brad@bradsgolfcars.com","ID":"APONLINE","NAME":"Bradley Walsh","STATE":"NC","COUNTRY":"USA","ZIP":"27009","MEMO":"","DESCR":"BigCommerce Order - AP1922 - Customer APONLINE"} [Friday 12th of June 2026 08:13:45 AM] Guest checkout detected (APONLINE) - skipping customer sync [Friday 12th of June 2026 08:13:45 AM] Fetching products from BigCommerce for Order ID: 1922 [Friday 12th of June 2026 08:13:45 AM] BigCommerce API call successful for Order ID: 1922 [Friday 12th of June 2026 08:13:45 AM] Products received: 1 item(s) [Friday 12th of June 2026 08:13:45 AM] Processing product SKU: TAN56200 | Qty: 3 | Price: 70.9900 [Friday 12th of June 2026 08:13:45 AM] get_mpn() - START - Product ID: 84552 [Friday 12th of June 2026 08:13:45 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/84552 [Friday 12th of June 2026 08:13:45 AM] get_mpn() - BigCommerce API call successful for Product ID: 84552 [Friday 12th of June 2026 08:13:45 AM] get_mpn() - WARNING - MPN is empty for Product ID: 84552 [Friday 12th of June 2026 08:13:45 AM] get_mpn() - END - Product ID: 84552 | MPN: [Friday 12th of June 2026 08:13:45 AM] check_for_ebms_product() - START - SKU: TAN56200 [Friday 12th of June 2026 08:13:45 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27TAN56200%27 [Friday 12th of June 2026 08:13:46 AM] check_for_ebms_product() - EBMS API call successful for SKU: TAN56200 [Friday 12th of June 2026 08:13:46 AM] check_for_ebms_product() - SKU: TAN56200 found in EBMS [Friday 12th of June 2026 08:13:46 AM] check_for_ebms_product() - END - SKU: TAN56200 | Found: true [Friday 12th of June 2026 08:13:46 AM] SKU TAN56200 found in EBMS - checking prices [Friday 12th of June 2026 08:13:46 AM] obtain_current_prices() - START - SKU: TAN56200 [Friday 12th of June 2026 08:13:46 AM] obtain_current_prices() - Checking Motorstate for SKU: TAN56200 [Friday 12th of June 2026 08:13:46 AM] check_for_ms_product() - START - SKU: TAN56200 [Friday 12th of June 2026 08:13:46 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=TAN56200 [Friday 12th of June 2026 08:13:46 AM] check_for_ms_product() - Motorstate API call successful for SKU: TAN56200 [Friday 12th of June 2026 08:13:46 AM] check_for_ms_product() - SKU: TAN56200 found in Motorstate [Friday 12th of June 2026 08:13:46 AM] check_for_ms_product() - END - SKU: TAN56200 | Found: true [Friday 12th of June 2026 08:13:46 AM] obtain_current_prices() - SKU: TAN56200 found in Motorstate - Fetching prices [Friday 12th of June 2026 08:13:46 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: TAN56200 - URL: https://api.motorstate.com/api/Product?partNumbers=TAN56200 [Friday 12th of June 2026 08:13:46 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: TAN56200 - Base: 70.99 | Cost: 67.44 [Friday 12th of June 2026 08:13:46 AM] obtain_current_prices() - Returning Motorstate prices for SKU: TAN56200 - Base: 70.99 | Cost: 67.44 [Friday 12th of June 2026 08:13:46 AM] obtain_current_prices() - END - SKU: TAN56200 [Friday 12th of June 2026 08:13:46 AM] SKU TAN56200 has existing EBMS prices - syncing BigCommerce price back (cost: 67.44, base: 70.99) [Friday 12th of June 2026 08:13:46 AM] update_product_price() - START - Product ID: 84552 | Base: 70.99 | Cost: 67.44 [Friday 12th of June 2026 08:13:46 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/84552 [Friday 12th of June 2026 08:13:46 AM] update_product_price() - PUT payload: {"price":70.9899999999999948840923025272786617279052734375,"cost_price":67.43999999999999772626324556767940521240234375} [Friday 12th of June 2026 08:13:46 AM] update_product_price() - Attempt 1 of 6 for Product ID: 84552 [Friday 12th of June 2026 08:13:46 AM] update_product_price() - Price updated successfully for Product ID: 84552 - Base: 70.99 | Cost: 67.44 [Friday 12th of June 2026 08:13:46 AM] update_product_price() - END - Product ID: 84552 | Result: success [Friday 12th of June 2026 08:13:46 AM] BigCommerce price updated for Product ID: 84552 [Friday 12th of June 2026 08:13:46 AM] get_product_inventory() - START - SKU: TAN56200 [Friday 12th of June 2026 08:13:46 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=TAN56200 [Friday 12th of June 2026 08:13:46 AM] get_product_inventory() - Motorstate API call successful for SKU: TAN56200 [Friday 12th of June 2026 08:13:46 AM] get_product_inventory() - Stock found for SKU: TAN56200 - Quantity: 3 | Running Total: 3 [Friday 12th of June 2026 08:13:46 AM] get_product_inventory() - END - SKU: TAN56200 | Total: 3 [Friday 12th of June 2026 08:13:46 AM] get_cf_id() - START - Product ID: 84552 [Friday 12th of June 2026 08:13:46 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/84552/custom-fields [Friday 12th of June 2026 08:13:46 AM] get_cf_id() - BigCommerce API call successful for Product ID: 84552 [Friday 12th of June 2026 08:13:46 AM] get_cf_id() - Custom field found for Product ID: 84552 | Field: online_stock_level | CF ID: 84442 [Friday 12th of June 2026 08:13:46 AM] get_cf_id() - END - Product ID: 84552 | CF ID: 84442 [Friday 12th of June 2026 08:13:46 AM] Updating inventory for SKU TAN56200 - stock: 3, CF ID: 84442 [Friday 12th of June 2026 08:13:46 AM] update_product_inventory() - START - Product ID: 84552 | Stock: 3 | CF ID: 84442 [Friday 12th of June 2026 08:13:46 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/84552/custom-fields/84442 [Friday 12th of June 2026 08:13:47 AM] update_product_inventory() - Inventory updated successfully for Product ID: 84552 | Stock: 3 [Friday 12th of June 2026 08:13:47 AM] update_product_inventory() - END - Product ID: 84552 | Result: success [Friday 12th of June 2026 08:13:47 AM] Inventory updated for SKU: TAN56200 [Friday 12th of June 2026 08:13:47 AM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"TAN56200","M_QUAN_VIS":3,"UNIT":"70.99","UNIT_MEAS":"EA"}] [Friday 12th of June 2026 08:13:47 AM] Building payment record - Total: 239.0600 [Friday 12th of June 2026 08:13:47 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1922","ADDRESS1":"5515 Reidsville Rd","ADDRESS2":"","C_ADDRESS1":"5515 Reidsville Rd","C_ADDRESS2":"","C_CITY":"Belews Creek","C_COUNTRY":"USA","C_EMAIL":"brad@bradsgolfcars.com","C_NAME":"Bradley Walsh","C_STATE":"NC","C_ZIP":"27009","ShippingAmount":"26.09","CITY":"Belews Creek","EMAIL":"brad@bradsgolfcars.com","ID":"APONLINE","NAME":"Bradley Walsh","STATE":"NC","COUNTRY":"USA","ZIP":"27009","MEMO":"","DESCR":"BigCommerce Order - AP1922 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"TAN56200","M_QUAN_VIS":3,"UNIT":"70.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"239.06","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 12th of June 2026 08:13:47 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1922 [Friday 12th of June 2026 08:13:47 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1922%27 [Friday 12th of June 2026 08:13:48 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1922 [Friday 12th of June 2026 08:13:48 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1922 found in EBMS [Friday 12th of June 2026 08:13:48 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1922 | Found: true [Friday 12th of June 2026 08:13:48 AM] Invoice AP1922 already exists in EBMS - patching [Friday 12th of June 2026 08:13:48 AM] patch_ebms_invoice() - START - Invoice: AP1922 [Friday 12th of June 2026 08:13:48 AM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1922","ADDRESS1":"5515 Reidsville Rd","ADDRESS2":"","C_ADDRESS1":"5515 Reidsville Rd","C_ADDRESS2":"","C_CITY":"Belews Creek","C_COUNTRY":"USA","C_EMAIL":"brad@bradsgolfcars.com","C_NAME":"Bradley Walsh","C_STATE":"NC","C_ZIP":"27009","ShippingAmount":"26.09","CITY":"Belews Creek","EMAIL":"brad@bradsgolfcars.com","ID":"APONLINE","NAME":"Bradley Walsh","STATE":"NC","COUNTRY":"USA","ZIP":"27009","MEMO":"","DESCR":"BigCommerce Order - AP1922 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"TAN56200","M_QUAN_VIS":3,"UNIT":"70.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"239.06","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 12th of June 2026 08:13:48 AM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1922%27 [Friday 12th of June 2026 08:13:48 AM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP1922 [Friday 12th of June 2026 08:13:48 AM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP1922 [Friday 12th of June 2026 08:13:48 AM] patch_ebms_invoice() - END - Invoice: AP1922 [Friday 12th of June 2026 08:13:48 AM] Invoice AP1922 patched successfully [Friday 12th of June 2026 08:13:48 AM] ORDER WEBHOOK COMPLETED - Order ID: 1922 | Invoice: AP1922 [Friday 12th of June 2026 09:55:54 AM] ORDER WEBHOOK STARTED - Order ID: 1923 [Friday 12th of June 2026 09:55:54 AM] Fetching customer data for Order ID: 1923 [Friday 12th of June 2026 09:55:54 AM] get_order_customer_data() - START - Order ID: 1923 [Friday 12th of June 2026 09:55:54 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1923 [Friday 12th of June 2026 09:55:55 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1923 [Friday 12th of June 2026 09:55:55 AM] get_order_customer_data() - Parsing order response for Order ID: 1923 [Friday 12th of June 2026 09:55:55 AM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Ed Starcher | Email: bigstarch96@outlook.com | Total: 105.8200 | Shipping: 24.18 [Friday 12th of June 2026 09:55:55 AM] get_order_customer_data() - END - Order ID: 1923 [Friday 12th of June 2026 09:55:55 AM] Customer data received: {"id":0,"email":"bigstarch96@outlook.com","address_1":"5309 Stoddard Hayes Rd","address_2":"","city":"Farmdale","state":"OH","country":"USA","zip":"44417","f_name":"Ed","l_name":"Starcher","contact_5":"bigstarch96@outlook.com","contact_1":"3307175863","contact_4":"Ed Starcher"} [Friday 12th of June 2026 09:55:55 AM] Fetching shipping info for Order ID: 1923 [Friday 12th of June 2026 09:55:55 AM] get_order_shipping_info() - START - Order ID: 1923 [Friday 12th of June 2026 09:55:55 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1923/shipping_addresses [Friday 12th of June 2026 09:55:55 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1923 [Friday 12th of June 2026 09:55:55 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1923 | Name: Ed Starcher | Address: 5309 Stoddard Hayes Rd, Farmdale, Ohio, 44417 [Friday 12th of June 2026 09:55:55 AM] get_order_shipping_info() - END - Order ID: 1923 [Friday 12th of June 2026 09:55:55 AM] Shipping info received: {"id":1822,"order_id":1923,"first_name":"Ed","last_name":"Starcher","company":"Big Ed\u2019s Tire Service","street_1":"5309 Stoddard Hayes Rd","street_2":"","city":"Farmdale","zip":"44417","country":"United States","country_iso2":"US","state":"Ohio","email":"bigstarch96@outlook.com","phone":"3307175863","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground \u00ae","base_cost":"24.1800","cost_ex_tax":"24.1800","cost_inc_tax":"25.8122","cost_tax":"1.6322","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":1,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/1923\/shipping_addresses\/1822\/shipping_quotes","resource":"\/orders\/1923\/shipping_addresses\/1822\/shipping_quotes"},"form_fields":[]} [Friday 12th of June 2026 09:55:55 AM] Resolved Customer ID: APONLINE [Friday 12th of June 2026 09:55:55 AM] Building order object for Invoice: AP1923 [Friday 12th of June 2026 09:55:55 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1923","ADDRESS1":"5309 Stoddard Hayes Rd","ADDRESS2":"","C_ADDRESS1":"5309 Stoddard Hayes Rd","C_ADDRESS2":"","C_CITY":"Farmdale","C_COUNTRY":"USA","C_EMAIL":"bigstarch96@outlook.com","C_NAME":"Ed Starcher","C_STATE":"OH","C_ZIP":"44417","ShippingAmount":"24.18","CITY":"Farmdale","EMAIL":"bigstarch96@outlook.com","ID":"APONLINE","NAME":"Ed Starcher","STATE":"OH","COUNTRY":"USA","ZIP":"44417","MEMO":"","DESCR":"BigCommerce Order - AP1923 - Customer APONLINE"} [Friday 12th of June 2026 09:55:55 AM] Guest checkout detected (APONLINE) - skipping customer sync [Friday 12th of June 2026 09:55:55 AM] Fetching products from BigCommerce for Order ID: 1923 [Friday 12th of June 2026 09:55:55 AM] BigCommerce API call successful for Order ID: 1923 [Friday 12th of June 2026 09:55:55 AM] Products received: 1 item(s) [Friday 12th of June 2026 09:55:55 AM] Processing product SKU: APPS100-BLADES-6PACK | Qty: 1 | Price: 74.9500 [Friday 12th of June 2026 09:55:55 AM] get_mpn() - START - Product ID: 87419 [Friday 12th of June 2026 09:55:55 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87419 [Friday 12th of June 2026 09:55:55 AM] get_mpn() - BigCommerce API call successful for Product ID: 87419 [Friday 12th of June 2026 09:55:55 AM] get_mpn() - WARNING - MPN is empty for Product ID: 87419 [Friday 12th of June 2026 09:55:55 AM] get_mpn() - END - Product ID: 87419 | MPN: [Friday 12th of June 2026 09:55:55 AM] check_for_ebms_product() - START - SKU: APPS100-BLADES-6PACK [Friday 12th of June 2026 09:55:55 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPS100-BLADES-6PACK%27 [Friday 12th of June 2026 09:55:56 AM] check_for_ebms_product() - EBMS API call successful for SKU: APPS100-BLADES-6PACK [Friday 12th of June 2026 09:55:56 AM] check_for_ebms_product() - SKU: APPS100-BLADES-6PACK found in EBMS [Friday 12th of June 2026 09:55:56 AM] check_for_ebms_product() - END - SKU: APPS100-BLADES-6PACK | Found: true [Friday 12th of June 2026 09:55:56 AM] SKU APPS100-BLADES-6PACK found in EBMS - checking prices [Friday 12th of June 2026 09:55:56 AM] obtain_current_prices() - START - SKU: APPS100-BLADES-6PACK [Friday 12th of June 2026 09:55:56 AM] obtain_current_prices() - Checking Motorstate for SKU: APPS100-BLADES-6PACK [Friday 12th of June 2026 09:55:56 AM] check_for_ms_product() - START - SKU: APPS100-BLADES-6PACK [Friday 12th of June 2026 09:55:56 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=APPS100-BLADES-6PACK [Friday 12th of June 2026 09:55:56 AM] check_for_ms_product() - Motorstate API call successful for SKU: APPS100-BLADES-6PACK [Friday 12th of June 2026 09:55:56 AM] check_for_ms_product() - SKU: APPS100-BLADES-6PACK not found in Motorstate [Friday 12th of June 2026 09:55:56 AM] check_for_ms_product() - END - SKU: APPS100-BLADES-6PACK | Found: false [Friday 12th of June 2026 09:55:56 AM] obtain_current_prices() - SKU: APPS100-BLADES-6PACK not found in Motorstate - Skipping to EBMS [Friday 12th of June 2026 09:55:56 AM] obtain_current_prices() - Checking EBMS for SKU: APPS100-BLADES-6PACK [Friday 12th of June 2026 09:55:56 AM] check_for_ebms_product() - START - SKU: APPS100-BLADES-6PACK [Friday 12th of June 2026 09:55:56 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPS100-BLADES-6PACK%27 [Friday 12th of June 2026 09:55:56 AM] check_for_ebms_product() - EBMS API call successful for SKU: APPS100-BLADES-6PACK [Friday 12th of June 2026 09:55:56 AM] check_for_ebms_product() - SKU: APPS100-BLADES-6PACK found in EBMS [Friday 12th of June 2026 09:55:56 AM] check_for_ebms_product() - END - SKU: APPS100-BLADES-6PACK | Found: true [Friday 12th of June 2026 09:55:56 AM] obtain_current_prices() - SKU: APPS100-BLADES-6PACK found in EBMS - Fetching prices [Friday 12th of June 2026 09:55:56 AM] obtain_current_prices() - EBMS API call attempt 1 for SKU: APPS100-BLADES-6PACK - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPS100-BLADES-6PACK%27 [Friday 12th of June 2026 09:55:57 AM] obtain_current_prices() - EBMS prices retrieved for SKU: APPS100-BLADES-6PACK - Base: 74.95 | Cost: 16.00 [Friday 12th of June 2026 09:55:57 AM] obtain_current_prices() - END - SKU: APPS100-BLADES-6PACK | Final prices - Base: 74.95 | Cost: 16.00 [Friday 12th of June 2026 09:55:57 AM] SKU APPS100-BLADES-6PACK has existing EBMS prices - syncing BigCommerce price back (cost: 16.00, base: 74.95) [Friday 12th of June 2026 09:55:57 AM] update_product_price() - START - Product ID: 87419 | Base: 74.95 | Cost: 16 [Friday 12th of June 2026 09:55:57 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87419 [Friday 12th of June 2026 09:55:57 AM] update_product_price() - PUT payload: {"price":74.9500000000000028421709430404007434844970703125,"cost_price":16.0} [Friday 12th of June 2026 09:55:57 AM] update_product_price() - Attempt 1 of 6 for Product ID: 87419 [Friday 12th of June 2026 09:55:57 AM] update_product_price() - Price updated successfully for Product ID: 87419 - Base: 74.95 | Cost: 16 [Friday 12th of June 2026 09:55:57 AM] update_product_price() - END - Product ID: 87419 | Result: success [Friday 12th of June 2026 09:55:57 AM] BigCommerce price updated for Product ID: 87419 [Friday 12th of June 2026 09:55:57 AM] get_product_inventory() - START - SKU: APPS100-BLADES-6PACK [Friday 12th of June 2026 09:55:57 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=APPS100-BLADES-6PACK [Friday 12th of June 2026 09:55:57 AM] get_product_inventory() - Motorstate API call successful for SKU: APPS100-BLADES-6PACK [Friday 12th of June 2026 09:55:57 AM] get_product_inventory() - SKU: APPS100-BLADES-6PACK not found in Motorstate response item [Friday 12th of June 2026 09:55:57 AM] get_product_inventory() - END - SKU: APPS100-BLADES-6PACK | Total: 0 [Friday 12th of June 2026 09:55:57 AM] get_cf_id() - START - Product ID: 87419 [Friday 12th of June 2026 09:55:57 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87419/custom-fields [Friday 12th of June 2026 09:55:57 AM] get_cf_id() - BigCommerce API call successful for Product ID: 87419 [Friday 12th of June 2026 09:55:57 AM] get_cf_id() - Custom field found for Product ID: 87419 | Field: online_stock_level | CF ID: 87541 [Friday 12th of June 2026 09:55:57 AM] get_cf_id() - END - Product ID: 87419 | CF ID: 87541 [Friday 12th of June 2026 09:55:57 AM] Updating inventory for SKU APPS100-BLADES-6PACK - stock: 0, CF ID: 87541 [Friday 12th of June 2026 09:55:57 AM] update_product_inventory() - START - Product ID: 87419 | Stock: 0 | CF ID: 87541 [Friday 12th of June 2026 09:55:57 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87419/custom-fields/87541 [Friday 12th of June 2026 09:55:57 AM] update_product_inventory() - Inventory updated successfully for Product ID: 87419 | Stock: 0 [Friday 12th of June 2026 09:55:57 AM] update_product_inventory() - END - Product ID: 87419 | Result: success [Friday 12th of June 2026 09:55:57 AM] Inventory updated for SKU: APPS100-BLADES-6PACK [Friday 12th of June 2026 09:55:57 AM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"APPS100-BLADES-6PACK","M_QUAN_VIS":1,"UNIT":"74.95","UNIT_MEAS":"EA"}] [Friday 12th of June 2026 09:55:57 AM] Building payment record - Total: 105.8200 [Friday 12th of June 2026 09:55:57 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1923","ADDRESS1":"5309 Stoddard Hayes Rd","ADDRESS2":"","C_ADDRESS1":"5309 Stoddard Hayes Rd","C_ADDRESS2":"","C_CITY":"Farmdale","C_COUNTRY":"USA","C_EMAIL":"bigstarch96@outlook.com","C_NAME":"Ed Starcher","C_STATE":"OH","C_ZIP":"44417","ShippingAmount":"24.18","CITY":"Farmdale","EMAIL":"bigstarch96@outlook.com","ID":"APONLINE","NAME":"Ed Starcher","STATE":"OH","COUNTRY":"USA","ZIP":"44417","MEMO":"","DESCR":"BigCommerce Order - AP1923 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"APPS100-BLADES-6PACK","M_QUAN_VIS":1,"UNIT":"74.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"105.82","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 12th of June 2026 09:55:57 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1923 [Friday 12th of June 2026 09:55:57 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1923%27 [Friday 12th of June 2026 09:55:58 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1923 [Friday 12th of June 2026 09:55:58 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1923 not found in EBMS [Friday 12th of June 2026 09:55:58 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1923 | Found: false [Friday 12th of June 2026 09:55:58 AM] Invoice AP1923 does not exist in EBMS - creating [Friday 12th of June 2026 09:55:58 AM] create_ebms_invoice() - START - Invoice: AP1923 [Friday 12th of June 2026 09:55:58 AM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1923","ADDRESS1":"5309 Stoddard Hayes Rd","ADDRESS2":"","C_ADDRESS1":"5309 Stoddard Hayes Rd","C_ADDRESS2":"","C_CITY":"Farmdale","C_COUNTRY":"USA","C_EMAIL":"bigstarch96@outlook.com","C_NAME":"Ed Starcher","C_STATE":"OH","C_ZIP":"44417","ShippingAmount":"24.18","CITY":"Farmdale","EMAIL":"bigstarch96@outlook.com","ID":"APONLINE","NAME":"Ed Starcher","STATE":"OH","COUNTRY":"USA","ZIP":"44417","MEMO":"","DESCR":"BigCommerce Order - AP1923 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"APPS100-BLADES-6PACK","M_QUAN_VIS":1,"UNIT":"74.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"105.82","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 12th of June 2026 09:55:58 AM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Friday 12th of June 2026 09:56:06 AM] create_ebms_invoice() - EBMS API call successful for Invoice: AP1923 [Friday 12th of June 2026 09:56:06 AM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP1923 - Response: {"@odata.context":"http:\/\/localhost:50559\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"354d4249-374a-4a52-3545-444237303030","AUTOID":"IBM5J7RJ5EDB7000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-80.0100000000000051159076974727213382720947265625,"BAL_CUST_X":-80.0100000000000051159076974727213382720947265625,"BALANCE":-80.0100000000000051159076974727213382720947265625,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":6.69000000000000039079850466805510222911834716796875,"TAX":1.62999999999999989341858963598497211933135986328125,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":105.81999999999999317878973670303821563720703125,"TOTAL_S_SO":74.9500000000000028421709430404007434844970703125,"TOTAL_SO":105.81999999999999317878973670303821563720703125,"TOTAL_W":0,"TTLPROCPMT":105.81999999999999317878973670303821563720703125,"TOTAL":25.809999999999998721023075631819665431976318359375,"FREIGHT":24.17999999999999971578290569595992565155029296875,"HANDLING":0,"SHIPPING":24.17999999999999971578290569595992565155029296875,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"5309 Stoddard Hayes Rd","ADDRESS2":"","C_EMAIL":"bigstarch96@outlook.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-06-12T00:00:00Z","CHECK_NO":" APBC","CITY":"Farmdale","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-06-12T00:00:00Z","E_DATE":"2026-06-12T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"bigstarch96@outlook.com","IADDRESS":"5309 Stoddard Hayes Rd , Farmdale, OH 44417","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-06-12T00:00:00Z","INVOICE":"AP1923","MAN_TAX":true,"NAME":"Ed Starcher","PHONE":"","PROCESS":"Default","STATE":"OH","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"44417","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"5309 Stoddard Hayes Rd","C_ADDRESS2":"","C_CITY":"Farmdale","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"Ed Starcher","C_STATE":"OH","C_ZIP":"44417","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP1923 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-06-12T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Friday 12th of June 2026 09:56:06 AM] create_ebms_invoice() - END - Invoice: AP1923 [Friday 12th of June 2026 09:56:06 AM] Invoice AP1923 created successfully [Friday 12th of June 2026 09:56:06 AM] ORDER WEBHOOK COMPLETED - Order ID: 1923 | Invoice: AP1923 [Friday 12th of June 2026 09:57:04 AM] ORDER WEBHOOK STARTED - Order ID: 1923 [Friday 12th of June 2026 09:57:04 AM] Fetching customer data for Order ID: 1923 [Friday 12th of June 2026 09:57:04 AM] get_order_customer_data() - START - Order ID: 1923 [Friday 12th of June 2026 09:57:04 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1923 [Friday 12th of June 2026 09:57:05 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1923 [Friday 12th of June 2026 09:57:05 AM] get_order_customer_data() - Parsing order response for Order ID: 1923 [Friday 12th of June 2026 09:57:05 AM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Ed Starcher | Email: bigstarch96@outlook.com | Total: 105.8200 | Shipping: 24.18 [Friday 12th of June 2026 09:57:05 AM] get_order_customer_data() - END - Order ID: 1923 [Friday 12th of June 2026 09:57:05 AM] Customer data received: {"id":0,"email":"bigstarch96@outlook.com","address_1":"5309 Stoddard Hayes Rd","address_2":"","city":"Farmdale","state":"OH","country":"USA","zip":"44417","f_name":"Ed","l_name":"Starcher","contact_5":"bigstarch96@outlook.com","contact_1":"3307175863","contact_4":"Ed Starcher"} [Friday 12th of June 2026 09:57:05 AM] Fetching shipping info for Order ID: 1923 [Friday 12th of June 2026 09:57:05 AM] get_order_shipping_info() - START - Order ID: 1923 [Friday 12th of June 2026 09:57:05 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1923/shipping_addresses [Friday 12th of June 2026 09:57:05 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1923 [Friday 12th of June 2026 09:57:05 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1923 | Name: Ed Starcher | Address: 5309 Stoddard Hayes Rd, Farmdale, Ohio, 44417 [Friday 12th of June 2026 09:57:05 AM] get_order_shipping_info() - END - Order ID: 1923 [Friday 12th of June 2026 09:57:05 AM] Shipping info received: {"id":1822,"order_id":1923,"first_name":"Ed","last_name":"Starcher","company":"Big Ed\u2019s Tire Service","street_1":"5309 Stoddard Hayes Rd","street_2":"","city":"Farmdale","zip":"44417","country":"United States","country_iso2":"US","state":"Ohio","email":"bigstarch96@outlook.com","phone":"3307175863","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground \u00ae","base_cost":"24.1800","cost_ex_tax":"24.1800","cost_inc_tax":"25.8122","cost_tax":"1.6322","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":1,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/1923\/shipping_addresses\/1822\/shipping_quotes","resource":"\/orders\/1923\/shipping_addresses\/1822\/shipping_quotes"},"form_fields":[]} [Friday 12th of June 2026 09:57:05 AM] Resolved Customer ID: APONLINE [Friday 12th of June 2026 09:57:05 AM] Building order object for Invoice: AP1923 [Friday 12th of June 2026 09:57:05 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1923","ADDRESS1":"5309 Stoddard Hayes Rd","ADDRESS2":"","C_ADDRESS1":"5309 Stoddard Hayes Rd","C_ADDRESS2":"","C_CITY":"Farmdale","C_COUNTRY":"USA","C_EMAIL":"bigstarch96@outlook.com","C_NAME":"Ed Starcher","C_STATE":"OH","C_ZIP":"44417","ShippingAmount":"24.18","CITY":"Farmdale","EMAIL":"bigstarch96@outlook.com","ID":"APONLINE","NAME":"Ed Starcher","STATE":"OH","COUNTRY":"USA","ZIP":"44417","MEMO":"","DESCR":"BigCommerce Order - AP1923 - Customer APONLINE"} [Friday 12th of June 2026 09:57:05 AM] Guest checkout detected (APONLINE) - skipping customer sync [Friday 12th of June 2026 09:57:05 AM] Fetching products from BigCommerce for Order ID: 1923 [Friday 12th of June 2026 09:57:05 AM] BigCommerce API call successful for Order ID: 1923 [Friday 12th of June 2026 09:57:05 AM] Products received: 1 item(s) [Friday 12th of June 2026 09:57:05 AM] Processing product SKU: APPS100-BLADES-6PACK | Qty: 1 | Price: 74.9500 [Friday 12th of June 2026 09:57:05 AM] get_mpn() - START - Product ID: 87419 [Friday 12th of June 2026 09:57:05 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87419 [Friday 12th of June 2026 09:57:05 AM] get_mpn() - BigCommerce API call successful for Product ID: 87419 [Friday 12th of June 2026 09:57:05 AM] get_mpn() - WARNING - MPN is empty for Product ID: 87419 [Friday 12th of June 2026 09:57:05 AM] get_mpn() - END - Product ID: 87419 | MPN: [Friday 12th of June 2026 09:57:05 AM] check_for_ebms_product() - START - SKU: APPS100-BLADES-6PACK [Friday 12th of June 2026 09:57:05 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPS100-BLADES-6PACK%27 [Friday 12th of June 2026 09:57:06 AM] check_for_ebms_product() - EBMS API call successful for SKU: APPS100-BLADES-6PACK [Friday 12th of June 2026 09:57:06 AM] check_for_ebms_product() - SKU: APPS100-BLADES-6PACK found in EBMS [Friday 12th of June 2026 09:57:06 AM] check_for_ebms_product() - END - SKU: APPS100-BLADES-6PACK | Found: true [Friday 12th of June 2026 09:57:06 AM] SKU APPS100-BLADES-6PACK found in EBMS - checking prices [Friday 12th of June 2026 09:57:06 AM] obtain_current_prices() - START - SKU: APPS100-BLADES-6PACK [Friday 12th of June 2026 09:57:06 AM] obtain_current_prices() - Checking Motorstate for SKU: APPS100-BLADES-6PACK [Friday 12th of June 2026 09:57:06 AM] check_for_ms_product() - START - SKU: APPS100-BLADES-6PACK [Friday 12th of June 2026 09:57:06 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=APPS100-BLADES-6PACK [Friday 12th of June 2026 09:57:06 AM] check_for_ms_product() - Motorstate API call successful for SKU: APPS100-BLADES-6PACK [Friday 12th of June 2026 09:57:06 AM] check_for_ms_product() - SKU: APPS100-BLADES-6PACK not found in Motorstate [Friday 12th of June 2026 09:57:06 AM] check_for_ms_product() - END - SKU: APPS100-BLADES-6PACK | Found: false [Friday 12th of June 2026 09:57:06 AM] obtain_current_prices() - SKU: APPS100-BLADES-6PACK not found in Motorstate - Skipping to EBMS [Friday 12th of June 2026 09:57:06 AM] obtain_current_prices() - Checking EBMS for SKU: APPS100-BLADES-6PACK [Friday 12th of June 2026 09:57:06 AM] check_for_ebms_product() - START - SKU: APPS100-BLADES-6PACK [Friday 12th of June 2026 09:57:06 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPS100-BLADES-6PACK%27 [Friday 12th of June 2026 09:57:06 AM] check_for_ebms_product() - EBMS API call successful for SKU: APPS100-BLADES-6PACK [Friday 12th of June 2026 09:57:06 AM] check_for_ebms_product() - SKU: APPS100-BLADES-6PACK found in EBMS [Friday 12th of June 2026 09:57:06 AM] check_for_ebms_product() - END - SKU: APPS100-BLADES-6PACK | Found: true [Friday 12th of June 2026 09:57:06 AM] obtain_current_prices() - SKU: APPS100-BLADES-6PACK found in EBMS - Fetching prices [Friday 12th of June 2026 09:57:06 AM] obtain_current_prices() - EBMS API call attempt 1 for SKU: APPS100-BLADES-6PACK - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPS100-BLADES-6PACK%27 [Friday 12th of June 2026 09:57:07 AM] obtain_current_prices() - EBMS prices retrieved for SKU: APPS100-BLADES-6PACK - Base: 74.95 | Cost: 16.00 [Friday 12th of June 2026 09:57:07 AM] obtain_current_prices() - END - SKU: APPS100-BLADES-6PACK | Final prices - Base: 74.95 | Cost: 16.00 [Friday 12th of June 2026 09:57:07 AM] SKU APPS100-BLADES-6PACK has existing EBMS prices - syncing BigCommerce price back (cost: 16.00, base: 74.95) [Friday 12th of June 2026 09:57:07 AM] update_product_price() - START - Product ID: 87419 | Base: 74.95 | Cost: 16 [Friday 12th of June 2026 09:57:07 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87419 [Friday 12th of June 2026 09:57:07 AM] update_product_price() - PUT payload: {"price":74.9500000000000028421709430404007434844970703125,"cost_price":16.0} [Friday 12th of June 2026 09:57:07 AM] update_product_price() - Attempt 1 of 6 for Product ID: 87419 [Friday 12th of June 2026 09:57:07 AM] update_product_price() - Price updated successfully for Product ID: 87419 - Base: 74.95 | Cost: 16 [Friday 12th of June 2026 09:57:07 AM] update_product_price() - END - Product ID: 87419 | Result: success [Friday 12th of June 2026 09:57:07 AM] BigCommerce price updated for Product ID: 87419 [Friday 12th of June 2026 09:57:07 AM] get_product_inventory() - START - SKU: APPS100-BLADES-6PACK [Friday 12th of June 2026 09:57:07 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=APPS100-BLADES-6PACK [Friday 12th of June 2026 09:57:07 AM] get_product_inventory() - Motorstate API call successful for SKU: APPS100-BLADES-6PACK [Friday 12th of June 2026 09:57:07 AM] get_product_inventory() - SKU: APPS100-BLADES-6PACK not found in Motorstate response item [Friday 12th of June 2026 09:57:07 AM] get_product_inventory() - END - SKU: APPS100-BLADES-6PACK | Total: 0 [Friday 12th of June 2026 09:57:07 AM] get_cf_id() - START - Product ID: 87419 [Friday 12th of June 2026 09:57:07 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87419/custom-fields [Friday 12th of June 2026 09:57:07 AM] get_cf_id() - BigCommerce API call successful for Product ID: 87419 [Friday 12th of June 2026 09:57:07 AM] get_cf_id() - Custom field found for Product ID: 87419 | Field: online_stock_level | CF ID: 87541 [Friday 12th of June 2026 09:57:07 AM] get_cf_id() - END - Product ID: 87419 | CF ID: 87541 [Friday 12th of June 2026 09:57:07 AM] Updating inventory for SKU APPS100-BLADES-6PACK - stock: 0, CF ID: 87541 [Friday 12th of June 2026 09:57:07 AM] update_product_inventory() - START - Product ID: 87419 | Stock: 0 | CF ID: 87541 [Friday 12th of June 2026 09:57:07 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87419/custom-fields/87541 [Friday 12th of June 2026 09:57:08 AM] update_product_inventory() - Inventory updated successfully for Product ID: 87419 | Stock: 0 [Friday 12th of June 2026 09:57:08 AM] update_product_inventory() - END - Product ID: 87419 | Result: success [Friday 12th of June 2026 09:57:08 AM] Inventory updated for SKU: APPS100-BLADES-6PACK [Friday 12th of June 2026 09:57:08 AM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"APPS100-BLADES-6PACK","M_QUAN_VIS":1,"UNIT":"74.95","UNIT_MEAS":"EA"}] [Friday 12th of June 2026 09:57:08 AM] Building payment record - Total: 105.8200 [Friday 12th of June 2026 09:57:08 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1923","ADDRESS1":"5309 Stoddard Hayes Rd","ADDRESS2":"","C_ADDRESS1":"5309 Stoddard Hayes Rd","C_ADDRESS2":"","C_CITY":"Farmdale","C_COUNTRY":"USA","C_EMAIL":"bigstarch96@outlook.com","C_NAME":"Ed Starcher","C_STATE":"OH","C_ZIP":"44417","ShippingAmount":"24.18","CITY":"Farmdale","EMAIL":"bigstarch96@outlook.com","ID":"APONLINE","NAME":"Ed Starcher","STATE":"OH","COUNTRY":"USA","ZIP":"44417","MEMO":"","DESCR":"BigCommerce Order - AP1923 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"APPS100-BLADES-6PACK","M_QUAN_VIS":1,"UNIT":"74.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"105.82","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 12th of June 2026 09:57:08 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1923 [Friday 12th of June 2026 09:57:08 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1923%27 [Friday 12th of June 2026 09:57:09 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1923 [Friday 12th of June 2026 09:57:09 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1923 found in EBMS [Friday 12th of June 2026 09:57:09 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1923 | Found: true [Friday 12th of June 2026 09:57:09 AM] Invoice AP1923 already exists in EBMS - patching [Friday 12th of June 2026 09:57:09 AM] patch_ebms_invoice() - START - Invoice: AP1923 [Friday 12th of June 2026 09:57:09 AM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1923","ADDRESS1":"5309 Stoddard Hayes Rd","ADDRESS2":"","C_ADDRESS1":"5309 Stoddard Hayes Rd","C_ADDRESS2":"","C_CITY":"Farmdale","C_COUNTRY":"USA","C_EMAIL":"bigstarch96@outlook.com","C_NAME":"Ed Starcher","C_STATE":"OH","C_ZIP":"44417","ShippingAmount":"24.18","CITY":"Farmdale","EMAIL":"bigstarch96@outlook.com","ID":"APONLINE","NAME":"Ed Starcher","STATE":"OH","COUNTRY":"USA","ZIP":"44417","MEMO":"","DESCR":"BigCommerce Order - AP1923 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"APPS100-BLADES-6PACK","M_QUAN_VIS":1,"UNIT":"74.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"105.82","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 12th of June 2026 09:57:09 AM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1923%27 [Friday 12th of June 2026 09:57:09 AM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP1923 [Friday 12th of June 2026 09:57:09 AM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP1923 [Friday 12th of June 2026 09:57:09 AM] patch_ebms_invoice() - END - Invoice: AP1923 [Friday 12th of June 2026 09:57:09 AM] Invoice AP1923 patched successfully [Friday 12th of June 2026 09:57:09 AM] ORDER WEBHOOK COMPLETED - Order ID: 1923 | Invoice: AP1923 [Friday 12th of June 2026 12:17:24 PM] ORDER WEBHOOK STARTED - Order ID: 1926 [Friday 12th of June 2026 12:17:24 PM] Fetching customer data for Order ID: 1926 [Friday 12th of June 2026 12:17:24 PM] get_order_customer_data() - START - Order ID: 1926 [Friday 12th of June 2026 12:17:24 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1926 [Friday 12th of June 2026 12:17:24 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1926 [Friday 12th of June 2026 12:17:24 PM] get_order_customer_data() - Parsing order response for Order ID: 1926 [Friday 12th of June 2026 12:17:24 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Lay Davis | Email: landsdavis52@yahoo.com | Total: 48.3400 | Shipping: 21.37 [Friday 12th of June 2026 12:17:24 PM] get_order_customer_data() - END - Order ID: 1926 [Friday 12th of June 2026 12:17:24 PM] Customer data received: {"id":0,"email":"landsdavis52@yahoo.com","address_1":"8084 Hwy 351","address_2":"","city":"Jonesboro 72405","state":"AR","country":"USA","zip":"72405","f_name":"Lay","l_name":"Davis ","contact_5":"landsdavis52@yahoo.com","contact_1":"18702153765","contact_4":"Lay Davis "} [Friday 12th of June 2026 12:17:24 PM] Fetching shipping info for Order ID: 1926 [Friday 12th of June 2026 12:17:24 PM] get_order_shipping_info() - START - Order ID: 1926 [Friday 12th of June 2026 12:17:24 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1926/shipping_addresses [Friday 12th of June 2026 12:17:24 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1926 [Friday 12th of June 2026 12:17:24 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1926 | Name: Lay Davis | Address: 8084 Hwy 351, Jonesboro 72405, Arkansas, 72405 [Friday 12th of June 2026 12:17:24 PM] get_order_shipping_info() - END - Order ID: 1926 [Friday 12th of June 2026 12:17:24 PM] Shipping info received: {"id":1825,"order_id":1926,"first_name":"Lay","last_name":"Davis ","company":"","street_1":"8084 Hwy 351","street_2":"","city":"Jonesboro 72405","zip":"72405","country":"United States","country_iso2":"US","state":"Arkansas","email":"landsdavis52@yahoo.com","phone":"18702153765","items_total":3,"items_shipped":0,"shipping_method":"FedEx Ground \u00ae","base_cost":"21.3700","cost_ex_tax":"21.3700","cost_inc_tax":"21.3700","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":1,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/1926\/shipping_addresses\/1825\/shipping_quotes","resource":"\/orders\/1926\/shipping_addresses\/1825\/shipping_quotes"},"form_fields":[]} [Friday 12th of June 2026 12:17:24 PM] Resolved Customer ID: APONLINE [Friday 12th of June 2026 12:17:24 PM] Building order object for Invoice: AP1926 [Friday 12th of June 2026 12:17:24 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1926","ADDRESS1":"8084 Hwy 351","ADDRESS2":"","C_ADDRESS1":"8084 Hwy 351","C_ADDRESS2":"","C_CITY":"Jonesboro 72405","C_COUNTRY":"USA","C_EMAIL":"landsdavis52@yahoo.com","C_NAME":"Lay Davis ","C_STATE":"AR","C_ZIP":"72405","ShippingAmount":"21.37","CITY":"Jonesboro 72405","EMAIL":"landsdavis52@yahoo.com","ID":"APONLINE","NAME":"Lay Davis ","STATE":"AR","COUNTRY":"USA","ZIP":"72405","MEMO":"","DESCR":"BigCommerce Order - AP1926 - Customer APONLINE"} [Friday 12th of June 2026 12:17:24 PM] Guest checkout detected (APONLINE) - skipping customer sync [Friday 12th of June 2026 12:17:24 PM] Fetching products from BigCommerce for Order ID: 1926 [Friday 12th of June 2026 12:17:24 PM] BigCommerce API call successful for Order ID: 1926 [Friday 12th of June 2026 12:17:24 PM] Products received: 1 item(s) [Friday 12th of June 2026 12:17:24 PM] Processing product SKU: ZMA88-004 | Qty: 3 | Price: 8.9900 [Friday 12th of June 2026 12:17:24 PM] get_mpn() - START - Product ID: 65384 [Friday 12th of June 2026 12:17:24 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65384 [Friday 12th of June 2026 12:17:25 PM] get_mpn() - BigCommerce API call successful for Product ID: 65384 [Friday 12th of June 2026 12:17:25 PM] get_mpn() - WARNING - MPN is empty for Product ID: 65384 [Friday 12th of June 2026 12:17:25 PM] get_mpn() - END - Product ID: 65384 | MPN: [Friday 12th of June 2026 12:17:25 PM] check_for_ebms_product() - START - SKU: ZMA88-004 [Friday 12th of June 2026 12:17:25 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ZMA88-004%27 [Friday 12th of June 2026 12:17:28 PM] check_for_ebms_product() - EBMS API call successful for SKU: ZMA88-004 [Friday 12th of June 2026 12:17:28 PM] check_for_ebms_product() - SKU: ZMA88-004 found in EBMS [Friday 12th of June 2026 12:17:28 PM] check_for_ebms_product() - END - SKU: ZMA88-004 | Found: true [Friday 12th of June 2026 12:17:28 PM] SKU ZMA88-004 found in EBMS - checking prices [Friday 12th of June 2026 12:17:28 PM] obtain_current_prices() - START - SKU: ZMA88-004 [Friday 12th of June 2026 12:17:28 PM] obtain_current_prices() - Checking Motorstate for SKU: ZMA88-004 [Friday 12th of June 2026 12:17:28 PM] check_for_ms_product() - START - SKU: ZMA88-004 [Friday 12th of June 2026 12:17:28 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ZMA88-004 [Friday 12th of June 2026 12:17:28 PM] check_for_ms_product() - Motorstate API call successful for SKU: ZMA88-004 [Friday 12th of June 2026 12:17:28 PM] check_for_ms_product() - SKU: ZMA88-004 found in Motorstate [Friday 12th of June 2026 12:17:28 PM] check_for_ms_product() - END - SKU: ZMA88-004 | Found: true [Friday 12th of June 2026 12:17:28 PM] obtain_current_prices() - SKU: ZMA88-004 found in Motorstate - Fetching prices [Friday 12th of June 2026 12:17:28 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ZMA88-004 - URL: https://api.motorstate.com/api/Product?partNumbers=ZMA88-004 [Friday 12th of June 2026 12:17:28 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: ZMA88-004 - Base: 8.99 | Cost: 7.25 [Friday 12th of June 2026 12:17:28 PM] obtain_current_prices() - Returning Motorstate prices for SKU: ZMA88-004 - Base: 8.99 | Cost: 7.25 [Friday 12th of June 2026 12:17:28 PM] obtain_current_prices() - END - SKU: ZMA88-004 [Friday 12th of June 2026 12:17:28 PM] SKU ZMA88-004 has existing EBMS prices - syncing BigCommerce price back (cost: 7.25, base: 8.99) [Friday 12th of June 2026 12:17:28 PM] update_product_price() - START - Product ID: 65384 | Base: 8.99 | Cost: 7.25 [Friday 12th of June 2026 12:17:28 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65384 [Friday 12th of June 2026 12:17:28 PM] update_product_price() - PUT payload: {"price":8.9900000000000002131628207280300557613372802734375,"cost_price":7.25} [Friday 12th of June 2026 12:17:28 PM] update_product_price() - Attempt 1 of 6 for Product ID: 65384 [Friday 12th of June 2026 12:17:28 PM] update_product_price() - Price updated successfully for Product ID: 65384 - Base: 8.99 | Cost: 7.25 [Friday 12th of June 2026 12:17:28 PM] update_product_price() - END - Product ID: 65384 | Result: success [Friday 12th of June 2026 12:17:28 PM] BigCommerce price updated for Product ID: 65384 [Friday 12th of June 2026 12:17:28 PM] get_product_inventory() - START - SKU: ZMA88-004 [Friday 12th of June 2026 12:17:28 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ZMA88-004 [Friday 12th of June 2026 12:17:28 PM] get_product_inventory() - Motorstate API call successful for SKU: ZMA88-004 [Friday 12th of June 2026 12:17:28 PM] get_product_inventory() - Stock found for SKU: ZMA88-004 - Quantity: 34 | Running Total: 34 [Friday 12th of June 2026 12:17:28 PM] get_product_inventory() - END - SKU: ZMA88-004 | Total: 34 [Friday 12th of June 2026 12:17:28 PM] get_cf_id() - START - Product ID: 65384 [Friday 12th of June 2026 12:17:28 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65384/custom-fields [Friday 12th of June 2026 12:17:29 PM] get_cf_id() - BigCommerce API call successful for Product ID: 65384 [Friday 12th of June 2026 12:17:29 PM] get_cf_id() - Custom field found for Product ID: 65384 | Field: online_stock_level | CF ID: 65274 [Friday 12th of June 2026 12:17:29 PM] get_cf_id() - END - Product ID: 65384 | CF ID: 65274 [Friday 12th of June 2026 12:17:29 PM] Updating inventory for SKU ZMA88-004 - stock: 34, CF ID: 65274 [Friday 12th of June 2026 12:17:29 PM] update_product_inventory() - START - Product ID: 65384 | Stock: 34 | CF ID: 65274 [Friday 12th of June 2026 12:17:29 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65384/custom-fields/65274 [Friday 12th of June 2026 12:17:29 PM] update_product_inventory() - Inventory updated successfully for Product ID: 65384 | Stock: 34 [Friday 12th of June 2026 12:17:29 PM] update_product_inventory() - END - Product ID: 65384 | Result: success [Friday 12th of June 2026 12:17:29 PM] Inventory updated for SKU: ZMA88-004 [Friday 12th of June 2026 12:17:29 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"ZMA88-004","M_QUAN_VIS":3,"UNIT":"8.99","UNIT_MEAS":"EA"}] [Friday 12th of June 2026 12:17:29 PM] Building payment record - Total: 48.3400 [Friday 12th of June 2026 12:17:29 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1926","ADDRESS1":"8084 Hwy 351","ADDRESS2":"","C_ADDRESS1":"8084 Hwy 351","C_ADDRESS2":"","C_CITY":"Jonesboro 72405","C_COUNTRY":"USA","C_EMAIL":"landsdavis52@yahoo.com","C_NAME":"Lay Davis ","C_STATE":"AR","C_ZIP":"72405","ShippingAmount":"21.37","CITY":"Jonesboro 72405","EMAIL":"landsdavis52@yahoo.com","ID":"APONLINE","NAME":"Lay Davis ","STATE":"AR","COUNTRY":"USA","ZIP":"72405","MEMO":"","DESCR":"BigCommerce Order - AP1926 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"ZMA88-004","M_QUAN_VIS":3,"UNIT":"8.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"48.34","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 12th of June 2026 12:17:29 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1926 [Friday 12th of June 2026 12:17:29 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1926%27 [Friday 12th of June 2026 12:17:29 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1926 [Friday 12th of June 2026 12:17:29 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1926 not found in EBMS [Friday 12th of June 2026 12:17:29 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1926 | Found: false [Friday 12th of June 2026 12:17:29 PM] Invoice AP1926 does not exist in EBMS - creating [Friday 12th of June 2026 12:17:29 PM] create_ebms_invoice() - START - Invoice: AP1926 [Friday 12th of June 2026 12:17:29 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1926","ADDRESS1":"8084 Hwy 351","ADDRESS2":"","C_ADDRESS1":"8084 Hwy 351","C_ADDRESS2":"","C_CITY":"Jonesboro 72405","C_COUNTRY":"USA","C_EMAIL":"landsdavis52@yahoo.com","C_NAME":"Lay Davis ","C_STATE":"AR","C_ZIP":"72405","ShippingAmount":"21.37","CITY":"Jonesboro 72405","EMAIL":"landsdavis52@yahoo.com","ID":"APONLINE","NAME":"Lay Davis ","STATE":"AR","COUNTRY":"USA","ZIP":"72405","MEMO":"","DESCR":"BigCommerce Order - AP1926 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"ZMA88-004","M_QUAN_VIS":3,"UNIT":"8.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"48.34","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 12th of June 2026 12:17:29 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Friday 12th of June 2026 12:17:36 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP1926 [Friday 12th of June 2026 12:17:36 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP1926 - Response: {"@odata.context":"http:\/\/localhost:53351\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"44565542-4d47-5332-3436-4a4732303030","AUTOID":"BUVDGM2S46JG2000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-26.969999999999998863131622783839702606201171875,"BAL_CUST_X":-26.969999999999998863131622783839702606201171875,"BALANCE":-26.969999999999998863131622783839702606201171875,"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":48.340000000000003410605131648480892181396484375,"TOTAL_S_SO":26.969999999999998863131622783839702606201171875,"TOTAL_SO":48.340000000000003410605131648480892181396484375,"TOTAL_W":0,"TTLPROCPMT":48.340000000000003410605131648480892181396484375,"TOTAL":21.370000000000000994759830064140260219573974609375,"FREIGHT":21.370000000000000994759830064140260219573974609375,"HANDLING":0,"SHIPPING":21.370000000000000994759830064140260219573974609375,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"8084 Hwy 351","ADDRESS2":"","C_EMAIL":"landsdavis52@yahoo.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-06-12T00:00:00Z","CHECK_NO":" APBC","CITY":"Jonesboro 72405","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-06-12T00:00:00Z","E_DATE":"2026-06-12T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"landsdavis52@yahoo.com","IADDRESS":"8084 Hwy 351 , Jonesboro 72405, AR 72405","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-06-12T00:00:00Z","INVOICE":"AP1926","MAN_TAX":false,"NAME":"Lay Davis","PHONE":"","PROCESS":"Default","STATE":"AR","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"72405","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"8084 Hwy 351","C_ADDRESS2":"","C_CITY":"Jonesboro 72405","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"Lay Davis","C_STATE":"AR","C_ZIP":"72405","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP1926 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-06-12T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Friday 12th of June 2026 12:17:36 PM] create_ebms_invoice() - END - Invoice: AP1926 [Friday 12th of June 2026 12:17:36 PM] Invoice AP1926 created successfully [Friday 12th of June 2026 12:17:36 PM] ORDER WEBHOOK COMPLETED - Order ID: 1926 | Invoice: AP1926 [Friday 12th of June 2026 12:18:34 PM] ORDER WEBHOOK STARTED - Order ID: 1926 [Friday 12th of June 2026 12:18:34 PM] Fetching customer data for Order ID: 1926 [Friday 12th of June 2026 12:18:34 PM] get_order_customer_data() - START - Order ID: 1926 [Friday 12th of June 2026 12:18:34 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1926 [Friday 12th of June 2026 12:18:34 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1926 [Friday 12th of June 2026 12:18:34 PM] get_order_customer_data() - Parsing order response for Order ID: 1926 [Friday 12th of June 2026 12:18:34 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Lay Davis | Email: landsdavis52@yahoo.com | Total: 48.3400 | Shipping: 21.37 [Friday 12th of June 2026 12:18:34 PM] get_order_customer_data() - END - Order ID: 1926 [Friday 12th of June 2026 12:18:34 PM] Customer data received: {"id":0,"email":"landsdavis52@yahoo.com","address_1":"8084 Hwy 351","address_2":"","city":"Jonesboro 72405","state":"AR","country":"USA","zip":"72405","f_name":"Lay","l_name":"Davis ","contact_5":"landsdavis52@yahoo.com","contact_1":"18702153765","contact_4":"Lay Davis "} [Friday 12th of June 2026 12:18:34 PM] Fetching shipping info for Order ID: 1926 [Friday 12th of June 2026 12:18:34 PM] get_order_shipping_info() - START - Order ID: 1926 [Friday 12th of June 2026 12:18:34 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1926/shipping_addresses [Friday 12th of June 2026 12:18:34 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1926 [Friday 12th of June 2026 12:18:34 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1926 | Name: Lay Davis | Address: 8084 Hwy 351, Jonesboro 72405, Arkansas, 72405 [Friday 12th of June 2026 12:18:34 PM] get_order_shipping_info() - END - Order ID: 1926 [Friday 12th of June 2026 12:18:34 PM] Shipping info received: {"id":1825,"order_id":1926,"first_name":"Lay","last_name":"Davis ","company":"","street_1":"8084 Hwy 351","street_2":"","city":"Jonesboro 72405","zip":"72405","country":"United States","country_iso2":"US","state":"Arkansas","email":"landsdavis52@yahoo.com","phone":"18702153765","items_total":3,"items_shipped":0,"shipping_method":"FedEx Ground \u00ae","base_cost":"21.3700","cost_ex_tax":"21.3700","cost_inc_tax":"21.3700","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":1,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/1926\/shipping_addresses\/1825\/shipping_quotes","resource":"\/orders\/1926\/shipping_addresses\/1825\/shipping_quotes"},"form_fields":[]} [Friday 12th of June 2026 12:18:34 PM] Resolved Customer ID: APONLINE [Friday 12th of June 2026 12:18:34 PM] Building order object for Invoice: AP1926 [Friday 12th of June 2026 12:18:34 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1926","ADDRESS1":"8084 Hwy 351","ADDRESS2":"","C_ADDRESS1":"8084 Hwy 351","C_ADDRESS2":"","C_CITY":"Jonesboro 72405","C_COUNTRY":"USA","C_EMAIL":"landsdavis52@yahoo.com","C_NAME":"Lay Davis ","C_STATE":"AR","C_ZIP":"72405","ShippingAmount":"21.37","CITY":"Jonesboro 72405","EMAIL":"landsdavis52@yahoo.com","ID":"APONLINE","NAME":"Lay Davis ","STATE":"AR","COUNTRY":"USA","ZIP":"72405","MEMO":"","DESCR":"BigCommerce Order - AP1926 - Customer APONLINE"} [Friday 12th of June 2026 12:18:34 PM] Guest checkout detected (APONLINE) - skipping customer sync [Friday 12th of June 2026 12:18:34 PM] Fetching products from BigCommerce for Order ID: 1926 [Friday 12th of June 2026 12:18:35 PM] BigCommerce API call successful for Order ID: 1926 [Friday 12th of June 2026 12:18:35 PM] Products received: 1 item(s) [Friday 12th of June 2026 12:18:35 PM] Processing product SKU: ZMA88-004 | Qty: 3 | Price: 8.9900 [Friday 12th of June 2026 12:18:35 PM] get_mpn() - START - Product ID: 65384 [Friday 12th of June 2026 12:18:35 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65384 [Friday 12th of June 2026 12:18:35 PM] get_mpn() - BigCommerce API call successful for Product ID: 65384 [Friday 12th of June 2026 12:18:35 PM] get_mpn() - WARNING - MPN is empty for Product ID: 65384 [Friday 12th of June 2026 12:18:35 PM] get_mpn() - END - Product ID: 65384 | MPN: [Friday 12th of June 2026 12:18:35 PM] check_for_ebms_product() - START - SKU: ZMA88-004 [Friday 12th of June 2026 12:18:35 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ZMA88-004%27 [Friday 12th of June 2026 12:18:35 PM] check_for_ebms_product() - EBMS API call successful for SKU: ZMA88-004 [Friday 12th of June 2026 12:18:35 PM] check_for_ebms_product() - SKU: ZMA88-004 found in EBMS [Friday 12th of June 2026 12:18:35 PM] check_for_ebms_product() - END - SKU: ZMA88-004 | Found: true [Friday 12th of June 2026 12:18:35 PM] SKU ZMA88-004 found in EBMS - checking prices [Friday 12th of June 2026 12:18:35 PM] obtain_current_prices() - START - SKU: ZMA88-004 [Friday 12th of June 2026 12:18:35 PM] obtain_current_prices() - Checking Motorstate for SKU: ZMA88-004 [Friday 12th of June 2026 12:18:35 PM] check_for_ms_product() - START - SKU: ZMA88-004 [Friday 12th of June 2026 12:18:35 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ZMA88-004 [Friday 12th of June 2026 12:18:35 PM] check_for_ms_product() - Motorstate API call successful for SKU: ZMA88-004 [Friday 12th of June 2026 12:18:35 PM] check_for_ms_product() - SKU: ZMA88-004 found in Motorstate [Friday 12th of June 2026 12:18:35 PM] check_for_ms_product() - END - SKU: ZMA88-004 | Found: true [Friday 12th of June 2026 12:18:35 PM] obtain_current_prices() - SKU: ZMA88-004 found in Motorstate - Fetching prices [Friday 12th of June 2026 12:18:35 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ZMA88-004 - URL: https://api.motorstate.com/api/Product?partNumbers=ZMA88-004 [Friday 12th of June 2026 12:18:36 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: ZMA88-004 - Base: 8.99 | Cost: 7.25 [Friday 12th of June 2026 12:18:36 PM] obtain_current_prices() - Returning Motorstate prices for SKU: ZMA88-004 - Base: 8.99 | Cost: 7.25 [Friday 12th of June 2026 12:18:36 PM] obtain_current_prices() - END - SKU: ZMA88-004 [Friday 12th of June 2026 12:18:36 PM] SKU ZMA88-004 has existing EBMS prices - syncing BigCommerce price back (cost: 7.25, base: 8.99) [Friday 12th of June 2026 12:18:36 PM] update_product_price() - START - Product ID: 65384 | Base: 8.99 | Cost: 7.25 [Friday 12th of June 2026 12:18:36 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65384 [Friday 12th of June 2026 12:18:36 PM] update_product_price() - PUT payload: {"price":8.9900000000000002131628207280300557613372802734375,"cost_price":7.25} [Friday 12th of June 2026 12:18:36 PM] update_product_price() - Attempt 1 of 6 for Product ID: 65384 [Friday 12th of June 2026 12:18:36 PM] update_product_price() - Price updated successfully for Product ID: 65384 - Base: 8.99 | Cost: 7.25 [Friday 12th of June 2026 12:18:36 PM] update_product_price() - END - Product ID: 65384 | Result: success [Friday 12th of June 2026 12:18:36 PM] BigCommerce price updated for Product ID: 65384 [Friday 12th of June 2026 12:18:36 PM] get_product_inventory() - START - SKU: ZMA88-004 [Friday 12th of June 2026 12:18:36 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ZMA88-004 [Friday 12th of June 2026 12:18:36 PM] get_product_inventory() - Motorstate API call successful for SKU: ZMA88-004 [Friday 12th of June 2026 12:18:36 PM] get_product_inventory() - Stock found for SKU: ZMA88-004 - Quantity: 34 | Running Total: 34 [Friday 12th of June 2026 12:18:36 PM] get_product_inventory() - END - SKU: ZMA88-004 | Total: 34 [Friday 12th of June 2026 12:18:36 PM] get_cf_id() - START - Product ID: 65384 [Friday 12th of June 2026 12:18:36 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65384/custom-fields [Friday 12th of June 2026 12:18:36 PM] get_cf_id() - BigCommerce API call successful for Product ID: 65384 [Friday 12th of June 2026 12:18:36 PM] get_cf_id() - Custom field found for Product ID: 65384 | Field: online_stock_level | CF ID: 65274 [Friday 12th of June 2026 12:18:36 PM] get_cf_id() - END - Product ID: 65384 | CF ID: 65274 [Friday 12th of June 2026 12:18:36 PM] Updating inventory for SKU ZMA88-004 - stock: 34, CF ID: 65274 [Friday 12th of June 2026 12:18:36 PM] update_product_inventory() - START - Product ID: 65384 | Stock: 34 | CF ID: 65274 [Friday 12th of June 2026 12:18:36 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65384/custom-fields/65274 [Friday 12th of June 2026 12:18:36 PM] update_product_inventory() - Inventory updated successfully for Product ID: 65384 | Stock: 34 [Friday 12th of June 2026 12:18:36 PM] update_product_inventory() - END - Product ID: 65384 | Result: success [Friday 12th of June 2026 12:18:36 PM] Inventory updated for SKU: ZMA88-004 [Friday 12th of June 2026 12:18:36 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"ZMA88-004","M_QUAN_VIS":3,"UNIT":"8.99","UNIT_MEAS":"EA"}] [Friday 12th of June 2026 12:18:36 PM] Building payment record - Total: 48.3400 [Friday 12th of June 2026 12:18:36 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1926","ADDRESS1":"8084 Hwy 351","ADDRESS2":"","C_ADDRESS1":"8084 Hwy 351","C_ADDRESS2":"","C_CITY":"Jonesboro 72405","C_COUNTRY":"USA","C_EMAIL":"landsdavis52@yahoo.com","C_NAME":"Lay Davis ","C_STATE":"AR","C_ZIP":"72405","ShippingAmount":"21.37","CITY":"Jonesboro 72405","EMAIL":"landsdavis52@yahoo.com","ID":"APONLINE","NAME":"Lay Davis ","STATE":"AR","COUNTRY":"USA","ZIP":"72405","MEMO":"","DESCR":"BigCommerce Order - AP1926 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"ZMA88-004","M_QUAN_VIS":3,"UNIT":"8.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"48.34","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 12th of June 2026 12:18:36 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1926 [Friday 12th of June 2026 12:18:36 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1926%27 [Friday 12th of June 2026 12:18:37 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1926 [Friday 12th of June 2026 12:18:37 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1926 found in EBMS [Friday 12th of June 2026 12:18:37 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1926 | Found: true [Friday 12th of June 2026 12:18:37 PM] Invoice AP1926 already exists in EBMS - patching [Friday 12th of June 2026 12:18:37 PM] patch_ebms_invoice() - START - Invoice: AP1926 [Friday 12th of June 2026 12:18:37 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1926","ADDRESS1":"8084 Hwy 351","ADDRESS2":"","C_ADDRESS1":"8084 Hwy 351","C_ADDRESS2":"","C_CITY":"Jonesboro 72405","C_COUNTRY":"USA","C_EMAIL":"landsdavis52@yahoo.com","C_NAME":"Lay Davis ","C_STATE":"AR","C_ZIP":"72405","ShippingAmount":"21.37","CITY":"Jonesboro 72405","EMAIL":"landsdavis52@yahoo.com","ID":"APONLINE","NAME":"Lay Davis ","STATE":"AR","COUNTRY":"USA","ZIP":"72405","MEMO":"","DESCR":"BigCommerce Order - AP1926 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"ZMA88-004","M_QUAN_VIS":3,"UNIT":"8.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"48.34","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 12th of June 2026 12:18:37 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1926%27 [Friday 12th of June 2026 12:18:38 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP1926 [Friday 12th of June 2026 12:18:38 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP1926 [Friday 12th of June 2026 12:18:38 PM] patch_ebms_invoice() - END - Invoice: AP1926 [Friday 12th of June 2026 12:18:38 PM] Invoice AP1926 patched successfully [Friday 12th of June 2026 12:18:38 PM] ORDER WEBHOOK COMPLETED - Order ID: 1926 | Invoice: AP1926