stripe_checkout plugin: Add order number to description in stripe

21.10.2025 11:29
#1
ecoShopUser
Joomshopping forum user no avatar
Name: Andrea
13.08.2012
Posts: 299
Quote
stripe_checkout plugin: Add order number to description in stripe

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.

 
25.10.2025 10:13
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 28007
Quote
Aw: stripe_checkout plugin: Add order number to description in stripe

Added in new version:
Stripe checkout 1.3.3 (JoomShopping 5.0.0+)

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.