Remove prefix from custom id

This commit is contained in:
Alex P 2021-11-16 16:09:33 +02:00
parent f23df0b91c
commit 6d905d01c8
2 changed files with 2 additions and 2 deletions

View file

@ -119,7 +119,7 @@ class PurchaseUnitFactory {
$reference_id = 'default';
$description = '';
$payee = $this->payee_repository->payee();
$custom_id = $this->prefix . (string) $order->get_id();
$custom_id = (string) $order->get_id();
$invoice_id = $this->prefix . $order->get_order_number();
$soft_descriptor = '';
$purchase_unit = new PurchaseUnit(