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.
Problem/Motivation
The "address requirement level" setting found on the recurly configuration form (admin/config/services/recurly) is not being respected by the payment forms and always defaults to the full address form elements.
Proposed resolution
Update the payment form to respect the "address requirement level" settings.
Comment | File | Size | Author |
---|---|---|---|
#11 | address-requirement-setting-not-working-2736929-11.patch | 4.9 KB | walangitan |
#5 | address-requirement-setting-not-working-2736929-4.patch | 4.89 KB | dsbrianwebster |
Comments
Comment #2
markdorisonComment #3
dsbrianwebster CreditAttribution: dsbrianwebster commented@markdorison -- thanks for cleaning up the issue description. I got this working, just need to clean up the code and make a patch. Will submit tonight, or tmr morning latest.
Comment #4
markdorison@dsbrianwebster Think you will still be able to submit a patch? Really appreciate the assistance.
Comment #5
dsbrianwebster CreditAttribution: dsbrianwebster commented@markdorison -- yes, sorry, the short week has been a little crazy over here. Patch attached. Functionality is in place. Feel free to clean up patch/code as needed. This gets all address settings (full, zipstreet, zip and none) as well as the "Hide VAT number input box from checkout page" (bonus) working :)
Comment #6
markdorisonComment #7
markdorisonComment #8
walangitan CreditAttribution: walangitan at Chromatic for TheaterMania.com, Inc. commentedThis is looking good in my testing. I have come across an issue about missing module messages with the patch that's related to the 7.50 core release. The issue is #2736929: Address Requirement Setting Not Working has code which is changed there but not in this patch yet, so the patch may need to be re-rolled once that gets committed or vice versa.
Comment #9
walangitan CreditAttribution: walangitan at Chromatic for TheaterMania.com, Inc. commentedComment #10
markdorisonAs @walangitan mentioned, the patch in #5 no longer applies and needs to be re-rolled.
Comment #11
walangitan CreditAttribution: walangitan at Chromatic for TheaterMania.com, Inc. commentedRerolled #5.
Comment #12
walangitan CreditAttribution: walangitan at Chromatic for TheaterMania.com, Inc. commentedComment #14
markdorison