We have one donation page that is just for donations. No Drupal account is created. Individual members can create free accounts on the D7 site and can also donate through CiviCRM - this part is working as intended.
We want to build a second donation page where a Drupal user account is created. I was assuming there would be a simple way to enable the username and password inputs, and set a Drupal role to enable, on a particular donation page so the D7 account could be created when the form is submitted, but I don't see how to do this.
Is there a way to either require an account be created, or allow it to be an option from a donation page?
The goal here is to automate the process of setting up corporate sponsors. Sponsors need to contribute and have a Drupal 7 account created with a specific role so they can access content that is restricted to that role. They should be able to select a specific package or enter an amount they wish to contribute.