Download & Extend

Views Relationship from payment transaction to user.

Project:Drupal Commerce
Version:7.x-1.x-dev
Component:Payment
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

In my current usecase, I need a way to show what user created a specific payment transaction. There is a uid associated with that user, however, there is no view's handler for that field or a relationship to allow you to display that user in a view. I propose a change to allow this ability. so I can do something like in the following screenshot.

Comments

#1

Status:active» needs review

I've worked up a patch. Review and let me know.

AttachmentSizeStatusTest resultOperations
commerce-add_views_relationship_for_payment_transaction_uid-1678396-1.patch932 bytesIdleFAILED: [[SimpleTest]]: [MySQL] Unable to apply patch commerce-add_views_relationship_for_payment_transaction_uid-1678396-1.patch. Unable to apply patch. See the log in the details link for more information.View details

#2

Assigned to:generalredneck» Anonymous
Status:needs review» fixed

This is missing other information that we might use to display and sort based on the transaction's uid directly. I committed the attached patch that was a copy / paste and tweak from the order table's uid field. Not sure why this wasn't done before. : P

Welcome to the committers log!

#3

Yay! That's awesome! Looking forward to yall's Drupal 8 webinar tomorrow!

#4

For sake of consistency...
The last patch failed because of no EOL character in it.

This one should work since it was generated by drupal's git :D

AttachmentSizeStatusTest resultOperations
commerce-add_views_relationship_for_payment_transaction_uid-1678396-4.patch1.95 KBIgnored: Check issue status.NoneNone

#5

No worries - I guess I should've posted the full patch up here. I usually remember to link to the actual commit but forgot this'n. : P

#6

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.