{"_id":"5632a5ec49e16d0d001224c4","__v":0,"category":{"_id":"5632a5e749e16d0d00122444","pages":["5632a5ec49e16d0d001224bd","5632a5ec49e16d0d001224be","5632a5ec49e16d0d001224bf","5632a5ec49e16d0d001224c0","5632a5ec49e16d0d001224c1","5632a5ec49e16d0d001224c2","5632a5ec49e16d0d001224c3","5632a5ec49e16d0d001224c4","5632a5ec49e16d0d001224c5","5632a5ec49e16d0d001224c6","5632a5ec49e16d0d001224c7","5632a5ec49e16d0d001224c8","5632a5ec49e16d0d001224c9","5632a5ec49e16d0d001224ca","5632a5ec49e16d0d001224cb","5633bab59c607719001b86a1","5633bcbac49a7c19001fd0a6","5633befcc49a7c19001fd0a9","5633c585b904a10d0032f864","5633d7547b56ae0d0025a062","5633d7e87b56ae0d0025a066","5633d85435355017003ca3c8","5633da507e9e880d00af1a28","5633daa3fa71f30d00ba74ab","5633e1f87e9e880d00af1a3f","5633e323fa71f30d00ba74b9","5633e3aa7b56ae0d0025a072","5633e4c6737ea01700ea3276"],"project":"55b933b3146ef121002158d3","version":"5632a5e549e16d0d00122443","__v":14,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-07-31T23:12:47.262Z","from_sync":false,"order":0,"slug":"epayment-form","title":"ePayment Form"},"version":{"_id":"5632a5e549e16d0d00122443","__v":6,"project":"55b933b3146ef121002158d3","createdAt":"2015-10-29T23:04:05.701Z","releaseDate":"2015-10-29T23:04:05.701Z","categories":["5632a5e749e16d0d00122444","5632a5e749e16d0d00122445","5632a5e749e16d0d00122446","5632a5e749e16d0d00122447","5632a5e749e16d0d00122448","5632a5e749e16d0d00122449","5632a5e749e16d0d0012244a","5632a5e749e16d0d0012244b","5632a5e749e16d0d0012244c","5632a5e749e16d0d0012244d","5632a5e749e16d0d0012244e","5632a5e749e16d0d0012244f","5632a5e749e16d0d00122450","5632b179df556c0d00cd095b","564e13053b2b4a19000cd69b","59caa9df65accc001a489c95","59cab50965accc001a489d28","59cadd464ab7b70024378e74"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.1.0","version":"1.1"},"user":"55b932ba8fd1a02b00f496c8","githubsync":"","project":"55b933b3146ef121002158d3","parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-08-03T18:34:46.145Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":7,"body":"## Case Study: Donation Form \n\nThe following is a case study for creating a simple donation page hosted on your website that connects to eBizCharge for secure processing. This is a great starting off point for religious donations, non-profit organizations, or any merchant accepting a variable dollar amount from the client through a payment form. Below you can download the necessary source code files. Edit the HTML source code with your favorite editor (Notepad, TextEdit, Dreamweaver) to input your source key and edit any of the templated text already there for you. Save the files in the original format. These files will need to be uploaded via a service such as FTP, or something similar, to your website. Once you've uploaded the files you can access them through the browser. Clicking on the button submits the form to eBizCharge and brings the customer to the secure payment area on eBizCharge's servers. The customer completes the payment process by entering their payment information.\n\n## ePayment Form fields used \nThe form uses the following fields to post to eBizCharge:\n**-UMkey** - This is the source key that connects you as a valid merchant on our gateway (Required)\n**-UMcommand** - This indicates the type of a transaction, sale. (Required)\n**-UMinvoice** - This allows you to pass a numerical invoice number for record keeping. (Required)\n**-UMamount** - A text box displayed for customer to enter a decimal (0.00) amount. (Required)\n**-UMdescription** - A text box for any comments left by the donor\n**-UMcustemail** - A place for the donor to enter their email address for a confirmation receipt.\nThe form is not limited to only these fields. Others may be used. Please customize based on your preferences.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"HTML Source for Donation form\"\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<!DOCTYPE html PUBLIC \\\"-//W3C//DTD XHTML 1.0 Transitional//EN\\\" \\\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\\\">\\n<html xmlns=\\\"http://www.w3.org/1999/xhtml\\\" xml:lang=\\\"en\\\" lang=\\\"en\\\">\\n<head>\\n<meta http-equiv=\\\"Content-Language\\\" content=\\\"en-us\\\" />\\n<meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html; charset=utf-8\\\" />\\n<title></title>\\n<style type=\\\"text/css\\\">\\n/*<![CDATA[*/\\ndiv.c6 {text-align: center}\\np.c5 {text-align: center}\\nspan.c4 {font-family: Verdana; font-size: 80%}\\nspan.c3 {font-family: Verdana}\\nspan.c2 {color: #FFFFFF; font-family: Verdana, Arial; font-size: 120%}\\nspan.c1 {color: #FFFFFF; font-family: Verdana, Arial; font-size: 200%}\\n/*]]>*/\\n</style>\\n</head>\\n<body>\\n<form action=\\\"https://secure.ebizcharge.com/interface/epayform/\\\">\\n<input type=\\\"hidden\\\" name=\\\"UMkey\\\" value=\\\"HBDy1XU40KsourceKeyHere7a5iOh2HP\\\" />\\n<input type=\\\"hidden\\\" name=\\\"UMcommand\\\" value=\\\"sale\\\" />\\n<input type=\\\"hidden\\\" name=\\\"UMinvoice\\\" value=\\\"[invoice]\\\" />\\n<input type=\\\"hidden\\\" name=\\\"UMcustreceipt\\\" value=\\\"yes\\\" />\\n<div class=\\\"c6\\\">\\n<table border=\\\"0\\\" width=\\\"700\\\" cellpadding=\\\"4\\\" cellspacing=\\\"0\\\">\\n<tr>\\n<td bgcolor=\\\"#9999FF\\\" width=\\\"692\\\" colspan=\\\"2\\\"><strong><span class=\\\"c1\\\">Donate for a cause</span> <span class=\\\"c2\\\"><br />\\nMoney For Charity</span></strong></td>\\n</tr>\\n<tr>\\n<td bgcolor=\\\"#F0F0F0\\\" width=\\\"692\\\" colspan=\\\"2\\\"> </td>\\n</tr>\\n<tr>\\n<td bgcolor=\\\"#C4C7D4\\\" width=\\\"692\\\" colspan=\\\"2\\\"><span class=\\\"c3\\\"><strong>Donor Information:</strong></span></td>\\n</tr>\\n<tr>\\n<td bgcolor=\\\"#F0F0F0\\\" width=\\\"234\\\">         </td>\\n<td bgcolor=\\\"#F0F0F0\\\" width=\\\"450\\\"> </td>\\n</tr>\\n<tr>\\n<td bgcolor=\\\"#F0F0F0\\\" width=\\\"234\\\" align=\\\"right\\\"><span class=\\\"c4\\\">Donation Amount:</span></td>\\n<td bgcolor=\\\"#F0F0F0\\\" width=\\\"450\\\"><input type=\\\"text\\\" name=\\\"UMamount\\\" value=\\\"[Amout Here 00.00]\\\" /></td>\\n</tr>\\n<tr>\\n<td bgcolor=\\\"#F0F0F0\\\" width=\\\"234\\\">         </td>\\n<td bgcolor=\\\"#F0F0F0\\\" width=\\\"450\\\"> </td>\\n</tr>\\n<tr>\\n<td bgcolor=\\\"#F0F0F0\\\" width=\\\"234\\\" align=\\\"right\\\"><span class=\\\"c4\\\">Comments:</span></td>\\n<td bgcolor=\\\"#F0F0F0\\\" width=\\\"450\\\">\\n<textarea name=\\\"UMdescription\\\" cols=\\\"40\\\" rows=\\\"5\\\">\\nEnter your comments here...\\n</textarea>\\n<br /></td>\\n</tr>\\n<tr>\\n<td bgcolor=\\\"#F0F0F0\\\" width=\\\"234\\\">         </td>\\n<td bgcolor=\\\"#F0F0F0\\\" width=\\\"450\\\"> </td>\\n</tr>\\n<tr>\\n<td bgcolor=\\\"#F0F0F0\\\" width=\\\"234\\\" align=\\\"right\\\"><span class=\\\"c4\\\">Email Address:</span></td>\\n<td bgcolor=\\\"#F0F0F0\\\" width=\\\"450\\\"><input type=\\\"text\\\" name=\\\"UMemail\\\" size=\\\"20\\\" value=\\\"[Your email address here]\\\" /></td>\\n</tr>\\n<tr>\\n<td bgcolor=\\\"#F0F0F0\\\" width=\\\"692\\\" colspan=\\\"2\\\"><span class=\\\"c4\\\">     </span></td>\\n</tr>\\n<tr>\\n<td bgcolor=\\\"#F0F0F0\\\" width=\\\"234\\\"> </td>\\n<td bgcolor=\\\"#F0F0F0\\\" width=\\\"450\\\"> </td>\\n</tr>\\n<tr>\\n<td bgcolor=\\\"#F0F0F0\\\" width=\\\"234\\\">         </td>\\n<td bgcolor=\\\"#F0F0F0\\\" width=\\\"450\\\"> </td>\\n</tr>\\n<tr>\\n<td bgcolor=\\\"#F0F0F0\\\" width=\\\"692\\\" colspan=\\\"2\\\">\\n<p class=\\\"c5\\\"><input type=\\\"image\\\" src=\\\"ebizchargesecurebuttongray3.gif\\\" value=\\\"Continue to Payment Form\\\" /></p>\\n<hr /></td>\\n</tr>\\n</table>\\n</div>\\n</form>\\n</body>\\n</html>\",\n      \"language\": \"html\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"one-time-sale","type":"basic","title":"One-time Sale"}
## Case Study: Donation Form The following is a case study for creating a simple donation page hosted on your website that connects to eBizCharge for secure processing. This is a great starting off point for religious donations, non-profit organizations, or any merchant accepting a variable dollar amount from the client through a payment form. Below you can download the necessary source code files. Edit the HTML source code with your favorite editor (Notepad, TextEdit, Dreamweaver) to input your source key and edit any of the templated text already there for you. Save the files in the original format. These files will need to be uploaded via a service such as FTP, or something similar, to your website. Once you've uploaded the files you can access them through the browser. Clicking on the button submits the form to eBizCharge and brings the customer to the secure payment area on eBizCharge's servers. The customer completes the payment process by entering their payment information. ## ePayment Form fields used The form uses the following fields to post to eBizCharge: **-UMkey** - This is the source key that connects you as a valid merchant on our gateway (Required) **-UMcommand** - This indicates the type of a transaction, sale. (Required) **-UMinvoice** - This allows you to pass a numerical invoice number for record keeping. (Required) **-UMamount** - A text box displayed for customer to enter a decimal (0.00) amount. (Required) **-UMdescription** - A text box for any comments left by the donor **-UMcustemail** - A place for the donor to enter their email address for a confirmation receipt. The form is not limited to only these fields. Others may be used. Please customize based on your preferences. [block:api-header] { "type": "basic", "title": "HTML Source for Donation form" } [/block] [block:code] { "codes": [ { "code": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\n<head>\n<meta http-equiv=\"Content-Language\" content=\"en-us\" />\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n<title></title>\n<style type=\"text/css\">\n/*<![CDATA[*/\ndiv.c6 {text-align: center}\np.c5 {text-align: center}\nspan.c4 {font-family: Verdana; font-size: 80%}\nspan.c3 {font-family: Verdana}\nspan.c2 {color: #FFFFFF; font-family: Verdana, Arial; font-size: 120%}\nspan.c1 {color: #FFFFFF; font-family: Verdana, Arial; font-size: 200%}\n/*]]>*/\n</style>\n</head>\n<body>\n<form action=\"https://secure.ebizcharge.com/interface/epayform/\">\n<input type=\"hidden\" name=\"UMkey\" value=\"HBDy1XU40KsourceKeyHere7a5iOh2HP\" />\n<input type=\"hidden\" name=\"UMcommand\" value=\"sale\" />\n<input type=\"hidden\" name=\"UMinvoice\" value=\"[invoice]\" />\n<input type=\"hidden\" name=\"UMcustreceipt\" value=\"yes\" />\n<div class=\"c6\">\n<table border=\"0\" width=\"700\" cellpadding=\"4\" cellspacing=\"0\">\n<tr>\n<td bgcolor=\"#9999FF\" width=\"692\" colspan=\"2\"><strong><span class=\"c1\">Donate for a cause</span> <span class=\"c2\"><br />\nMoney For Charity</span></strong></td>\n</tr>\n<tr>\n<td bgcolor=\"#F0F0F0\" width=\"692\" colspan=\"2\"> </td>\n</tr>\n<tr>\n<td bgcolor=\"#C4C7D4\" width=\"692\" colspan=\"2\"><span class=\"c3\"><strong>Donor Information:</strong></span></td>\n</tr>\n<tr>\n<td bgcolor=\"#F0F0F0\" width=\"234\"> </td>\n<td bgcolor=\"#F0F0F0\" width=\"450\"> </td>\n</tr>\n<tr>\n<td bgcolor=\"#F0F0F0\" width=\"234\" align=\"right\"><span class=\"c4\">Donation Amount:</span></td>\n<td bgcolor=\"#F0F0F0\" width=\"450\"><input type=\"text\" name=\"UMamount\" value=\"[Amout Here 00.00]\" /></td>\n</tr>\n<tr>\n<td bgcolor=\"#F0F0F0\" width=\"234\"> </td>\n<td bgcolor=\"#F0F0F0\" width=\"450\"> </td>\n</tr>\n<tr>\n<td bgcolor=\"#F0F0F0\" width=\"234\" align=\"right\"><span class=\"c4\">Comments:</span></td>\n<td bgcolor=\"#F0F0F0\" width=\"450\">\n<textarea name=\"UMdescription\" cols=\"40\" rows=\"5\">\nEnter your comments here...\n</textarea>\n<br /></td>\n</tr>\n<tr>\n<td bgcolor=\"#F0F0F0\" width=\"234\"> </td>\n<td bgcolor=\"#F0F0F0\" width=\"450\"> </td>\n</tr>\n<tr>\n<td bgcolor=\"#F0F0F0\" width=\"234\" align=\"right\"><span class=\"c4\">Email Address:</span></td>\n<td bgcolor=\"#F0F0F0\" width=\"450\"><input type=\"text\" name=\"UMemail\" size=\"20\" value=\"[Your email address here]\" /></td>\n</tr>\n<tr>\n<td bgcolor=\"#F0F0F0\" width=\"692\" colspan=\"2\"><span class=\"c4\"> </span></td>\n</tr>\n<tr>\n<td bgcolor=\"#F0F0F0\" width=\"234\"> </td>\n<td bgcolor=\"#F0F0F0\" width=\"450\"> </td>\n</tr>\n<tr>\n<td bgcolor=\"#F0F0F0\" width=\"234\"> </td>\n<td bgcolor=\"#F0F0F0\" width=\"450\"> </td>\n</tr>\n<tr>\n<td bgcolor=\"#F0F0F0\" width=\"692\" colspan=\"2\">\n<p class=\"c5\"><input type=\"image\" src=\"ebizchargesecurebuttongray3.gif\" value=\"Continue to Payment Form\" /></p>\n<hr /></td>\n</tr>\n</table>\n</div>\n</form>\n</body>\n</html>", "language": "html" } ] } [/block]