Communicate
Pay online links
Add Pay now links to collections emails, statements and letters, through your own Stripe account (card and US ACH) or the payment services in Business Central.
updated: applies-to: 1.2.0.0
Make it easy for customers to pay while they read your reminder. Bitta Collections adds Pay now links to collections emails, the Customer Statement (Bitta) and the Collection Letter. The links come from one of two providers: your own Stripe account, for card and US bank (ACH) payments, or the payment services that you set up on the native Payment Services page.
Applies to: Bitta Collections 1.2 on Business Central online, version 28 or later.
Before you start
- You need the BAA COLL SETUP permission set (the Administrator set) to change the setup.
- For Stripe: your own Stripe account and its secret test key, which starts with
sk_test_(or a restricted key that starts withrk_test_). Take real payments later with the live key. - For Business Central payment services: a payment service set up and enabled on the native Payment Services page, for example a PayPal payment service, under your own account with the provider.
- In a sandbox environment, turn on Allow HttpClient Requests for Bitta Collections in Extension Management, so the app can call Stripe.
- Payment links work without a license seat.
NOTE
The customer pays on the provider's own page. Bitta Collections never sees or stores card or bank data. Processing fees are charged by the provider to your own account.
Turn on payment links
- Open Bitta Collections Setup and go to the Payment Links FastTab.
- Turn on Payment Links Enabled.
- Choose the Payment Link Provider: Business Central Payment Services (the default) or Stripe.
| Field | What it does | Default |
|---|---|---|
| Payment Links Enabled | Collections emails, the Bitta statement and the collection letter include Pay now links | No |
| Links Only for Unpaid Invoices | Only invoices without a partial payment get a link | Yes |
| Max. Payment Links per Email | The most links in one email. 0 means no limit | 10 |
| Payment Link Provider | Where the links come from | Business Central Payment Services |
You can also turn on links in the assisted setup, on the More ways to collect step, with Turn On Pay Now Links.
Set up Stripe
When you choose Stripe, Business Central asks you to agree that invoice numbers, open amounts and currency, the customer number and your company name are sent to Stripe, Inc. for each link, and then to agree to Stripe's privacy notice. Then set these fields:
| Field | What it does | Default |
|---|---|---|
| Payment Link Test Mode | Links are created with the test key. Customers see Stripe's test page and no money moves | On |
| Payment Link Test Key, Payment Link Live Key | Paste the secret key from the API keys page of your Stripe Dashboard. The key is stored encrypted and the field is cleared. Afterwards only Payment Link Test Key Stored or Payment Link Live Key Stored shows that it is there | |
| Payment Link Grouping | One per Invoice, or One per Customer and Currency for all the invoices that an email, statement or letter lists | One per Invoice |
| Accept Card Payments | Customers can pay by card | On |
| Accept US Bank Payments | Customers can pay in US dollars from a US bank account (ACH), when your Stripe account offers it | On |
| Payment Success URL | The page customers see after they paid, for example a thank-you page on your website. Blank shows Stripe's confirmation | |
| Online Payment Journal Template, Online Payment Journal Batch | The cash receipt journal batch where paid payments get their lines. Use a batch of its own, balanced against the bank or clearing account that Stripe pays out to | |
| Payment Fee G/L Account | The account for Stripe's fee, on its own journal line. Blank books no fee lines |
To take real payments, store the live key and turn off Payment Link Test Mode. Business Central asks you to confirm. Deleting the live key turns test mode on again. Test links, payments and journal lines are marked as test everywhere.
Where the links appear
| Where | How the link shows |
|---|---|
| Collections emails | The {PaymentLinks} placeholder becomes a "Pay online" heading with the links. With no links, the placeholder disappears |
| Customer Statement (Bitta) | A "Pay online" section, such as "Pay invoice 103043 online" |
| Collection Letter | The same "Pay online" section |
The REMINDER1, REMINDER2, FIRM, FINAL and STATEMENT templates already contain {PaymentLinks}. Add it to your own templates where you want links. See Email and templates. Letters sent by post leave the links out, because a link on paper can't be clicked.
With Stripe, links are made for invoices in US or Canadian dollars. A link is stored and used again in the next email for the same invoices and amounts, and replaced by a new one when they change, so each open invoice has one payable link. With Business Central payment services, each open posted sales invoice gets one link per enabled payment service.
Record Stripe payments
The daily collections job asks Stripe for completed payments. For each paid payment it creates cash receipt journal lines in the online payment batch:
- a payment line for the customer, applied to the invoices that the link covers, oldest due date first;
- a fee line, when Payment Fee G/L Account is set.
You review and post the lines yourself. Nothing is posted automatically. A US bank payment shows as Pending until the bank confirms it, usually within a few business days, and gets its lines then. Each payment also logs an Online Payment activity for the customer.
| Page | What you do there |
|---|---|
| Online Payments | See every payment with status, amount, fee and journal lines. Check Payments Now asks Stripe at once. Create Journal Lines creates the lines of a paid payment, for example after you set up the batch. Cash Receipt Journal opens the batch |
| Issued Payment Links | See every link. Open Link shows the customer's payment page. Deactivate Link makes a link unusable, and the next email gets a new one |
Open both from Bitta Collections Setup > More ways to collect.
Look up a customer's links
Open the Payment Links page to see the links of a customer's open invoices, for example to read one out on the phone:
- On the customer card, choose Collections > Collection Email > Payment Links.
- On Customer Ledger Entries, select open invoices and choose Payment Links.
- On a work item, choose Payment Links.
To give a link to the customer, select the Payment URL value and copy it. Open Link opens the payment page in a new browser tab, so you can check what the customer sees.
If no link shows, check that payment links are on and the provider is set up. Also check whether the invoice is partly paid while Links Only for Unpaid Invoices is on.
What's next
Mail letters and statements on paper: Letters by post.