Mmm OK I did that. The error changed but still an error:
vmError: vmTable store insertObject #__virtuemart_orders Data too long for column 'coupon_code' at row 1 INSERT INTO `kfuhj_virtuemart_orders` (`virtuemart_order_id`,`virtuemart_user_id`,`virtuemart_vendor_id`,`order_note`,`order_number`,`order_pass`,`order_create_invoice_pass`,`invoice_locked`,`customer_number`,`order_total`,`order_salesPrice`,`order_billTaxAmount`,`order_billTax`,`order_billDiscountAmount`,`order_discountAmount`,`order_subtotal`,`order_tax`,`order_shipment`,`order_shipment_tax`,`order_payment`,`order_payment_tax`,`coupon_discount`,`coupon_code`,`order_discount`,`order_currency`,`order_status`,`user_currency_id`,`user_currency_rate`,`user_shoppergroups`,`payment_currency_id`,`payment_currency_rate`,`virtuemart_paymentmethod_id`,`virtuemart_shipmentmethod_id`,`ip_address`,`order_language`,`STsameAsBT`,`paid`,`o_hash`,`created_on`,`created_by`,`locked_by`) VALUES ('0','72','1','','ADQV0475','p_jxWrww5w','0tWunFqk','0','MAeb0a191','143.513509999','167.01351','29.766811735','{ \"1\": { \"virtuemart_calc_id\": 1, \"calc_name\": \"VAT 21%\", \"calc_value\": \"21.0000\", \"result\": 29.766806635 } }','0','0','138.02769','28.98582','3.719008264','0.780991735','0','0','-28','
\r
\r\r COUPONNAME
\r ','0','47','P','47','1','2','47','1','4','3','2xx','en-GB','1','0','36f4e0d23021c8218e86083ae383e50c','2024-02-23 20:23:12','72','0')