Hello devs!
I'm freaking out with a "must be" easy thing to do that I'm not being able to accomplish.
Is it possible to set the product info to replace the default one "Price of products purchased" like here?
https://prnt.sc/p1VlyiVPfOyQ
Right now I'm trying to do this with this code calling AuthorizeAndCapture:
$lineItem->setItemId(123);
$lineItem->setName("Product name should be here");
$lineItem->setDescription("Product description");
$lineItem->setQuantity(1);
$lineItem->setUnitPrice(499.00);
//$lineItem->setTaxable(false); //throws error when passing either true, false, 1, 0, Y, N
$lineItem_Array[] = $lineItem;
[...]
$transactionRequestType->setTransactionType("authCaptureTransaction");
$transactionRequestType->setLineItems($lineItem_Array);
I can see the prodcut name and description on AN dashboard when I click on "Show Itemized Order Information" of a transaction, but I'd like to have it on PayPal checkout instead.
Any idea?
Thank you in advance!