We're having a little trouble extending our Democracy in Action API module for Drupal to handle Signup Pages and are hopeful that you could point us in the right direction.
We are able to map the fields to the Signup Form correctly, however the API calls do not seem to be triggering the signup response email as they would if the signup form was submitted directly. The sequenceof API calls is:
string 'save?xml&object=supporter&First_Name=Ethan&Last_Name=Tester4&Email=ethan%2Btrig4%40echoditto.com&=US&Zip=02139&=&Other_Data_1=en' (length=128)
string 'save?xml&object=signup_page&key=514&supporter_KEY=3370631&username=chris%40echoditto.com&password=PASSWORD6&organization_KEY=5542&First_Name=Ethan&Last_Name=Tester4&Email=ethan%2Btrig4%40echoditto.com&=US&Zip=02139&=' (length=215)
With the response returned being:
string '<?xml version="1.0"?>
<data><success object="signup_page" key="514">Modified entry 514</success>
</data>' (length=104)
We initially tried this without submitting the supporter API call before the signup_page call, which resulted in neither the creation of the new member nor the sending of a response email.
Any idea what we're doing wrong here? Insight's greatly appreciated as we are in the last stretch of development and testing before launch next week.
Thanks,
Ethan
