Generate a Direct Debit Mandate Payment Request

GoCardless for Dynamics 365 Business Central – TAPP leverages GoCardless’ direct debit system to enable the setting up of Direct Debit Mandates and issuing of payment requests using Direct Debit.

This article will guide you through;

  • the process of initiating payment requests via Direct Debit and setting up of Direct Debit Mandates in both Sandbox and Production.
  • the process of simulating Direct Debit Mandate setup and Direct Debit Payments in Sandbox

GoCardless for Dynamics 365 Business Central – TAPP leverages GoCardless’ Instant First Payment + Direct Debit mandate creation process.

Process Overview

Creating an Instant First Payment + Direct Debit Mandate Creation

When issuing a Sales Document in Business Central that is enabled for DDM processing, and no Direct Debit Mandate is selected, a URL is generated to be sent to the customer to pay the first payment and set up a DDM.

The below steps describe the creation of an Instant First Payment + Direct Debit Mandate Creation via a Sales Invoice – the same steps apply for Sales Orders.

  1. Create a Sales Invoice as per standard Business Central
  1. Switch on Enable for GoCardless Direct Debit Mandate. The field Direct Debit Mandate ID in the invoice is blank.
  2. Post the Sales Invoice as per standard Business Central. If posting is successful and the payment request has been successfully created, a confirmation message is returned.
  1. Navigate to the GoCardless Payments screen to see the payment record that was created and click on Post Payment Action.
  1. Open the payment record (double-click on the payment) to view the payment information and get the Billing Request URL to be sent to the customer to pay the request amount.

Mandate Activation – Simulation Steps

In step 5 above, a billing request is created in GoCardless. This request must be fulfilled to initiate the first payment, set up a mandate, and then simulate its activation.

Data Required for Simulation: Mandate ID

  1. Run the Billing Request URL in the browser and fill in the customer details and choose the correct bank depending on the required outcome of the simulation.
  2. Click on Set up this Direct Debit and finish the process by clicking Continue to manual web login
  1. A payment is created in GoCardless and the payment status is updated in Business Central.
  2. Simulate the mandate activation. See Activate a Customer Mandate.

Creating a Direct Debit Payment

When issuing a Sales Document in Business Central that is enabled for DDM processing, and a Direct Debit Mandate is selected, a payment is created using the mandate selected in the invoice.

The below steps describe the creation of a payment via a Sales Invoice – the same steps apply for Sales Orders.

  1. Create a Sales Invoice as per standard Business Central
  2. Switch on Enable for GoCardless Direct Debit Mandate. The field Direct Debit Mandate ID in the invoice is filled in.
  1. Post the Sales Invoice as per standard Business Central. If posting is successful and the payment request has been successfully created, a confirmation message is returned.
  1. Navigate to the GoCardless Payments screen to see the payment record that was created and click on Post Payment Action.
  1. Open the payment record (double-click on the payment) to view the payment information – you can see the GoCardless Payment ID.

Payments – Simulation Steps

In step 5 above, a payment is created in GoCardless and this is to be simulated as paid out or failed.

Data Required for Simulation: Payment ID

In this scenario, the Payment ID can be also obtained from the payment record as shown in step 5 above.

Simulate the payment process as Paid Out or Failed.

  1. For successful processing see: Payout a Payment
  2. For failed processing see: Fail a Payment

Updated on January 23, 2025

Was this article helpful?

Related Articles

Leave a Comment