{"id":26131,"date":"2010-01-12T20:05:13","date_gmt":"2010-01-13T00:05:13","guid":{"rendered":"https:\/\/www.bu.edu\/tech\/?page_id=26131"},"modified":"2024-02-09T10:00:09","modified_gmt":"2024-02-09T15:00:09","slug":"credit-cards","status":"publish","type":"page","link":"https:\/\/www.bu.edu\/tech\/services\/cccs\/websites\/www\/non-wordpress\/marconi\/credit-cards\/","title":{"rendered":"Processing Credit Card Payments"},"content":{"rendered":"<p>All credit card payments taken online must be processed using a secure method.<\/p>\n<p>With the <a href=\"https:\/\/www.bu.edu\/tech\/services\/cccs\/websites\/www\/wordpress\/how-to\/create-online-forms\/payment-forms\/\">Gravity Forms Nelnet AddOn WordPress Plugin<\/a>, Site Editors may follow the step-by-step instructions to create basic payment forms using WordPress Gravity Forms and a Nelnet Order Type from the BU Cashier&#8217;s Office.<\/p>\n<p>For more complex payment forms that cannot be built with Gravity Forms, IS&amp;T can build a payment form using our Marconi form processor. We can create a form that takes client and pricing information and sends it to the Cashier&#8217;s System, which handles the credit transactions in a completely secure environment.<\/p>\n<h3>Before You Begin<\/h3>\n<ol>\n<li>Follow the <a title=\"Credit Card Processing\" href=\"http:\/\/www.bu.edu\/cfo\/comptroller\/departments\/cashier\/resources\/credit-card-processing\/\" target=\"_blank\" rel=\"noopener noreferrer\">steps provided by the University Cashier<\/a> to start processing credit card payments.\n<ul>\n<li>Phone: 617-353-3896 \/ Email: <a href=\"mailto:cashier@bu.edu\">cashier@bu.edu<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a title=\"Create\" href=\"https:\/\/www.bu.edu\/tech\/services\/cccs\/websites\/www\/non-wordpress\/marconi\/first\/\">Create your Marconi form<\/a> using the field names specified in <a title=\"sample form\" href=\"http:\/\/www.bu.edu\/av\/tech\/telegraph-samples\/credit-cards.html\">the sample credit card form.<\/a> This will ensure that the Cashier&#8217;s System receives the information necessary for the transaction.<\/li>\n<li>Follow the instructions below after setting up your <a title=\"Config files\" href=\"https:\/\/www.bu.edu\/tech\/services\/cccs\/websites\/www\/non-wordpress\/marconi\/first\/xml\/\">Marconi configuration file<\/a>.<\/li>\n<\/ol>\n<h3>Process Credit Cards Online<\/h3>\n<ol>\n<li>Add this line of code to your Marconi configuration file:<br \/>\n<code>&lt;directive special=\"nelnet\" amount=\"<strong>amount-to-be-charged<\/strong>\" order_type=\"<strong>your-nelnet-order-type<\/strong>\"\/&gt;<\/code><code><\/code><\/li>\n<li><em> <\/em>Replace <strong>amount-to-be-charged<\/strong> with the amount (in dollars) to be charged, <code><strong>your-nelnet-order-type<\/strong><\/code> with the Nelnet Order Type Code you received from the University Cashier.\u00a0 <strong>Note<\/strong> that you can use conditional variables or form fields to have different amounts charged:\n<ul>\n<li>Example #1 &#8211; Single Sum<em> <\/em>\n<ul>\n<li><code>&lt;directive special=\"nelnet\" order_type=\"AB123\" amount=\"50.00\" \/&gt;<\/code><\/li>\n<\/ul>\n<\/li>\n<li>Example #2 &#8211; Sum Specified by a Form Field\n<ul>\n<li><code>&lt;directive special=\"nelnet\" order_type=\"AB123\" amount=[total-charge]\"\/&gt;<\/code><\/li>\n<\/ul>\n<\/li>\n<li>Example #3 &#8211; Sum Specified by a Conditional Directive<br \/>\nIn this example, if the value of the field <strong>location<\/strong> is <strong>on-campus<\/strong>, then a different price will be substituted for whatever <strong>[total-charge]<\/strong> normally is.<\/p>\n<ul>\n<li><code>&lt;directive special=\"nelnet\" order_type=\"AB123\" amount=[total-charge]\"\/&gt;<br \/>\n&lt;directive action=\"conditional-field\" source_field=\"location\" source_value=\"on-campus\" target_field=\"total-charge\" target_value=\"100.00\" \/&gt;<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>Contact the Cashier&#8217;s Office to test your form while still using the Test branch of Marconi. Once the Cashier&#8217;s Office gives its approval, we can push the configuration and related files to production branch of Marconi and update the form action:\n<ul>\n<li><span style=\"color: #222222; font-family: monospace;\"><span style=\"caret-color: #222222; background-color: #e9ebec;\">Form action set for Test environment of Marconi and Nelnet<\/span><\/span>\n<ul>\n<li>&lt;form action=&#8221;https:\/\/www-test.bu.edu\/phpbin\/marconi\/&#8221;&gt;<\/li>\n<\/ul>\n<\/li>\n<li><span style=\"color: #222222; font-family: monospace;\"><span style=\"caret-color: #222222; background-color: #e9ebec;\">After approval by the Cashier&#8217;s Office in Test, the Marconi configuration file and email templates should be pushed to Production and the HTML form action set for Production environment of Marconi and Nelnet<\/span><\/span>\n<ul>\n<li>&lt;form action=&#8221;https:\/\/wwwt.bu.edu\/phpbin\/marconi\/&#8221;&gt;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h3>Process Credit Card Orders Taken over the Phone<\/h3>\n<p>The order_type parameter tells Nelnet whether it is a public or office payment and other settings and one form may now submit to more than one order_type\u00a0using the [if?:] special variable. In the example below if the field named &#8220;email&#8221; has the value &#8220;dept_email@bu.edu&#8221;, &#8220;OF321&#8221; will be the order-type value and, otherwise, &#8220;AB123&#8221; would be order-type.<\/p>\n<p>Example:<br \/>\n<code>&lt;directive special=\"nelnet\" <span style=\"font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;\">amount=\"50.00\" order_type=\"<\/span><strong style=\"font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;\">[if?:email=dept_email@bu.edu:OF321:AB123]<\/strong><span style=\"font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;\">\"\/&gt;<\/span><strong><br \/>\n<\/strong><\/code><\/p>\n<h3>Examples of Complete Files<\/h3>\n<ul>\n<li><a href=\"\/av\/tech\/telegraph-samples\/credit-cards.html\">HTML<\/a><\/li>\n<li><a href=\"\/av\/tech\/telegraph-samples\/telegraph\/credit-cards.xml\">Config File<\/a><\/li>\n<li><a href=\"\/av\/tech\/telegraph-samples\/ticket-orders.txt\">Email Template<\/a><\/li>\n<li><a href=\"\/av\/tech\/telegraph-samples\/thanks-credit.html\">Thank You Page Template<\/a> (with payment information)<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>All credit card payments taken online must be processed using a secure method. With the Gravity Forms Nelnet AddOn WordPress Plugin, Site Editors may follow the step-by-step instructions to create basic payment forms using WordPress Gravity Forms and a Nelnet Order Type from the BU Cashier&#8217;s Office. For more complex payment forms that cannot be&#8230;<\/p>\n","protected":false},"author":1282,"featured_media":0,"parent":26049,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/26131"}],"collection":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/users\/1282"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/comments?post=26131"}],"version-history":[{"count":46,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/26131\/revisions"}],"predecessor-version":[{"id":150355,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/26131\/revisions\/150355"}],"up":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/26049"}],"wp:attachment":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/media?parent=26131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}