{"id":74,"date":"2016-05-16T18:29:56","date_gmt":"2016-05-16T18:29:56","guid":{"rendered":"http:\/\/emmanuelgreene.com\/?page_id=74"},"modified":"2016-05-16T18:30:12","modified_gmt":"2016-05-16T18:30:12","slug":"bloomerang-api-documentation","status":"publish","type":"page","link":"https:\/\/emmanuelgreene.com\/?page_id=74","title":{"rendered":"Bloomerang API Documentation"},"content":{"rendered":"<link rel='stylesheet' href='https:\/\/emmanuelgreene.com\/wp-content\/plugins\/documentor-lite\/skins\/default\/style.css' type='text\/css' media='all' \/><div id=\"documentor-1\" class=\"documentor-default documentor-wrap\" data-docid = \"1\" ><div class=\"dcumentor-topicons doc-noprint\"><span class=\"doc-search\">\n\t\t\t\t\t\t<input type=\"text\" name=\"search_document\" class=\"search-document\" placeholder=\"Search in Document\" \/>\n\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/emmanuelgreene.com\/wp-content\/plugins\/documentor-lite\/skins\/default\/images\/search.png\" \/>\n\t\t\t\t\t<\/span><\/div> \t<div class=\"doc-menu\" ><div class=\"doc-menurelated\"><ol class=\"doc-list-front\"><li class=\"doc-actli\"><a class=\"documentor-menu\" href=\"#introduction\" data-section-id=\"1\"  >Introduction<\/a><\/li><li class=\"doc-actli\"><a class=\"documentor-menu\" href=\"#bloomerang-self-hosted-forms\" data-section-id=\"2\"  >Self-Hosted Forms<\/a><\/li><li class=\"doc-actli\"><a class=\"documentor-menu\" href=\"#bloomerang-js\" data-section-id=\"3\"  >Bloomerang.js<\/a><span class=\"doc-mtoggle expand\"><\/span><ol><li class=\"doc-actli\"><a class=\"documentor-menu\" href=\"#required-methods\" data-section-id=\"4\"  >Required Methods<\/a><span class=\"doc-mtoggle expand\"><\/span><ol><li class=\"doc-actli\"><a class=\"documentor-menu\" href=\"#bloomerang-usekeypublickey\" data-section-id=\"5\"  >useKey<\/a><\/li><li class=\"doc-actli\"><a class=\"documentor-menu\" href=\"#bloomerang-useprocessorid-type-publickey-istestmode-bluepaytps-restrictbpcredit\" data-section-id=\"6\"  >useProcessor<\/a><\/li><\/ol><\/li><li class=\"doc-actli\"><a class=\"documentor-menu\" href=\"#data-methods\" data-section-id=\"7\"  >Data Methods<\/a><span class=\"doc-mtoggle expand\"><\/span><ol><li class=\"doc-actli\"><a class=\"documentor-menu\" href=\"#account\" data-section-id=\"11\"  >Account<\/a><span class=\"doc-mtoggle expand\"><\/span><ol><li class=\"doc-actli\"><a class=\"documentor-menu\" href=\"#bloomerang-account-individual\" data-section-id=\"9\"  >individual<\/a><\/li><li class=\"doc-actli\"><a class=\"documentor-menu\" href=\"#bloomerang-account-organization\" data-section-id=\"10\"  >organization<\/a><\/li><li class=\"doc-actli\"><a class=\"documentor-menu\" href=\"#bloomerang-account-organizationnamevalue\" data-section-id=\"12\"  >organizationName<\/a><\/li><li class=\"doc-actli\"><a class=\"documentor-menu\" href=\"#bloomerang-account-firstnamevalue\" data-section-id=\"13\"  >firstName<\/a><\/li><li class=\"doc-actli\"><a class=\"documentor-menu\" href=\"#bloomerang-account-middlenamevalue\" data-section-id=\"14\"  >middleName<\/a><\/li><li class=\"doc-actli\"><a class=\"documentor-menu\" href=\"#bloomerang-account-lastnamevalue\" data-section-id=\"15\"  >lastName<\/a><\/li><li class=\"doc-actli\"><a class=\"documentor-menu\" href=\"#bloomerang-account-prefixvalue\" data-section-id=\"16\"  >prefix<\/a><\/li><li class=\"doc-actli\"><a class=\"documentor-menu\" href=\"#bloomerang-account-suffixvalue\" data-section-id=\"17\"  >suffix<\/a><\/li><li class=\"doc-actli\"><a class=\"documentor-menu\" href=\"#bloomerang-account-informalnamevalue\" data-section-id=\"18\"  >informalName<\/a><\/li><li class=\"doc-actli\"><a class=\"documentor-menu\" href=\"#bloomerang-account-formalnamevalue\" data-section-id=\"19\"  >formalName<\/a><\/li><li class=\"doc-actli\"><a class=\"documentor-menu\" href=\"#bloomerang-account-envelopenamevalue\" data-section-id=\"20\"  >envelopeName<\/a><\/li><li class=\"doc-actli\"><a class=\"documentor-menu\" href=\"#blooemrang-account-recognitionnamevalue\" data-section-id=\"21\"  >recognitionName<\/a><\/li><\/ol><\/li><\/ol><\/li><li class=\"doc-actli\"><a class=\"documentor-menu\" href=\"#form-submission-methods\" data-section-id=\"8\"  >Form Submission Methods<\/a><\/li><\/ol><\/li><\/ol><\/div><\/div><div class=\"doc-sec-container\" id=\"documentor_seccontainer\"><div class=\"doc-section \" id=\"introduction\" data-section-id=\"1\"><h3 class=\"doc-sec-title\" ><span class=\"doc-sec-link\"><img decoding=\"async\" src=\"https:\/\/emmanuelgreene.com\/wp-content\/plugins\/documentor-lite\/skins\/default\/images\/link.png\" onclick=\"prompt('Press Ctrl + C, then Enter to copy to clipboard','https:\/\/emmanuelgreene.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F74#introduction')\"><\/span> Bloomerang API Documentation<\/h3><div class=\"doc-sec-content\" ><p>This document discusses the \u000bdifferent ways to use the Bloomerang API to make online donations. The typical use case for an online donation is to have an online donation page that collects the donor&#8217;s personal information, donation information, and payment information. When the form is submitted, a Spreedly iFrame will pop up where donors can enter their credit card information. Spreedly then injects a token into the form. Then the browser submits the token and the rest of the information to Bloomerang&#8217;s OnlineDonation endpoint.<\/p>\n<p>Bloomerang will:<\/p>\n<ol>\n<li>Create a new account for the constituent or merge the constituent with an existing constituent that matches the new information.<\/li>\n<li>Use the token to process the credit card or EFT account with the processor (Stripe or BluePay).<\/li>\n<li>Save the donation information in the database.<\/li>\n<li>Send an e-mail to the constituent thanking him or her for the donation.<\/li>\n<\/ol>\n<p>There are a few different ways to do this depending upon the level of customization desired:<\/p>\n<ol>\n<li>Use Bloomerang&#8217;s online donation forms within the application.<\/li>\n<li>Use Bloomerang.js to assemble and submit the data.<\/li>\n<li>Make a submission using another technology to our REST API.<\/li>\n<\/ol>\n<p>Using Bloomerang&#8217;s online donation forms within the application is the recommended way to receive online donations. If you need additional customization beyond what Bloomerang provides, you can switch the form into &#8220;Self Hosted&#8221; mode and obtain the code for the Bloomerang form, which you can then customize. This is the easiest way, since all the boilerplate code necessary to make a working form will already be included.<\/p>\n<p>Using Bloomerang.js is the second recommended way to receive online donations. This has the added benefit of the developer having full control over everything except how the data is posted to Bloomerang. It also allows the site to benefit from improvements that Bloomerang makes to Bloomerang.js, but any changes Bloomerang makes to our built-in donation forms will not be included. <b>Note that it is the developer&#8217;s responsibility to keep their custom forms up to date as Bloomerang.js changes.<\/b> We will try to introduce new versions of Bloomerang.js for compatibility reasons, but security or other concerns may require breaking changes to existing versions of Bloomerang.js.<\/p>\n<p>Finally, if another technology is required, the Bloomerang REST API is available, but loses out on all of the convenience of Bloomerang.js and any updates that happen. Again, it is the developer&#8217;s responsibility to update their software to keep up with any changes to the Bloomerang REST API endpoints.<\/p>\n<\/div><div class=\"doc-help\"><\/div><\/div><div class=\"doc-section \" id=\"bloomerang-self-hosted-forms\" data-section-id=\"2\"><h3 class=\"doc-sec-title\" ><span class=\"doc-sec-link\"><img decoding=\"async\" src=\"https:\/\/emmanuelgreene.com\/wp-content\/plugins\/documentor-lite\/skins\/default\/images\/link.png\" onclick=\"prompt('Press Ctrl + C, then Enter to copy to clipboard','https:\/\/emmanuelgreene.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F74#bloomerang-self-hosted-forms')\"><\/span> Bloomerang Self-Hosted Forms<\/h3><div class=\"doc-sec-content\" ><p>Bloomerang Self-Hosted Forms are the preferred way to add custom forms to Bloomerang. Using Bloomerang&#8217;s in-application website integration tools, you can set up a form that comes as close as possible to your desired functionality and then make any further modifications to your form based on your unique needs.<\/p>\n<p>To use Bloomerang&#8217;s in-application website integration, go to Settings -> Website Integration. There you can make a new form with options to set the name of the form, the processor it uses (if it is a donation form), a confrmation email to send when the form is submitted, and other options such as custom fields. This removes the need to manually look up IDs when using Bloomerang.js, and assuming no further customization, Bloomerang could keep everything up to date.<\/p>\n<p>If you need to make further customizations to the form, continue to the Preview page. Then, scroll all the way to the bottom of the screen and click the &#8220;Self-Host Form&#8221; button. This swiches the form into self-hosted mode and gives you access to the form&#8217;s source code, including all of the calls it makes to Bloomerang.js. You can then copy and paste the code for the form into your own website, and make any changes you like.<\/p>\n<p>Note that once the form is in self-hosted mode, any changes you make in the Bloomerang editor may not be reflected in the form on your website. This could cause your form to stop working! For example, if you enable CAPTCHAs in Bloomerang and do not add a CAPTCHA to the form itself, any submissions will be rejected.<\/p>\n<p>However, some changes made in the Bloomerang editor will still affect the form&#8217;s behavior. For example, if there is no Campaign specified in the form itself, changing the form&#8217;s campaign in Bloomerang will cause the new Campaign to be used for any future submissions. Essentially, what is specified in the form builder are the default values, but you can override them in the self-hosted form code if you desire.<\/p>\n<\/div><div class=\"doc-help\"><\/div><\/div><div class=\"doc-section \" id=\"bloomerang-js\" data-section-id=\"3\"><h3 class=\"doc-sec-title\" ><span class=\"doc-sec-link\"><img decoding=\"async\" src=\"https:\/\/emmanuelgreene.com\/wp-content\/plugins\/documentor-lite\/skins\/default\/images\/link.png\" onclick=\"prompt('Press Ctrl + C, then Enter to copy to clipboard','https:\/\/emmanuelgreene.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F74#bloomerang-js')\"><\/span> Bloomerang.js<\/h3><div class=\"doc-sec-content\" ><p>Bloomerang.js is the bridge between our in-application advanced code editor and our REST API. It handles all of the technology behind getting a message in the right format to our servers and lets you focus on developing the form itself.<\/p>\n<p>Note that the filename will contain the version of the library you are referencing. For example, you might write your form using Bloomerang-v2.js. This documentation assumes you are using the most current version of Bloomerang.js<\/p>\n<\/div><div class=\"doc-help\"><\/div><\/div><div class=\"doc-section \" id=\"required-methods\" data-section-id=\"4\"><h3 class=\"doc-sec-title\" ><span class=\"doc-sec-link\"><img decoding=\"async\" src=\"https:\/\/emmanuelgreene.com\/wp-content\/plugins\/documentor-lite\/skins\/default\/images\/link.png\" onclick=\"prompt('Press Ctrl + C, then Enter to copy to clipboard','https:\/\/emmanuelgreene.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F74#required-methods')\"><\/span> Required Methods<\/h3><div class=\"doc-sec-content\" ><p>The following methods are the few setup methods that must be called to have a successful online donation submission. Note that online donation forms created through the application automatically call Bloomerang.useKey and Bloomerang.useProcessor, if necessary.<\/p>\n<\/div><div class=\"doc-help\"><\/div><\/div><div class=\"doc-section \" id=\"bloomerang-usekeypublickey\" data-section-id=\"5\"><h3 class=\"doc-sec-title\" ><span class=\"doc-sec-link\"><img decoding=\"async\" src=\"https:\/\/emmanuelgreene.com\/wp-content\/plugins\/documentor-lite\/skins\/default\/images\/link.png\" onclick=\"prompt('Press Ctrl + C, then Enter to copy to clipboard','https:\/\/emmanuelgreene.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F74#bloomerang-usekeypublickey')\"><\/span> Bloomerang.useKey(publicKey)<\/h3><div class=\"doc-sec-content\" ><p>This function sets the public key used to tell Bloomerang who your organization is. You may obtain the public key from the application at <a href=\"https:\/\/crm.bloomerang.co\/Settings\/Database\/Edit\">https:\/\/crm.bloomerang.co\/Settings\/Database\/Edit<\/a> or by navigating to Settings -&gt; View All Settings -&gt; Organization.<\/p>\n<table style=\"padding-left: 30px;\">\n<tbody>\n<tr>\n<td>publicKey<\/td>\n<td>required<\/td>\n<td><\/td>\n<td>A string that begins with &#8220;pub_ &#8221;.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div><div class=\"doc-help\"><\/div><\/div><div class=\"doc-section \" id=\"bloomerang-useprocessorid-type-publickey-istestmode-bluepaytps-restrictbpcredit\" data-section-id=\"6\"><h3 class=\"doc-sec-title\" ><span class=\"doc-sec-link\"><img decoding=\"async\" src=\"https:\/\/emmanuelgreene.com\/wp-content\/plugins\/documentor-lite\/skins\/default\/images\/link.png\" onclick=\"prompt('Press Ctrl + C, then Enter to copy to clipboard','https:\/\/emmanuelgreene.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F74#bloomerang-useprocessorid-type-publickey-istestmode-bluepaytps-restrictbpcredit')\"><\/span> Bloomerang.useProcessor(id, type, publicKey, isTestMode, bluePayTPS, restrictBPCredit)<\/h3><div class=\"doc-sec-content\" ><p>This function sets the processor to which Bloomerang will post the credit card or EFT information.<\/p>\n<p><strong>This is only needed if you are using BluePay as the form processor and also supporting EFT. Otherwise, the credit card processing will be handled through Spreedly.<\/strong><\/p>\n<table>\n<tbody>\n<tr>\n<td>id<\/td>\n<td>required<\/td>\n<td>The Bloomerang ID of the processor to use. Can be obtained from Settings -&gt; View All Settings -&gt; Transactions -&gt; Credit Card Processors. Select the processor you want, then the ID is the numerical portion of the URL https:\/\/crm.bloomerang.co\/Settings\/Transaction\/CreditCardProcessor\/Edit\/{id}.<\/td>\n<tr>\n<tr>\n<td>type<\/td>\n<td>required<\/td>\n<td>&#8220;BluePay&#8221; is the only valid value<\/td>\n<tr>\n<tr>\n<td>publicKey<\/td>\n<td>required<\/td>\n<td>The &#8220;Account ID&#8221; for a BluePay processor. Can be found in the same location as the processor&#8217;s Bloomerang ID.<\/td>\n<\/tr>\n<tr>\n<td>isTestMode<\/td>\n<td>optional &#8211; defaults to false<\/td>\n<td>A boolean value telling whether or not the processor is in test mode.<\/td>\n<\/tr>\n<tr>\n<td>bluePayTPS<\/td>\n<td>required<\/td>\n<td>The MD5 hash of the string concatenation of the processor&#8217;s BluePay private key and the string &#8220;AUTH0ACH&#8221;. For example, if the BluePay private key were &#8220;1111&#8221;, the bluePayTPS would be the MD5 hash of &#8220;1111AUTH0ACH&#8221;, or &#8220;c8fc6dfcf7fd6373a2b0d4154a4cb709&#8221;.<\/td>\n<\/tr>\n<tr>\n<td>restrictBPCredit<\/td>\n<td>required<\/td>\n<td>A boolean value. Must be true. This is required to ensure that bad guys can&#8217;t use the BluePay TPS to authorize credit cards fraudulently.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div><div class=\"doc-help\"><\/div><\/div><div class=\"doc-section \" id=\"data-methods\" data-section-id=\"7\"><h3 class=\"doc-sec-title\" ><span class=\"doc-sec-link\"><img decoding=\"async\" src=\"https:\/\/emmanuelgreene.com\/wp-content\/plugins\/documentor-lite\/skins\/default\/images\/link.png\" onclick=\"prompt('Press Ctrl + C, then Enter to copy to clipboard','https:\/\/emmanuelgreene.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F74#data-methods')\"><\/span> Data Methods<\/h3><div class=\"doc-sec-content\" ><p>The following methods set the data on the Bloomerang object model, which will be used to actually send the data to Bloomerang via\u00a0the <a href=\"http:\/\/emmanuelgreene.com\/?page_id=74#form-submission-methods\">form submission methods<\/a>.<\/p>\n<\/div><div class=\"doc-help\"><\/div><\/div><div class=\"doc-section \" id=\"account\" data-section-id=\"11\"><h3 class=\"doc-sec-title\" ><span class=\"doc-sec-link\"><img decoding=\"async\" src=\"https:\/\/emmanuelgreene.com\/wp-content\/plugins\/documentor-lite\/skins\/default\/images\/link.png\" onclick=\"prompt('Press Ctrl + C, then Enter to copy to clipboard','https:\/\/emmanuelgreene.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F74#account')\"><\/span> Account<\/h3><div class=\"doc-sec-content\" ><p>These methods set information on the Account that will be submitted.<\/p>\n<\/div><div class=\"doc-help\"><\/div><\/div><div class=\"doc-section \" id=\"bloomerang-account-individual\" data-section-id=\"9\"><h3 class=\"doc-sec-title\" ><span class=\"doc-sec-link\"><img decoding=\"async\" src=\"https:\/\/emmanuelgreene.com\/wp-content\/plugins\/documentor-lite\/skins\/default\/images\/link.png\" onclick=\"prompt('Press Ctrl + C, then Enter to copy to clipboard','https:\/\/emmanuelgreene.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F74#bloomerang-account-individual')\"><\/span> Bloomerang.Account.individual()<\/h3><div class=\"doc-sec-content\" ><p>Sets the account type of the donor to Individual (a person, not an organization).<\/p>\n<\/div><div class=\"doc-help\"><\/div><\/div><div class=\"doc-section \" id=\"bloomerang-account-organization\" data-section-id=\"10\"><h3 class=\"doc-sec-title\" ><span class=\"doc-sec-link\"><img decoding=\"async\" src=\"https:\/\/emmanuelgreene.com\/wp-content\/plugins\/documentor-lite\/skins\/default\/images\/link.png\" onclick=\"prompt('Press Ctrl + C, then Enter to copy to clipboard','https:\/\/emmanuelgreene.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F74#bloomerang-account-organization')\"><\/span> Bloomerang.Account.organization()<\/h3><div class=\"doc-sec-content\" ><p>Sets the account type of the donor to Organization (not an individual).<\/p>\n<\/div><div class=\"doc-help\"><\/div><\/div><div class=\"doc-section \" id=\"bloomerang-account-organizationnamevalue\" data-section-id=\"12\"><h3 class=\"doc-sec-title\" ><span class=\"doc-sec-link\"><img decoding=\"async\" src=\"https:\/\/emmanuelgreene.com\/wp-content\/plugins\/documentor-lite\/skins\/default\/images\/link.png\" onclick=\"prompt('Press Ctrl + C, then Enter to copy to clipboard','https:\/\/emmanuelgreene.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F74#bloomerang-account-organizationnamevalue')\"><\/span> Bloomerang.Account.organizationName(value)<\/h3><div class=\"doc-sec-content\" ><p>Sets the full name of the organization. Also calls <a href=\"http:\/\/emmanuelgreene.com\/?page_id=74#bloomerang-account-organization\">Bloomerang.Account.organization()<\/a> to set the type of the account to Organization.<\/p>\n<table>\n<tbody>\n<tr>\n<td>value<\/td>\n<td>required<\/td>\n<td>The full name of the organization<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/p>\n<\/div><div class=\"doc-help\"><\/div><\/div><div class=\"doc-section \" id=\"bloomerang-account-firstnamevalue\" data-section-id=\"13\"><h3 class=\"doc-sec-title\" ><span class=\"doc-sec-link\"><img decoding=\"async\" src=\"https:\/\/emmanuelgreene.com\/wp-content\/plugins\/documentor-lite\/skins\/default\/images\/link.png\" onclick=\"prompt('Press Ctrl + C, then Enter to copy to clipboard','https:\/\/emmanuelgreene.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F74#bloomerang-account-firstnamevalue')\"><\/span> Bloomerang.Account.firstName(value)<\/h3><div class=\"doc-sec-content\" ><p>Sets the donor&#8217;s first name. This does not set the account type to Individual, so if you had previously set the account to be an organization, you\u00a0first call <a href=\"http:\/\/emmanuelgreene.com\/?page_id=74#bloomerang-account-individual\">Bloomerang.Account.individual()<\/a>.<\/p>\n<table>\n<tbody>\n<tr>\n<td>value<\/td>\n<td>required<\/td>\n<td>The donor&#8217;s first name.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/p>\n<\/div><div class=\"doc-help\"><\/div><\/div><div class=\"doc-section \" id=\"bloomerang-account-middlenamevalue\" data-section-id=\"14\"><h3 class=\"doc-sec-title\" ><span class=\"doc-sec-link\"><img decoding=\"async\" src=\"https:\/\/emmanuelgreene.com\/wp-content\/plugins\/documentor-lite\/skins\/default\/images\/link.png\" onclick=\"prompt('Press Ctrl + C, then Enter to copy to clipboard','https:\/\/emmanuelgreene.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F74#bloomerang-account-middlenamevalue')\"><\/span> Bloomerang.Account.middleName(value)<\/h3><div class=\"doc-sec-content\" ><p>Sets the donor&#8217;s middle\u00a0name. This does not set the account type to Individual, so if you had previously set the account to be an organization, you\u00a0first call <a href=\"http:\/\/emmanuelgreene.com\/?page_id=74#bloomerang-account-individual\">Bloomerang.Account.individual()<\/a>.<\/p>\n<table>\n<tbody>\n<tr>\n<td>value<\/td>\n<td>required<\/td>\n<td>The donor&#8217;s middle\u00a0name.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/p>\n<\/div><div class=\"doc-help\"><\/div><\/div><div class=\"doc-section \" id=\"bloomerang-account-lastnamevalue\" data-section-id=\"15\"><h3 class=\"doc-sec-title\" ><span class=\"doc-sec-link\"><img decoding=\"async\" src=\"https:\/\/emmanuelgreene.com\/wp-content\/plugins\/documentor-lite\/skins\/default\/images\/link.png\" onclick=\"prompt('Press Ctrl + C, then Enter to copy to clipboard','https:\/\/emmanuelgreene.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F74#bloomerang-account-lastnamevalue')\"><\/span> Bloomerang.Account.lastName(value)<\/h3><div class=\"doc-sec-content\" ><p>Sets the donor&#8217;s last\u00a0name. This does not set the account type to Individual, so if you had previously set the account to be an organization, you\u00a0first call <a href=\"http:\/\/emmanuelgreene.com\/?page_id=74#bloomerang-account-individual\">Bloomerang.Account.individual()<\/a>.<\/p>\n<table>\n<tbody>\n<tr>\n<td>value<\/td>\n<td>required<\/td>\n<td>The donor&#8217;s last\u00a0name.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/p>\n<\/div><div class=\"doc-help\"><\/div><\/div><div class=\"doc-section \" id=\"bloomerang-account-prefixvalue\" data-section-id=\"16\"><h3 class=\"doc-sec-title\" ><span class=\"doc-sec-link\"><img decoding=\"async\" src=\"https:\/\/emmanuelgreene.com\/wp-content\/plugins\/documentor-lite\/skins\/default\/images\/link.png\" onclick=\"prompt('Press Ctrl + C, then Enter to copy to clipboard','https:\/\/emmanuelgreene.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F74#bloomerang-account-prefixvalue')\"><\/span> Bloomerang.Account.prefix(value)<\/h3><div class=\"doc-sec-content\" ><p>Sets the donor&#8217;s name prefix (Mr., Mrs., Dr., etc.). This does not set the account type to Individual, so if you had previously set the account to be an organization, you\u00a0first call <a href=\"http:\/\/emmanuelgreene.com\/?page_id=74#bloomerang-account-individual\">Bloomerang.Account.individual()<\/a>.<\/p>\n<table>\n<tbody>\n<tr>\n<td>value<\/td>\n<td>required<\/td>\n<td>The donor&#8217;s name prefix. This must be one of the prefix values recognized by Bloomerang:<br \/>Mr, Miss, Ms, Mrs, Master, Rev, Pastor, Fr, Dr, Atty, Prof, Hon, Pres, Coach , Gov, Sir, Rep, Sen, Pvt, Sgt, Maj, Capt, Cmdr, Lt, Col, Gen, Rabbi, Sr<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/p>\n<\/div><div class=\"doc-help\"><\/div><\/div><div class=\"doc-section \" id=\"bloomerang-account-suffixvalue\" data-section-id=\"17\"><h3 class=\"doc-sec-title\" ><span class=\"doc-sec-link\"><img decoding=\"async\" src=\"https:\/\/emmanuelgreene.com\/wp-content\/plugins\/documentor-lite\/skins\/default\/images\/link.png\" onclick=\"prompt('Press Ctrl + C, then Enter to copy to clipboard','https:\/\/emmanuelgreene.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F74#bloomerang-account-suffixvalue')\"><\/span> Bloomerang.Account.suffix(value)<\/h3><div class=\"doc-sec-content\" ><p>Sets the donor&#8217;s name suffix\u00a0(Jr., III, etc.). This does not set the account type to Individual, so if you had previously set the account to be an organization, you\u00a0first call <a href=\"http:\/\/emmanuelgreene.com\/?page_id=74#bloomerang-account-individual\">Bloomerang.Account.individual()<\/a>.<\/p>\n<table>\n<tbody>\n<tr>\n<td>value<\/td>\n<td>required<\/td>\n<td>The donor&#8217;s name suffix. This must be one of the suffix\u00a0values recognized by Bloomerang:<br \/>Jr, Sr, II, III, IV, V, Esq, PhD, MD, DDS<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/p>\n<\/div><div class=\"doc-help\"><\/div><\/div><div class=\"doc-section \" id=\"bloomerang-account-informalnamevalue\" data-section-id=\"18\"><h3 class=\"doc-sec-title\" ><span class=\"doc-sec-link\"><img decoding=\"async\" src=\"https:\/\/emmanuelgreene.com\/wp-content\/plugins\/documentor-lite\/skins\/default\/images\/link.png\" onclick=\"prompt('Press Ctrl + C, then Enter to copy to clipboard','https:\/\/emmanuelgreene.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F74#bloomerang-account-informalnamevalue')\"><\/span> Bloomerang.Account.informalName(value)<\/h3><div class=\"doc-sec-content\" ><p>Sets the donor&#8217;s informal name.\u00a0This does not set the account type to Individual, so if you had previously set the account to be an organization, you\u00a0first call <a href=\"http:\/\/emmanuelgreene.com\/?page_id=74#bloomerang-account-individual\">Bloomerang.Account.individual()<\/a>.<\/p>\n<p>If this is not called, the informal name will default to the donor&#8217;s first name.<\/p>\n<table>\n<tbody>\n<tr>\n<td>value<\/td>\n<td>required<\/td>\n<td>The donor&#8217;s informal name<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/p>\n<\/div><div class=\"doc-help\"><\/div><\/div><div class=\"doc-section \" id=\"bloomerang-account-formalnamevalue\" data-section-id=\"19\"><h3 class=\"doc-sec-title\" ><span class=\"doc-sec-link\"><img decoding=\"async\" src=\"https:\/\/emmanuelgreene.com\/wp-content\/plugins\/documentor-lite\/skins\/default\/images\/link.png\" onclick=\"prompt('Press Ctrl + C, then Enter to copy to clipboard','https:\/\/emmanuelgreene.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F74#bloomerang-account-formalnamevalue')\"><\/span> Bloomerang.Account.formalName(value)<\/h3><div class=\"doc-sec-content\" ><p>Sets the donor&#8217;s formal\u00a0name.\u00a0This does not set the account type to Individual, so if you had previously set the account to be an organization, you\u00a0first call <a href=\"http:\/\/emmanuelgreene.com\/?page_id=74#bloomerang-account-individual\">Bloomerang.Account.individual()<\/a>.<\/p>\n<p>If this is not called, the informal name will default to &#8220;Prefix LastName&#8221;.<\/p>\n<table>\n<tbody>\n<tr>\n<td>value<\/td>\n<td>required<\/td>\n<td>The donor&#8217;s formal\u00a0name<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/p>\n<\/div><div class=\"doc-help\"><\/div><\/div><div class=\"doc-section \" id=\"bloomerang-account-envelopenamevalue\" data-section-id=\"20\"><h3 class=\"doc-sec-title\" ><span class=\"doc-sec-link\"><img decoding=\"async\" src=\"https:\/\/emmanuelgreene.com\/wp-content\/plugins\/documentor-lite\/skins\/default\/images\/link.png\" onclick=\"prompt('Press Ctrl + C, then Enter to copy to clipboard','https:\/\/emmanuelgreene.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F74#bloomerang-account-envelopenamevalue')\"><\/span> Bloomerang.Account.envelopeName(value)<\/h3><div class=\"doc-sec-content\" ><p>Sets the donor&#8217;s envelope\u00a0name (the name that should be printed on mailing labels).\u00a0This does not set the account type to Individual, so if you had previously set the account to be an organization, you\u00a0first call <a href=\"http:\/\/emmanuelgreene.com\/?page_id=74#bloomerang-account-individual\">Bloomerang.Account.individual()<\/a>.<\/p>\n<p>If this is not called, the envelope\u00a0name will default to &#8220;Prefix FirstName LastName Suffix&#8221;.<\/p>\n<table>\n<tbody>\n<tr>\n<td>value<\/td>\n<td>required<\/td>\n<td>The donor&#8217;s envelope\u00a0name<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/p>\n<\/div><div class=\"doc-help\"><\/div><\/div><div class=\"doc-section \" id=\"blooemrang-account-recognitionnamevalue\" data-section-id=\"21\"><h3 class=\"doc-sec-title\" ><span class=\"doc-sec-link\"><img decoding=\"async\" src=\"https:\/\/emmanuelgreene.com\/wp-content\/plugins\/documentor-lite\/skins\/default\/images\/link.png\" onclick=\"prompt('Press Ctrl + C, then Enter to copy to clipboard','https:\/\/emmanuelgreene.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F74#blooemrang-account-recognitionnamevalue')\"><\/span> Blooemrang.Account.recognitionName(value)<\/h3><div class=\"doc-sec-content\" ><p>Sets the donor&#8217;s recognition\u00a0name.\u00a0This does not set the account type to Individual, so if you had previously set the account to be an organization, you\u00a0first call <a href=\"http:\/\/emmanuelgreene.com\/?page_id=74#bloomerang-account-individual\">Bloomerang.Account.individual()<\/a>.<\/p>\n<p>If this is not called, the recognition\u00a0name will default to &#8220;Prefix FirstName MiddleName LastName Suffix&#8221;.<\/p>\n<table>\n<tbody>\n<tr>\n<td>value<\/td>\n<td>required<\/td>\n<td>The donor&#8217;s recognition\u00a0name<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/p>\n<\/div><div class=\"doc-help\"><\/div><\/div><div class=\"doc-section \" id=\"form-submission-methods\" data-section-id=\"8\"><h3 class=\"doc-sec-title\" ><span class=\"doc-sec-link\"><img decoding=\"async\" src=\"https:\/\/emmanuelgreene.com\/wp-content\/plugins\/documentor-lite\/skins\/default\/images\/link.png\" onclick=\"prompt('Press Ctrl + C, then Enter to copy to clipboard','https:\/\/emmanuelgreene.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F74#form-submission-methods')\"><\/span> Form Submission Methods<\/h3><div class=\"doc-sec-content\" ><p>These are the methods used to actually send the form submission to Bloomerang.<\/p>\n<\/div><div class=\"doc-help\"><\/div><\/div><\/div><a class=\"scrollup\" style=\"display: block;\"><span class=\"icon-untitled\"><\/span><\/a><\/div><div class=\"cleardiv\"> <\/div><div id=\"documentor-1-end\"><\/div><script type=\"text\/javascript\">\n\t\t\tjQuery(document).ready(function(){\n\t\t\t\tjQuery(\"#documentor-1\").documentor({\n\t\t\t\t\tdocumentid\t: 1,\n\t\t\t\t\tdocid\t\t: \"documentor-1\",\n\t\t\t\t\tanimation\t: \"\",\n\t\t\t\t\tindexformat\t: \"1\",\n\t\t\t\t\tpformat\t\t: \"decimal\",\n\t\t\t\t\tcformat\t\t: \"decimal\",\n\t\t\t\t\tsecstyle\t: \"\",\n\t\t\t\t\tactnavbg_default: \"1\",\n\t\t\t\t\tactnavbg_color\t: \"#cccccc\",\n\t\t\t\t\tscrolling\t: \"1\",\n\t\t\t\t\tfixmenu\t\t: \"1\",\n\t\t\t\t\tmenuTop: \"0\",\n\t\t\t\t\tskin\t\t: \"default\",\n\t\t\t\t\tscrollBarSize\t: \"3\",\n\t\t\t\t\tscrollBarColor\t: \"#f45349\",\n\t\t\t\t\tscrollBarOpacity: \"0.4\",\n\t\t\t\t\tsocialshare\t: 0,\n\t\t\t\t\tsharecount\t: 1,\n\t\t\t\t\tfbshare\t\t: 1,\n\t\t\t\t\ttwittershare\t: 1,\n\t\t\t\t\tgplusshare\t: 1,\n\t\t\t\t\tpinshare\t: 1,\n\t\t\t\t\ttogglechild\t: 0\n\t\t\t\t});\t\n\t\t\t});<\/script>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-templates\/full-width.php","meta":{"footnotes":""},"class_list":["post-74","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/emmanuelgreene.com\/index.php?rest_route=\/wp\/v2\/pages\/74","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/emmanuelgreene.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/emmanuelgreene.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/emmanuelgreene.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/emmanuelgreene.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=74"}],"version-history":[{"count":1,"href":"https:\/\/emmanuelgreene.com\/index.php?rest_route=\/wp\/v2\/pages\/74\/revisions"}],"predecessor-version":[{"id":75,"href":"https:\/\/emmanuelgreene.com\/index.php?rest_route=\/wp\/v2\/pages\/74\/revisions\/75"}],"wp:attachment":[{"href":"https:\/\/emmanuelgreene.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=74"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}