mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Do not prevent ditch items when creating order from vaulted card
This commit is contained in:
parent
387d942274
commit
ea3b0d4dc0
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ class CaptureCardPayment {
|
|||
'intent' => $intent,
|
||||
'purchase_units' => array_map(
|
||||
static function ( PurchaseUnit $item ): array {
|
||||
return $item->to_array( true, false );
|
||||
return $item->to_array();
|
||||
},
|
||||
$items
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue