Is it possible to list all products in a sites "cart" on PayPal. I ask because PayPal says "descriptions" instead of description and it would be nicer than having a combined total with a unhelpful description of "your basket"
$request = $gateway->purchase([
'amount' => '150.00',
'currency' => 'GBP',
'description' => 'Your basket',
'returnUrl' => 'http://localhost:8080/checkout/success',
'cancelUrl' => 'http://localhost:8080/checkout/cancel'
])->send();
The documentation is vague or I may have overlooked the possibility but I've tried:
$request = $gateway->purchase([
'amount' => array('100','200'),
'currency' => 'GBP',
'description' => array('prod1','prod2'),
'returnUrl' => 'http://localhost:8080/checkout/success',
'cancelUrl' => 'http://localhost:8080/checkout/cancel'
])->send();
&
$request = $gateway->purchase([data],[data])->send();
where data follows the above layout.