
Situation
I'm building a donation form combined with iDEAL integration.
For the form i'm using Entityforms in favor of Webform (because of some project-related demands).
The iDEAL module adds a Payment method to the Payment module. I'm using the "Payment reference" field to embed the iDEAL-payment method to the form.
Problem
Adding the "Payment reference" field within an Entityform is no big deal, but its field-output is only rendering a hidden field. Why?
Make the field required, results that a user is unable to finish the form, because it's unable to fill in the Payment reference field.
I found out that the Payment reference field is missing a proper widget type for it's field-render (output).
The module has no widgets declared at all, with the result of showing the "Hidden" option as a Widget type output (field settings > widget type tab).
Similar implementation
When using "Webform" in combination with the "Payment for Webform", the "Payment for Webform" field provides a proper handling of a payment reference within the webform. But this is based on a Webform module-implementation.
Question
The Payment reference field has no proper/working functionality at the moment.
iDEALly it should provide an implementation similar to the "Payment for Webform" module, from which a field can handle a Payment request.
I need some help on resolving this issue and would love to hear some thoughts about the possibilities (approach).
Regards,
--
Stefan
Configuration
Drupal v7.23
PHP v5.3.3
Payment v7.x-1.8
iDEAL 7.x-3.x (commercial upgrade of version 7.x-2.6 for supporting iDEAL v3.3 with SEPA)
--
Webform v7x-3.19 (used as reference, together with the "payment_webform" module)
Payment for Webform v7.x-1.4
Comment | File | Size | Author |
---|---|---|---|
#5 | 3 Verborgen.PNG | 3.46 KB | theemstra |
#5 | 2 Field displayed.PNG | 18.71 KB | theemstra |
#5 | 1 No field displayed.PNG | 9.7 KB | theemstra |
Comments
Comment #1
xanoDoes this behavior also happen when you create a new Drupal installation and add a payment reference field to an entity? Payment Reference Field most definitely comes with a widget for this field (see
paymentreference_field_widget_info()
), so that is probably not where things go wrong.Comment #2
stefan looij CreditAttribution: stefan looij commentedSorry.. It's on the "Manage display" tab of the Entityform.
The only selectable field-format is the "" format.
Comment #3
xanoI am not familiar with Entityforms yet. Can you provide step-by-step instructions to reproduce the problem on a new Drupal installation?
Comment #4
xanoClosing due to lack of response. If you can provide the instructions necessary to reproduce the problem, please post them and re-open this issue.
Comment #5
theemstra CreditAttribution: theemstra commentedHi Xano,
This still seems to be the case. When logged in with authenticated user the field does show (image 2), when an anonymous user logs in it doesn't appear in the entity form (image 1).
Steps to reproduce:
What Stefan meant to say was to check out the admin/structure/entityform_types/manage/{FORM NAME}/display page, you can see (image 3) that the field is hidden (verborgen), because there's no formatting available other than hidden.
Comment #6
chris_huh CreditAttribution: chris_huh commentedI'm seeing the same thing. It seems as if there is a permissions issue with Anonymous users not being able to access the Payment Reference section of any Entityform.
I've tried adjusting the permissions settings but haven't been able to find anything that works.
The field is set to hidden (with no option to change it) on the Entityform display page, just like theemstra says.
Comment #7
ruuds CreditAttribution: ruuds as a volunteer commentedI also encountered the problem above. Finally, we've come up with our own solution and developed a new field type which can be attached to an entityform_type and creates a payment after the entityform is submitted. See https://www.drupal.org/project/field_payment