@[deleted]
I've changed
$unique_order_id = 'OD' . '-' . date('m-d') . '-' . strtoupper(str_random(4)) . '-' . strtoupper($uniqueId); to
$unique_order_id = '' . strtoupper($uniqueId);
And now the order numbers of the delivery app have the first letter cut off. Eg. #FKH7D becomes #KH7D but the restaurant will still have it as #FKH7D. Any ideas?