If all you need to do is set up a recurring payent of a fixed amount, continuing indefinitely, you don’t need to add any fields to your form. You only actually need a Submit button, which you can tailor in the Form Settings.

Of course, you probably will want to add various fields. Here are our recommendations.
Product fields and a Total field
The Gravity Forms form editor provides a group of fields called Pricing Fields. Adding these to your form brings you tons of flexibility to describe your product, add quantities, the option of a user-defined price (great for donations), tiered prices, shipping and more.
If you also add a Total field (it’s recommended that you do), this will contain the sum of all amounts from the product fields.
We’ll set up this form to take a monthly subscription.

Returning to the feed, we’ve left the Amount blank and used the drop-down selector to map the Amount to the Total field. The amount in this Total field will be validated against the transaction minimum and transaction limit defined in the Gravity Forms GoCardless settings and when the form is submitted, this amount will be submitted to GoCardless for processing.

If you’d prefer to offer the customer a set of fixed choices, perhaps to accept regular donations with suggested amounts, you could change the field type of your product field to use selector buttons or a drop-menu menu instead, like this:

This will create a payment section field like this:

Recurring
The interval between payments can be on a weekly, monthly or yearly basis and also at set intervals of these. For example, every 6 weeks or every two months. You can select these values from the feed settings. Alternatively you can map a field on the form for the user to select the interval (weekly, monthy or yearly only).

To set this up, add a drop-down field to your form and, on the General tab, add the labels and values to the Choices area as shown. The labels can be what you like (e.g. the same but in a different language), but the entries in the Value column must be exactly as shown – ‘weekly’, ‘monthly’ and ‘yearly’. (These values also apply if you choose to use radio buttons.) If you don’t want to offer one of these payment options, just delete that choice.
Number of Payments
The number of payments can be set on the form feed, mapped to a number field on the form itself, or not specified. If the number of payments is fixed, enter the number of times the payment should be taken. To allow payments to be taken indefinitely, select Continuing until further notice.

The number of payments cannot exceed the values defined by GoCardless and this is affected by the payment interval. WPdirectdebit will validate the number entered.
Date of first payment
You can allow the user the freedom to select a date in the future for their first payment. In the feed settings, set Date of first payment to Map Field and then map the date of first payment to a date field on the form.

If the chosen date is too soon, or if the date falls on a day that is invalid for payments to be taken, the date that will be applied will be the earliest date possible for the first payment to be taken.
Payment day of the month and Payment month
Payment day of the month has meaning only when Recurring is monthly or yearly. The values are Next available, 1-28, or Last day of the month which is the only valid option for days 29, 30 and 31.
Please note: if Recurring is yearly and Payment month is Next available, the Payment day of the month must also be Next available. But if a payment month is selected, Next available is not a valid option for Payment day of the month.
To put that into context, if your payments are to be taken annually, you can specify the date e.g. July 1st. You cannot request ‘July, any date in July will do’. You can, however, request annual payments, to be taken on the next available date, i.e. as soon as possible.
Payment month is used only when Recurring is set to Year in conjunction with Payment day of the month. If Payment day of the month is Next available, this value should also be Next available.

Password
Password verification is for use where you allow customers to have their own user accounts on your website. It adds a double layer of security to your form. Firstly the customer will need to be logged in; secondly the customer will not be able to submit the form if the password entered does not match their account password. You can add a password field by looking in the Advanced fields group offered by Gravity Forms. This will ensure the entered value is only used for verification and is not saved with the form.
If you include a password field, it should be set to Required. Set Confirm Password to Off. Set Enable Password Visibility Toggle to Enable. Do not Enable Password Strength.

To use this password field, you should map it in the Validation section of the feed.

Metadata
GoCardless allows you to tag a transaction with up to 3 items of metadata, consisting of a key and value pair. WPdirectdebit uses one of these pairs to add an order number to the transaction. (The order number is derived from the form’s entry ID and can be customised.)

The order metadata (WPD00/1202 in this example) has been added to this payment by WPdirectdebit. Other metadata, if configured on the form’s feed, would appear below.
You can add another pair by entering the metadata key on the form feed and mapping it to a value entered on the form, or selecting from several available values in the drop-down, such as the IP address of the user, or time of day etc.
