I am trying to get a purchase to show its description, name and price but nothing is showing up, this is what i get on checkout
public function onStorePay(StoreEvent $event)
{
###############################
# FORWARD TO PAYMENT PROCESSOR
###############################
$paymentName = 'paypal_express_checkout_plus_doctrine';
$item = $event->getItem();
$data = array(
"currency" => "GBP",
"amount" => $item->getAmount(),
"item_name" => $item->getName(),
"item_number" => 1,
);
$storage = $this->container->get('payum')->getStorageForClass(
'Maxim\CMSBundle\Entity\PaypalExpressPaymentDetails',
$paymentName
);
/** @var $paymentDetails PaymentDetails */
$paymentDetails = $storage->createModel();
$paymentDetails->setPaymentrequestCurrencycode(0, $data['currency']);
$paymentDetails->setPaymentrequestAmt(0, $data['amount'] * 1);
$paymentDetails->setNoshipping(Api::NOSHIPPING_NOT_DISPLAY_ADDRESS);
$paymentDetails->setReqconfirmshipping(Api::REQCONFIRMSHIPPING_NOT_REQUIRED);
$paymentDetails->setLPaymentrequestItemcategory(0, 0, Api::PAYMENTREQUEST_ITERMCATEGORY_DIGITAL);
$paymentDetails->setLPaymentrequestAmt(0, 0, $data['amount']);
$paymentDetails->setLPaymentrequestQty(0, 0, 1);
$paymentDetails->setLPaymentrequestName(0, 0, $data['item_name']);
$paymentDetails->setLPaymentrequestDesc(0, 0, $item->getDescription());
$storage->updateModel($paymentDetails);
$notifyToken = $this->token_factory->createNotifyToken($paymentName, $paymentDetails);
$captureToken = $this->token_factory->createCaptureToken(
$paymentName,
$paymentDetails,
'paypal_done'
);
$paymentDetails->setReturnurl($captureToken->getTargetUrl());
$paymentDetails->setCancelurl($captureToken->getTargetUrl());
$paymentDetails->setPaymentrequestNotifyurl(0, $notifyToken->getTargetUrl());
$this->logger->err($notifyToken->getTargetUrl());
$paymentDetails->setInvnum($paymentDetails->getId());
$storage->updateModel($paymentDetails);
$event->setCaptureToken($captureToken->getTargetUrl());
return;
}
```php