Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi all,
Is there an easy, non-programatic way to get the payment transaction ID (e.g. from PayPal) into Views? I can see the ID if I look at an order, but don't see a field for it available in Views. If not, can it be done programatically and if so, how? I'm a non-developer so any specifics would be most apreciated!
Thanks,
Delty
Comments
Comment #1
longwaveYou can use uc_payment_load_payments($order_id) to programatically retrieve all payments attached to an order.
Otherwise, this is a feature request, and will be implemented in 7.x-3.x first.
Comment #2
longwaveDuplicate of #1490632: Expose payment receipts and payment balance to Views