Strip Tags from Paypal noteS

This commit is contained in:
David Bomba 2021-06-24 07:07:36 +10:00
parent bc427c97cf
commit a0ffcd78f0

View File

@ -211,7 +211,7 @@ class PayPalExpressPaymentDriver extends BaseDriver
return new Item([
'name' => $lineItem->product_key,
'description' => substr($lineItem->notes, 0, 100),
'description' => substr(strip_tags($lineItem->notes), 0, 100),
'price' => $lineItem->cost,
'quantity' => $lineItem->quantity,
]);