We are implementing a deployment freeze on the following dates: Nov 20th - Dec 2nd and Dec 18th - Jan 4th

Generate a direct debit link

Prev Next

Mary Evans, Cloud Kicks' accountant, has signed up for Stripe so that her customers can pay directly from the invoices issued in Frisbii.

Some products are invoiced frequently, so Mary wants to set up recurring payment for them.
There are two types of recurring payment: by credit card or by SEPA direct debit. Mary wants to let her customers choose their payment method.


Stripe installation guide

First, Linda, Cloud Kicks' Salesforce administrator, makes sure that the prerequisites and the configuration between Salesforce and Stripe are in place: Stripe: Use cases & Implementation

Once everything is set up, Linda can train her colleague Mary.


Mary needs to send a direct debit link to her customer to request the bank details (credit card or IBAN) that will be used for the automatic direct debit.

Steps:

  1. Open the customer's account.

  2. Click the Generate direct debit link button.

    If the button is not on the page, Mary asks Linda to add it. The button must be added to the page layout under Mobile & Lightning Actions.

  3. Next, choose your PSP (Frisbii Pay or Stripe) and the bank details to be used for paying this account's invoices. In this case, Mary selects Stripe and the associated bank details:

    This drop-down list only shows the bank details created in Frisbii. By default, the default bank details of the legal entity are assigned. Mary notices that Cloud Kicks' bank details are missing, so she asks Linda to create them and set them as the default for the legal entity. If the company has several bank accounts, Linda refers to the article Stripe: Use cases & Implementation.

  4. A direct debit link is generated on the account in the Direct Debit Link field (sofactoapp__DirectDebitLink__c).

  5. An email template called Direct Debit Link is available so that you can easily share the direct debit link with your customers.

Note

You can also generate direct debit links in bulk to send them to several customers. To do so, create a flow that calls the invocable action FrisbiiPayGeneratePayMethodLinksAction and define your entry conditions (for example, the account must have the payment method Stripe Recurring).

Limitations

You cannot generate direct debit links for more than 100 accounts at a time.


Customer view

Using the link they received, the customer can enter their payment details. They can choose to enter either credit card or SEPA direct debit details.

The interface is fully customizable (logo, name, etc.) from your Stripe account.


PSP Payment Method object

When the direct debit link is generated, a PSP Payment Method record (API name: sofactoapp_PSPPAymentMethod__c) is created. It stores the payment information for a customer account.

This record cannot be created manually: the New button on the related lists is locked. You must use the direct debit link generation described above.

Each time a new link is generated, a PSP Payment Method record is created. By default, this record has the status Inactive. When the customer enters their bank details, the PSP Payment Method automatically switches to the status Active.

To deactivate a payment method (for example, when the IBAN changes), change its status to Inactive.

Users with a Sales or Read Only profile can neither edit nor delete a PSP Payment Method record.

The only field that Finance and Admin users can edit is the Status field, which can be set to Active or Inactive.