Closed (fixed)
Project:
DIBS Payment Gateway API
Version:
7.x-2.x-dev
Component:
Commerce integration
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
21 Feb 2014 at 14:58 UTC
Updated:
24 Jul 2015 at 13:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
beltofteFeel free to work on it and upload a patch :-) The current maintainers are lacking time to work on it, so it will not happend in the near future without other developers stepping in.
Comment #2
ddod commentedDone.
I used hook_views_api and hook_views_data to expose payment_order_id and payment_transaction_id columns from dibs_transactions to Commerce module views. The join is performed on commerce_payment_transaction.remote_id using dibs_transactions.tid.
Other columns can be exposed using the same pattern as needed.
Cheers.
Comment #3
ddod commented**ignore - better solution in the next comment
A patch for commerce_payment_ui_views_default_views() using the alter function to add the already exposed columns from the previous patch to the default Commerce Payment View.
Comment #4
ddod commentedI combined the two patches in this one, also commerce_payment_ui_views_default_views_alter() was moved to dibs.views.inc.
Comment #5
boyan.borisov commentedComment #6
googletorp commentedI didn't add all of it, I don't feel we should alter commerce views by default when installing the dibs module.
Comment #9
FrittenKeeZ commentedOut of curiosity, why have the file dibs-views-integration-with-commerce-module-2202233-4.patch been added to the project?