Do not prevent ditch items when creating order from vaulted card

This commit is contained in:
Emili Castells Guasch 2025-06-18 12:27:54 +02:00
parent 387d942274
commit ea3b0d4dc0
No known key found for this signature in database

View file

@ -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
),