mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 14:57:26 +08:00
Remove prefix from custom id
This commit is contained in:
parent
f23df0b91c
commit
6d905d01c8
2 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue