PayPal Order Summary Using REST API - - cURL or PHP
I experienced the same issue while trying it out today. What I did was add the Items like below.
$item = new Item();$item->setQuantity($item_quantity);$item->setName($item_name);$item->setPrice($item_price);$item->setCurrency($item_currency);$item_list = new ItemList();$item_list->setItems(array($item));
The $item_list is a property of transaction so you should add it after.
$transaction = new Transaction();$transaction->setItemList($item_list);....
That should show on the Order summary pane on PayPal page.You can also check the answer here.
Try using the sample shown here : http://htmlpreview.github.io/?https://raw.githubusercontent.com/paypal/PayPal-PHP-SDK/master/sample/doc/payments/CreatePaymentUsingPayPal.html
It is a sample that comes along with the PayPal REST API SDK. You can try those samples out yourselves, by following instructions on readme.
This is how it would look like, when you run that sample: