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.
So this is an issue. If a user completes the registration form, then reviews their order and for what ever reason leaves the page or the browser quits, their registration is already entered and completed.
This is a big issue since their order never actually took place yet they managed to secure a seat for themselves.
Comment | File | Size | Author |
---|---|---|---|
#10 | Screen Shot 2014-05-07 at 12.07.49.png | 77.13 KB | Vali Hutchison |
Comments
Comment #1
jpontani CreditAttribution: jpontani commentedI'm assuming you mean the 2.x branch, seeing as the 3.x branch is nowhere near ready for any use other than development.
Registrations are created in a default state, which is configurable on the Registration States page. Commerce Registration also ships with a default rule to set a registration to completed upon full payment, but this is also configurable.
Comment #2
staceyrice CreditAttribution: staceyrice commentedI am having the same problem with 7.x-2.x-dev.
Regardless of whatever state I choose as the default state for a registration, for example, default pending, then changes to complete after full payment, it still takes a slot even if the user hasn't paid. How can we make it not take a slot until payment is complete or can the registration pane be after the payment screen? Will that work?
Comment #3
jpontani CreditAttribution: jpontani commentedOn the Registration State type page, there are checkboxes for "show on form" and "active". The "Active" checkbox signifies whether a registration in that state will take up a slot or not.
So for example, you could configure "Pending" to be non-active, but have "Complete" be active. This means that unless a registration is Complete, they will not take up a slot.
Comment #5
Kazanir CreditAttribution: Kazanir commentedI'm reopening this issue as a major feature request. Let me clarify what is wrong here:
1. The default rules provided by Commerce Registrations apparently set a registration entity to Pending upon order completion, but to Complete upon full payment. I'm not sure how much sense these make together, but it suggests that only fully paid orders will be marked as completed.
2. However, the admin page in question for changing registration states is not very well documented, probably owing to the default of "Completed" being just fine for most non-Commerce users of the Entity Registration module.
3. Unfortunately, the default of "Complete" is NOT fine for a Commerce-based registration system -- we want registrations (in 95%+ of use cases) to ONLY be complete if the order is paid for, and not otherwise.
This module should include something which will cause the default setup of Registrations to be set to Pending rather than to Completed to avoid the very unpleasant circumstances some of us find ourselves in where people appear registered when they have not actually paid. At a minimum, documenting this on the module's front page would be extremely welcome.
Comment #6
Kazanir CreditAttribution: Kazanir commentedComment #7
Chris Burge CreditAttribution: Chris Burge commentedYou could try changing the default Registration state to 'Pending' on the 'Registration states' page: /admin/structure/registration/registration_states
I dealt with this issue using rules. I'm not using either the 'Set Registrations to Pending upon Order Completion' rule or the 'Set Registrations to Complete upon Full Payment' rule that ship with the module. Instead, I created two new rules:
Rule: Set Registrations to Pending Upon Creation
Event
Conditions
Actions
Rule: Set Registrations to Complete upon Order Completion
Event
Conditions
Actions
Comment #8
pcambraI also agree with the pending default, I'm still unsure myself of what the active and the show in form checkboxes mean.
Comment #9
John Franklin CreditAttribution: John Franklin commentedAdding a drupal_set_message() in commerce_registration_install() would help, too.
Comment #10
Vali Hutchison CreditAttribution: Vali Hutchison commentedThanks Chris Burge for #7. We had a similar issue for a site taking Paypal payments. Users would book an event but for whatever reason not pay and then later would be told they were already booked for the event despite not paying for it.
I used the Set Registrations to Complete upon Order Completion rule as described but went with the pending rule that ships with the module. All working well.
For reference I'm attaching that screenshot of the registration states admin page.
Comment #11
blacklabel_tom CreditAttribution: blacklabel_tom commented