Add Ordered Product Titles to Stripe Description

Created on 5 June 2017, over 8 years ago
Updated 18 August 2025, 18 days ago

I see where the Stripe description is comprised of the Order number.

$description = t('Order Number: @order_number', array('@order_number' => $order->order_number));

Is there way to change this to include a list of titles of the ordered product/s, or even better, field value from the ordered product/s?

I can see how that might be problematic if an order contains more than one product.

Is something similar possible in the metadata section? If so, how would one access a product title or product field?

πŸ’¬ Support request
Status

Closed: outdated

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bearstar

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024