diff --git a/lib/Business/PayPal/API/GetTransactionDetails.pm b/lib/Business/PayPal/API/GetTransactionDetails.pm index 4c3397d..9a55d72 100644 --- a/lib/Business/PayPal/API/GetTransactionDetails.pm +++ b/lib/Business/PayPal/API/GetTransactionDetails.pm @@ -124,7 +124,7 @@ sub GetTransactionDetails { Options => 'Options', } ); - if( scalar(@$paymentitems) > 1 ) { + if( scalar(@$paymentitems) > 0 ) { $response{PaymentItems} = $paymentitems; }