[Wednesday 2nd of September 2026 05:25:11 AM] add_customer() - START - Customer ID: 545 | Name: Ken Agahi [Wednesday 2nd of September 2026 05:25:11 AM] add_customer() - Customer payload: {"id":545,"email":"slmorrisn@gmail.com","address_1":"9315 Bellbeck Rd","address_2":"","city":"Parkville","state":"MD","country":"USA","zip":"21234","f_name":"Ken","l_name":"Agahi","contact_5":"slmorrisn@gmail.com","contact_1":"4104919723","contact_4":"Ken Agahi"} [Wednesday 2nd of September 2026 05:25:11 AM] add_customer() - Customer fields parsed - ID: AP545 | Address: 9315 Bellbeck Rd, Parkville, MD 21234 | Email: slmorrisn@gmail.com [Wednesday 2nd of September 2026 05:25:11 AM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Wednesday 2nd of September 2026 05:25:11 AM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"9315 Bellbeck Rd","ADDRESS2":"","CITY":"Parkville","CONTACT_5":"slmorrisn@gmail.com","CONTACT_1":"4104919723","CONTACT_4":"Ken Agahi","COUNTRY":"USA","F_NAME":"Ken","ID":"AP545","L_NAME":"Agahi","STATE":"MD","ZIP":"21234"} [Wednesday 2nd of September 2026 05:25:14 AM] add_customer() - EBMS API call successful for Customer ID: AP545 [Wednesday 2nd of September 2026 05:25:14 AM] add_customer() - Customer created successfully in EBMS - ID: AP545 - Response: {"@odata.context":"http:\/\/localhost:63284\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"4d424c4e-554d-3749-474a-434f32303030","AUTOID":"NLBMMUI7GJCO2000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Ken Agahi","ADDRESS1":"9315 Bellbeck Rd","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Parkville","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-09-02T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"slmorrisn@gmail.com","EMAIL_LIST":false,"F_NAME":"Ken","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP545","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Agahi","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Ken Agahi)","OUT_CITY":false,"PHONE":"(410) 491-9723","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"MD","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"21234","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(410) 491-9723","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Ken Agahi","CONTACT_5":"slmorrisn@gmail.com","EXTERNALID":""} [Wednesday 2nd of September 2026 05:25:14 AM] add_customer() - END - Customer ID: AP545 [Wednesday 2nd of September 2026 08:43:29 AM] ORDER WEBHOOK STARTED - Order ID: 2201 [Wednesday 2nd of September 2026 08:43:29 AM] Fetching customer data for Order ID: 2201 [Wednesday 2nd of September 2026 08:43:29 AM] get_order_customer_data() - START - Order ID: 2201 [Wednesday 2nd of September 2026 08:43:29 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2201 [Wednesday 2nd of September 2026 08:43:29 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2201 [Wednesday 2nd of September 2026 08:43:29 AM] get_order_customer_data() - Parsing order response for Order ID: 2201 [Wednesday 2nd of September 2026 08:43:29 AM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: john robinson | Email: mrbscustom@gmail.com | Total: 139.6300 | Shipping: 14.64 [Wednesday 2nd of September 2026 08:43:29 AM] get_order_customer_data() - END - Order ID: 2201 [Wednesday 2nd of September 2026 08:43:29 AM] Customer data received: {"id":0,"email":"mrbscustom@gmail.com","address_1":"1219 E Main St","address_2":"","city":"Rock Hill","state":"SC","country":"USA","zip":"29730","f_name":"john","l_name":"robinson","contact_5":"mrbscustom@gmail.com","contact_1":"8033244858","contact_4":"john robinson"} [Wednesday 2nd of September 2026 08:43:29 AM] Fetching shipping info for Order ID: 2201 [Wednesday 2nd of September 2026 08:43:29 AM] get_order_shipping_info() - START - Order ID: 2201 [Wednesday 2nd of September 2026 08:43:29 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2201/shipping_addresses [Wednesday 2nd of September 2026 08:43:29 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2201 [Wednesday 2nd of September 2026 08:43:29 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2201 | Name: john robinson | Address: 1219 E Main St, Rock Hill, South Carolina, 29730 [Wednesday 2nd of September 2026 08:43:29 AM] get_order_shipping_info() - END - Order ID: 2201 [Wednesday 2nd of September 2026 08:43:29 AM] Shipping info received: {"id":2100,"order_id":2201,"first_name":"john","last_name":"robinson","company":"Mr. B's Custom Speed","street_1":"1219 E Main St","street_2":"","city":"Rock Hill","zip":"29730","country":"United States","country_iso2":"US","state":"South Carolina","email":"mrbscustom@gmail.com","phone":"8033244858","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"14.6400","cost_ex_tax":"14.6400","cost_inc_tax":"14.6400","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\/2201\/shipping_addresses\/2100\/shipping_quotes","resource":"\/orders\/2201\/shipping_addresses\/2100\/shipping_quotes"},"form_fields":[]} [Wednesday 2nd of September 2026 08:43:29 AM] Resolved Customer ID: APONLINE [Wednesday 2nd of September 2026 08:43:29 AM] Building order object for Invoice: AP2201 [Wednesday 2nd of September 2026 08:43:29 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2201","ADDRESS1":"1219 E Main St","ADDRESS2":"","C_ADDRESS1":"1219 E Main St","C_ADDRESS2":"","C_CITY":"Rock Hill","C_COUNTRY":"USA","C_EMAIL":"mrbscustom@gmail.com","C_NAME":"john robinson","C_STATE":"SC","C_ZIP":"29730","ShippingAmount":"14.64","CITY":"Rock Hill","EMAIL":"mrbscustom@gmail.com","ID":"APONLINE","NAME":"john robinson","STATE":"SC","COUNTRY":"USA","ZIP":"29730","MEMO":"","DESCR":"BigCommerce Order - AP2201 - Customer APONLINE"} [Wednesday 2nd of September 2026 08:43:29 AM] Guest checkout detected (APONLINE) - skipping customer sync [Wednesday 2nd of September 2026 08:43:29 AM] Fetching products from BigCommerce for Order ID: 2201 [Wednesday 2nd of September 2026 08:43:29 AM] BigCommerce API call successful for Order ID: 2201 [Wednesday 2nd of September 2026 08:43:29 AM] Products received: 1 item(s) [Wednesday 2nd of September 2026 08:43:29 AM] Processing product SKU: BDSBB-16968M75 | Qty: 1 | Price: 124.9900 [Wednesday 2nd of September 2026 08:43:29 AM] get_mpn() - START - Product ID: 16074 [Wednesday 2nd of September 2026 08:43:29 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/16074 [Wednesday 2nd of September 2026 08:43:30 AM] get_mpn() - BigCommerce API call successful for Product ID: 16074 [Wednesday 2nd of September 2026 08:43:30 AM] get_mpn() - WARNING - MPN is empty for Product ID: 16074 [Wednesday 2nd of September 2026 08:43:30 AM] get_mpn() - END - Product ID: 16074 | MPN: [Wednesday 2nd of September 2026 08:43:30 AM] check_for_ebms_product() - START - SKU: BDSBB-16968M75 [Wednesday 2nd of September 2026 08:43:30 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27BDSBB-16968M75%27 [Wednesday 2nd of September 2026 08:43:30 AM] check_for_ebms_product() - EBMS API call successful for SKU: BDSBB-16968M75 [Wednesday 2nd of September 2026 08:43:30 AM] check_for_ebms_product() - SKU: BDSBB-16968M75 not found in EBMS [Wednesday 2nd of September 2026 08:43:30 AM] check_for_ebms_product() - END - SKU: BDSBB-16968M75 | Found: false [Wednesday 2nd of September 2026 08:43:30 AM] SKU BDSBB-16968M75 not found in EBMS - creating new part [Wednesday 2nd of September 2026 08:43:30 AM] get_product_desc() - START - Product ID: 16074 [Wednesday 2nd of September 2026 08:43:30 AM] get_product_desc() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/16074 [Wednesday 2nd of September 2026 08:43:30 AM] get_product_desc() - BigCommerce API call successful for Product ID: 16074 [Wednesday 2nd of September 2026 08:43:30 AM] get_product_desc() - Description retrieved for Product ID: 16074 - Description: HTD Drive Belt - 212 Tooth - 66.70 in Long - 3 in Wide - 8 mm Pitch - Each [Wednesday 2nd of September 2026 08:43:30 AM] get_product_desc() - END - Product ID: 16074 [Wednesday 2nd of September 2026 08:43:30 AM] get_ms_product() - START - SKU: BDSBB-16968M75 [Wednesday 2nd of September 2026 08:43:30 AM] get_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=BDSBB-16968M75 [Wednesday 2nd of September 2026 08:43:31 AM] get_ms_product() - Motorstate API call successful for SKU: BDSBB-16968M75 [Wednesday 2nd of September 2026 08:43:31 AM] get_ms_product() - Product data retrieved from Motorstate for SKU: BDSBB-16968M75 - Response: [{"Found":true,"PartNumber":"BDSBB-16968M75","Product":{"PartNumber":"bdsbb-16968m75","VendorPartNumber":"BB-16968M75","Status":1,"IsStocking":true,"ShortDescription":"8mm Blower Belt - 212T 66.7in x 3in","Quantity":3,"CustomerPrice":113.9500,"CustomerPriceNonPromotional":113.9500,"BasePrice":113.95,"ListPrice":124.99,"MapPrice":0.0,"IsMapRestricted":false,"CanSpecialOrder":true,"CanDropShip":true,"DropShipCharge":10.0,"SpecialOrderDetails":"","MotorStateNotes":"","CanRegularBackOrder":true}}] [Wednesday 2nd of September 2026 08:43:31 AM] get_ms_product() - END - SKU: BDSBB-16968M75 [Wednesday 2nd of September 2026 08:43:31 AM] MS pricing found for SKU BDSBB-16968M75 - base: 124.99, cost: 113.95 [Wednesday 2nd of September 2026 08:43:31 AM] create_new_part() - START - SKU: BDSBB-16968M75 | Base: 124.99 | Cost: 113.95 | Weight: 1.8000 | MPN: [Wednesday 2nd of September 2026 08:43:31 AM] create_new_part() - Description parsed - DESCR_1: HTD Drive Belt - 212 Tooth - 66.70 in Long - 3 in Wide - 8 mm Pitch - Each | DESCR_2: [Wednesday 2nd of September 2026 08:43:31 AM] create_new_part() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY [Wednesday 2nd of September 2026 08:43:31 AM] create_new_part() - POST payload: {"ID":"BDSBB-16968M75","DESCR_1":"HTD Drive Belt - 212 Tooth - 66.70 in Long - 3 in Wide - 8 mm Pitch - Each","DESCR_2":"","DESCR_3":"HTD Drive Belt - 212 Tooth - 66.70 in Long - 3 in Wide - 8 mm Pitch - Each","DESCR_3PRN":false,"DESCR_3PRP":false,"COST":"113.95","BASE":"124.99","WEIGHT":"1.8000","MFG_PART":"","TREE_ID":"603"} [Wednesday 2nd of September 2026 08:43:33 AM] create_new_part() - EBMS API call successful for SKU: BDSBB-16968M75 [Wednesday 2nd of September 2026 08:43:33 AM] create_new_part() - Part created successfully in EBMS - SKU: BDSBB-16968M75 - {"id":"BDSBB-16968M75","cost":"113.95","base":"124.99","description":"HTD Drive Belt - 212 Tooth - 66.70 in Long - 3 in Wide - 8 mm Pitch - Each","tree_id":" 603"} [Wednesday 2nd of September 2026 08:43:33 AM] create_new_part() - Sending new part notification email for SKU: BDSBB-16968M75 [Wednesday 2nd of September 2026 08:43:34 AM] create_new_part() - Notification email sent successfully for SKU: BDSBB-16968M75 [Wednesday 2nd of September 2026 08:43:34 AM] create_new_part() - END - SKU: BDSBB-16968M75 [Wednesday 2nd of September 2026 08:43:34 AM] New part created in EBMS for SKU: BDSBB-16968M75 [Wednesday 2nd of September 2026 08:43:34 AM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"BDSBB-16968M75","M_QUAN_VIS":1,"UNIT":"124.99","UNIT_MEAS":"EA"}] [Wednesday 2nd of September 2026 08:43:34 AM] Building payment record - Total: 139.6300 [Wednesday 2nd of September 2026 08:43:34 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2201","ADDRESS1":"1219 E Main St","ADDRESS2":"","C_ADDRESS1":"1219 E Main St","C_ADDRESS2":"","C_CITY":"Rock Hill","C_COUNTRY":"USA","C_EMAIL":"mrbscustom@gmail.com","C_NAME":"john robinson","C_STATE":"SC","C_ZIP":"29730","ShippingAmount":"14.64","CITY":"Rock Hill","EMAIL":"mrbscustom@gmail.com","ID":"APONLINE","NAME":"john robinson","STATE":"SC","COUNTRY":"USA","ZIP":"29730","MEMO":"","DESCR":"BigCommerce Order - AP2201 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"BDSBB-16968M75","M_QUAN_VIS":1,"UNIT":"124.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"139.63","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 2nd of September 2026 08:43:34 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2201 [Wednesday 2nd of September 2026 08:43:34 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2201%27 [Wednesday 2nd of September 2026 08:43:34 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2201 [Wednesday 2nd of September 2026 08:43:34 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2201 not found in EBMS [Wednesday 2nd of September 2026 08:43:34 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2201 | Found: false [Wednesday 2nd of September 2026 08:43:34 AM] Invoice AP2201 does not exist in EBMS - creating [Wednesday 2nd of September 2026 08:43:34 AM] create_ebms_invoice() - START - Invoice: AP2201 [Wednesday 2nd of September 2026 08:43:34 AM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2201","ADDRESS1":"1219 E Main St","ADDRESS2":"","C_ADDRESS1":"1219 E Main St","C_ADDRESS2":"","C_CITY":"Rock Hill","C_COUNTRY":"USA","C_EMAIL":"mrbscustom@gmail.com","C_NAME":"john robinson","C_STATE":"SC","C_ZIP":"29730","ShippingAmount":"14.64","CITY":"Rock Hill","EMAIL":"mrbscustom@gmail.com","ID":"APONLINE","NAME":"john robinson","STATE":"SC","COUNTRY":"USA","ZIP":"29730","MEMO":"","DESCR":"BigCommerce Order - AP2201 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"BDSBB-16968M75","M_QUAN_VIS":1,"UNIT":"124.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"139.63","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 2nd of September 2026 08:43:34 AM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Wednesday 2nd of September 2026 08:43:41 AM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2201 [Wednesday 2nd of September 2026 08:43:41 AM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2201 - Response: {"@odata.context":"http:\/\/localhost:63284\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"47355256-4450-3845-4b4a-434f32303030","AUTOID":"VR5GPDE8KJCO2000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-124.9899999999999948840923025272786617279052734375,"BAL_CUST_X":-124.9899999999999948840923025272786617279052734375,"BALANCE":-124.9899999999999948840923025272786617279052734375,"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":139.6299999999999954525264911353588104248046875,"TOTAL_S_SO":124.9899999999999948840923025272786617279052734375,"TOTAL_SO":139.6299999999999954525264911353588104248046875,"TOTAL_W":0,"TTLPROCPMT":139.6299999999999954525264911353588104248046875,"TOTAL":14.6400000000000005684341886080801486968994140625,"FREIGHT":14.6400000000000005684341886080801486968994140625,"HANDLING":0,"SHIPPING":14.6400000000000005684341886080801486968994140625,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"1219 E Main St","ADDRESS2":"","C_EMAIL":"mrbscustom@gmail.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-09-02T00:00:00Z","CHECK_NO":" APBC","CITY":"Rock Hill","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-09-02T00:00:00Z","E_DATE":"2026-09-02T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"mrbscustom@gmail.com","IADDRESS":"1219 E Main St , Rock Hill, SC 29730","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-09-02T00:00:00Z","INVOICE":"AP2201","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"john robinson","PHONE":"","PROCESS":"Default","STATE":"SC","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"29730","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"1219 E Main St","C_ADDRESS2":"","C_CITY":"Rock Hill","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"john robinson","C_STATE":"SC","C_ZIP":"29730","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2201 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-09-02T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Wednesday 2nd of September 2026 08:43:41 AM] create_ebms_invoice() - END - Invoice: AP2201 [Wednesday 2nd of September 2026 08:43:41 AM] Invoice AP2201 created successfully [Wednesday 2nd of September 2026 08:43:41 AM] ORDER WEBHOOK COMPLETED - Order ID: 2201 | Invoice: AP2201 [Wednesday 2nd of September 2026 08:44:39 AM] ORDER WEBHOOK STARTED - Order ID: 2201 [Wednesday 2nd of September 2026 08:44:39 AM] Fetching customer data for Order ID: 2201 [Wednesday 2nd of September 2026 08:44:39 AM] get_order_customer_data() - START - Order ID: 2201 [Wednesday 2nd of September 2026 08:44:39 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2201 [Wednesday 2nd of September 2026 08:44:39 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2201 [Wednesday 2nd of September 2026 08:44:39 AM] get_order_customer_data() - Parsing order response for Order ID: 2201 [Wednesday 2nd of September 2026 08:44:39 AM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: john robinson | Email: mrbscustom@gmail.com | Total: 139.6300 | Shipping: 14.64 [Wednesday 2nd of September 2026 08:44:39 AM] get_order_customer_data() - END - Order ID: 2201 [Wednesday 2nd of September 2026 08:44:39 AM] Customer data received: {"id":0,"email":"mrbscustom@gmail.com","address_1":"1219 E Main St","address_2":"","city":"Rock Hill","state":"SC","country":"USA","zip":"29730","f_name":"john","l_name":"robinson","contact_5":"mrbscustom@gmail.com","contact_1":"8033244858","contact_4":"john robinson"} [Wednesday 2nd of September 2026 08:44:39 AM] Fetching shipping info for Order ID: 2201 [Wednesday 2nd of September 2026 08:44:39 AM] get_order_shipping_info() - START - Order ID: 2201 [Wednesday 2nd of September 2026 08:44:39 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2201/shipping_addresses [Wednesday 2nd of September 2026 08:44:39 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2201 [Wednesday 2nd of September 2026 08:44:39 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2201 | Name: john robinson | Address: 1219 E Main St, Rock Hill, South Carolina, 29730 [Wednesday 2nd of September 2026 08:44:39 AM] get_order_shipping_info() - END - Order ID: 2201 [Wednesday 2nd of September 2026 08:44:40 AM] Shipping info received: {"id":2100,"order_id":2201,"first_name":"john","last_name":"robinson","company":"Mr. B's Custom Speed","street_1":"1219 E Main St","street_2":"","city":"Rock Hill","zip":"29730","country":"United States","country_iso2":"US","state":"South Carolina","email":"mrbscustom@gmail.com","phone":"8033244858","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"14.6400","cost_ex_tax":"14.6400","cost_inc_tax":"14.6400","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\/2201\/shipping_addresses\/2100\/shipping_quotes","resource":"\/orders\/2201\/shipping_addresses\/2100\/shipping_quotes"},"form_fields":[]} [Wednesday 2nd of September 2026 08:44:40 AM] Resolved Customer ID: APONLINE [Wednesday 2nd of September 2026 08:44:40 AM] Building order object for Invoice: AP2201 [Wednesday 2nd of September 2026 08:44:40 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2201","ADDRESS1":"1219 E Main St","ADDRESS2":"","C_ADDRESS1":"1219 E Main St","C_ADDRESS2":"","C_CITY":"Rock Hill","C_COUNTRY":"USA","C_EMAIL":"mrbscustom@gmail.com","C_NAME":"john robinson","C_STATE":"SC","C_ZIP":"29730","ShippingAmount":"14.64","CITY":"Rock Hill","EMAIL":"mrbscustom@gmail.com","ID":"APONLINE","NAME":"john robinson","STATE":"SC","COUNTRY":"USA","ZIP":"29730","MEMO":"","DESCR":"BigCommerce Order - AP2201 - Customer APONLINE"} [Wednesday 2nd of September 2026 08:44:40 AM] Guest checkout detected (APONLINE) - skipping customer sync [Wednesday 2nd of September 2026 08:44:40 AM] Fetching products from BigCommerce for Order ID: 2201 [Wednesday 2nd of September 2026 08:44:40 AM] BigCommerce API call successful for Order ID: 2201 [Wednesday 2nd of September 2026 08:44:40 AM] Products received: 1 item(s) [Wednesday 2nd of September 2026 08:44:40 AM] Processing product SKU: BDSBB-16968M75 | Qty: 1 | Price: 124.9900 [Wednesday 2nd of September 2026 08:44:40 AM] get_mpn() - START - Product ID: 16074 [Wednesday 2nd of September 2026 08:44:40 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/16074 [Wednesday 2nd of September 2026 08:44:40 AM] get_mpn() - BigCommerce API call successful for Product ID: 16074 [Wednesday 2nd of September 2026 08:44:40 AM] get_mpn() - WARNING - MPN is empty for Product ID: 16074 [Wednesday 2nd of September 2026 08:44:40 AM] get_mpn() - END - Product ID: 16074 | MPN: [Wednesday 2nd of September 2026 08:44:40 AM] check_for_ebms_product() - START - SKU: BDSBB-16968M75 [Wednesday 2nd of September 2026 08:44:40 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27BDSBB-16968M75%27 [Wednesday 2nd of September 2026 08:44:40 AM] check_for_ebms_product() - EBMS API call successful for SKU: BDSBB-16968M75 [Wednesday 2nd of September 2026 08:44:40 AM] check_for_ebms_product() - SKU: BDSBB-16968M75 found in EBMS [Wednesday 2nd of September 2026 08:44:40 AM] check_for_ebms_product() - END - SKU: BDSBB-16968M75 | Found: true [Wednesday 2nd of September 2026 08:44:40 AM] SKU BDSBB-16968M75 found in EBMS - checking prices [Wednesday 2nd of September 2026 08:44:40 AM] obtain_current_prices() - START - SKU: BDSBB-16968M75 [Wednesday 2nd of September 2026 08:44:40 AM] obtain_current_prices() - Checking Motorstate for SKU: BDSBB-16968M75 [Wednesday 2nd of September 2026 08:44:40 AM] check_for_ms_product() - START - SKU: BDSBB-16968M75 [Wednesday 2nd of September 2026 08:44:40 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=BDSBB-16968M75 [Wednesday 2nd of September 2026 08:44:40 AM] check_for_ms_product() - Motorstate API call successful for SKU: BDSBB-16968M75 [Wednesday 2nd of September 2026 08:44:40 AM] check_for_ms_product() - SKU: BDSBB-16968M75 found in Motorstate [Wednesday 2nd of September 2026 08:44:40 AM] check_for_ms_product() - END - SKU: BDSBB-16968M75 | Found: true [Wednesday 2nd of September 2026 08:44:40 AM] obtain_current_prices() - SKU: BDSBB-16968M75 found in Motorstate - Fetching prices [Wednesday 2nd of September 2026 08:44:40 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: BDSBB-16968M75 - URL: https://api.motorstate.com/api/Product?partNumbers=BDSBB-16968M75 [Wednesday 2nd of September 2026 08:44:41 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: BDSBB-16968M75 - Base: 124.99 | Cost: 113.95 [Wednesday 2nd of September 2026 08:44:41 AM] obtain_current_prices() - Returning Motorstate prices for SKU: BDSBB-16968M75 - Base: 124.99 | Cost: 113.95 [Wednesday 2nd of September 2026 08:44:41 AM] obtain_current_prices() - END - SKU: BDSBB-16968M75 [Wednesday 2nd of September 2026 08:44:41 AM] SKU BDSBB-16968M75 has existing EBMS prices - syncing BigCommerce price back (cost: 113.95, base: 124.99) [Wednesday 2nd of September 2026 08:44:41 AM] update_product_price() - START - Product ID: 16074 | Base: 124.99 | Cost: 113.95 [Wednesday 2nd of September 2026 08:44:41 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/16074 [Wednesday 2nd of September 2026 08:44:41 AM] update_product_price() - PUT payload: {"price":124.9899999999999948840923025272786617279052734375,"cost_price":113.9500000000000028421709430404007434844970703125} [Wednesday 2nd of September 2026 08:44:41 AM] update_product_price() - Attempt 1 of 6 for Product ID: 16074 [Wednesday 2nd of September 2026 08:44:41 AM] update_product_price() - Price updated successfully for Product ID: 16074 - Base: 124.99 | Cost: 113.95 [Wednesday 2nd of September 2026 08:44:41 AM] update_product_price() - END - Product ID: 16074 | Result: success [Wednesday 2nd of September 2026 08:44:41 AM] BigCommerce price updated for Product ID: 16074 [Wednesday 2nd of September 2026 08:44:41 AM] get_product_inventory() - START - SKU: BDSBB-16968M75 [Wednesday 2nd of September 2026 08:44:41 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=BDSBB-16968M75 [Wednesday 2nd of September 2026 08:44:42 AM] get_product_inventory() - Motorstate API call successful for SKU: BDSBB-16968M75 [Wednesday 2nd of September 2026 08:44:42 AM] get_product_inventory() - Stock found for SKU: BDSBB-16968M75 - Quantity: 3 | Running Total: 3 [Wednesday 2nd of September 2026 08:44:42 AM] get_product_inventory() - END - SKU: BDSBB-16968M75 | Total: 3 [Wednesday 2nd of September 2026 08:44:42 AM] get_cf_id() - START - Product ID: 16074 [Wednesday 2nd of September 2026 08:44:42 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/16074/custom-fields [Wednesday 2nd of September 2026 08:44:42 AM] get_cf_id() - BigCommerce API call successful for Product ID: 16074 [Wednesday 2nd of September 2026 08:44:42 AM] get_cf_id() - Custom field found for Product ID: 16074 | Field: online_stock_level | CF ID: 15964 [Wednesday 2nd of September 2026 08:44:42 AM] get_cf_id() - END - Product ID: 16074 | CF ID: 15964 [Wednesday 2nd of September 2026 08:44:42 AM] Updating inventory for SKU BDSBB-16968M75 - stock: 3, CF ID: 15964 [Wednesday 2nd of September 2026 08:44:42 AM] update_product_inventory() - START - Product ID: 16074 | Stock: 3 | CF ID: 15964 [Wednesday 2nd of September 2026 08:44:42 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/16074/custom-fields/15964 [Wednesday 2nd of September 2026 08:44:42 AM] update_product_inventory() - Inventory updated successfully for Product ID: 16074 | Stock: 3 [Wednesday 2nd of September 2026 08:44:42 AM] update_product_inventory() - END - Product ID: 16074 | Result: success [Wednesday 2nd of September 2026 08:44:42 AM] Inventory updated for SKU: BDSBB-16968M75 [Wednesday 2nd of September 2026 08:44:42 AM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"BDSBB-16968M75","M_QUAN_VIS":1,"UNIT":"124.99","UNIT_MEAS":"EA"}] [Wednesday 2nd of September 2026 08:44:42 AM] Building payment record - Total: 139.6300 [Wednesday 2nd of September 2026 08:44:42 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2201","ADDRESS1":"1219 E Main St","ADDRESS2":"","C_ADDRESS1":"1219 E Main St","C_ADDRESS2":"","C_CITY":"Rock Hill","C_COUNTRY":"USA","C_EMAIL":"mrbscustom@gmail.com","C_NAME":"john robinson","C_STATE":"SC","C_ZIP":"29730","ShippingAmount":"14.64","CITY":"Rock Hill","EMAIL":"mrbscustom@gmail.com","ID":"APONLINE","NAME":"john robinson","STATE":"SC","COUNTRY":"USA","ZIP":"29730","MEMO":"","DESCR":"BigCommerce Order - AP2201 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"BDSBB-16968M75","M_QUAN_VIS":1,"UNIT":"124.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"139.63","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 2nd of September 2026 08:44:42 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2201 [Wednesday 2nd of September 2026 08:44:42 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2201%27 [Wednesday 2nd of September 2026 08:44:43 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2201 [Wednesday 2nd of September 2026 08:44:43 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2201 found in EBMS [Wednesday 2nd of September 2026 08:44:43 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2201 | Found: true [Wednesday 2nd of September 2026 08:44:43 AM] Invoice AP2201 already exists in EBMS - patching [Wednesday 2nd of September 2026 08:44:43 AM] patch_ebms_invoice() - START - Invoice: AP2201 [Wednesday 2nd of September 2026 08:44:43 AM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2201","ADDRESS1":"1219 E Main St","ADDRESS2":"","C_ADDRESS1":"1219 E Main St","C_ADDRESS2":"","C_CITY":"Rock Hill","C_COUNTRY":"USA","C_EMAIL":"mrbscustom@gmail.com","C_NAME":"john robinson","C_STATE":"SC","C_ZIP":"29730","ShippingAmount":"14.64","CITY":"Rock Hill","EMAIL":"mrbscustom@gmail.com","ID":"APONLINE","NAME":"john robinson","STATE":"SC","COUNTRY":"USA","ZIP":"29730","MEMO":"","DESCR":"BigCommerce Order - AP2201 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"BDSBB-16968M75","M_QUAN_VIS":1,"UNIT":"124.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"139.63","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 2nd of September 2026 08:44:43 AM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2201%27 [Wednesday 2nd of September 2026 08:44:43 AM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2201 [Wednesday 2nd of September 2026 08:44:43 AM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2201 [Wednesday 2nd of September 2026 08:44:43 AM] patch_ebms_invoice() - END - Invoice: AP2201 [Wednesday 2nd of September 2026 08:44:43 AM] Invoice AP2201 patched successfully [Wednesday 2nd of September 2026 08:44:43 AM] ORDER WEBHOOK COMPLETED - Order ID: 2201 | Invoice: AP2201