Hi, would it be possible to add the description field in stripe_checkout plugin so that orders could be searched in the stripe dashboard?
Have added the order number to the intend description in pm_stripe_checkout.php:
$ps_data = [
'line_items' => [[
'price_data' => [
'currency' => $order->currency_code_iso,
'product_data' => [
'name' => $item_name,
],
'unit_amount' => round(100 * $order->order_total),
],
'quantity' => 1,
]],
'metadata' => [
'order_id' => $order->order_id,
],
'payment_intent_data' => [
'description' => 'Ordernumber: '.$order->order_number
],
'mode' => 'payment',
'success_url' => $return,
'cancel_url' => $cancel,
'customer_email' => $order->email,
'locale' => $locale
];
Now this description is searchable and shown in the stripe dashboard instead of the general payment id.
thx.



