Build a Form that Accepts Payments

Prev Next

This article walks through some examples of how to set up a form to accept payments when using the CivicPlus Payments integration.

There are several ways you can set up a payment form, but you will most likely use the Calculation element. If you are not familiar with the ISNULL and ROUND functionalities, we recommend that you also reference the Calculation element article. This is especially useful if you are utilizing Conditional Logic.

Calculate the Total Due Based on User Selections

You can set up a form to total the amount due based on the options a user selects when filling it out. In this example, we are setting up a pet license form that will charge users a specific amount for the type of renewal option they choose. It will also charge them based on whether or not their pet is spayed/neutered.

  1. Edit an existing form or create a new form Select form.

  2. Navigate to the Builder tab and click Add New ElementAdd New Element.

  3. Select the Element Type that will collect information to determine the amount a user is charged Element types.

    Note: Learn more about the available Element Types.

  4. Configure the element as needed Configure radio button element.

  5. In this example, Values were added to the radio button options to correspond to the dollar amount that will be charged to the user Values.

    Note: Values must be unique. If you want multiple options to have the same value, you can add decimal points so that they differ from each other. For example, if three options should be valued at $20, you can set one option as 20, one option as 20.0, and one as 20.00.

  6. To total up the amount due, add a Calculation element to the form Calculation element.

  7. Configure the Calculation element as needed Configure calculation element.

    Note: In this example, we are adding the selected values of the Renewal Option and Spayed/Neutered elements.

  8. Click Save Save form.

  9. The form will now calculate a total at the bottom, based on previous selections by the user Form preview.

    Note: In this example, the Total Due is $35 since the user selected the $15 renewal option and answered "No" to the spayed/neutered question (which has a set value of $20).

Add Taxes / Fees to a Payment Form

  1. Edit an existing form or create a new form Select form.

  2. Navigate to the Builder tab and click Add New Element Add new element.

  3. Select the Calculation element Calculation.

  4. In the Calculation field, times the tax/fee rate by the element that calculated the amount due Add tax to element.

  5. Repeat step 3 to add another Calculation element that combines the initial amount due plus the taxes/fees calculation element you just created Add taxes to total.

  6. Click SaveSave form.

  7. The form will now add taxes/fees to the total amount due Preview taxes.

Add Multiple Payment Methods

If your integrated gateway allows both ACH and Credit/Debit card transactions, you can set up the form to let a user choose how they would like to process their payment.

Note: The user can only be directed to one payment gateway. The following instructions ensure that conditional logic is configured so that only one payment gateway will run for a submission.

  1. Edit an existing form or create a new form Select form.

  2. Navigate to the Builder tab and click Add New ElementAdd new element.

  3. Select the Radio Buttons element Radio buttons.

  4. Add a Label and configure any other element details Configure radio button for payment method.

  5. Enter the available payment method options Payment options.

  6. Click SaveSave form.

  7. Navigate to the Workflow tab and select Payment EventsPayment events workflow.

  8. Add a Payment Event, toggle on Run Conditionally, and select the payment method option that should trigger the selected gateway Run conditionally card.

  9. Click Add Payment to add an additional event Add payment event.

  10. Select the applicable Gateway, toggle on Run Conditionally, and choose the payment method option that will trigger this event Second payment event.

  11. Click SaveSave form.

  12. The form will now have an option where a user can select their preferred payment method Payment method.

  13. Once they click Submit, the related payment form will display Forte Card Checkout.

    Note: Payment forms will differ depending on the gateway selected.

Related Articles