Closed (fixed)
Project:
Payment for Webform
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 May 2013 at 11:54 UTC
Updated:
24 Jul 2013 at 00:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
xanoAre you familiar with Administer » Content » Payments?
Comment #2
helmo commentedWell no.
When views is not enabled the tab was not shown on /admin/content. Was that intentional? After activating the admin_menu module I saw the admin/content/payments menu entry.
Adding
to $base in payment_menu() seems to do the trick.
But this is not really what I meant.
The payments on admin/content/payments have no relation to webform submissions, by them self they have little meaning (atleast when anonymous visitors use the form).
I guess this is a feature request then...
I would like to have some data in the webform submission to relate it to the payment.
Comment #3
xanoThe attached patch ensures that results are displayed when viewing them in HTML or plain text mode. It does not yet provide this feature for the table view or CSV exports.
Comment #4
helmo commentedThanks, that works great.
I guess it needs another hook implementation for csv:
And hooks for the table and analyse pages:
Comment #5
xanoAdded CSV support. Let's keep the analysis for another issue.
Comment #6
helmo commentedCSV look OK.
What about this as a table hook.
Comment #8
xanoUse payment_amount_human_readable() to format payment amounts.
However, for consistency, we may just want to link to the payment instead.
Comment #9
xanoThis needs tests as well.
Comment #10
helmo commentedYes #8 looks OK, a link there is better.
Comment #11
xanoForget the tests. The Webform API is too undocumented and messy for me to spend time on those.
Comment #13
xanoComment #13.0
xanotypo