CRMJettyBack to crmjetty.comContact us
Menu
Docs / Guides

CRMJetty Portal

Works with
Docs / Dynamics 365

Dynamics 365 Customer Portalv6.3.0

Docs / Salesforce

Salesforce Customer Portalv6.3.0

Docs / Business Central

Business Central Portal

Guides / Payments

How to Add a Pay Now Button to Portal Records

7 min readUpdated
Short answerConnect Stripe or PayPal first. Then open the form in Design → Form Builder, turn on Payment configuration in the right-side panel, enter the button label, choose the amount field and the condition that shows the button, map the transaction log fields, then select Save and publish.

A Pay button lets portal users pay for a record, such as an invoice or an order, directly from the portal. You add it in the record’s form: choose which field holds the amount, when the button appears, and where the portal records the transaction.

Note: This feature is available on selected plans. See Pricing.

Before you start

Turn on payment in the form

  1. Sign in to the admin portal.
  2. Go to Design → Form Builder.
  3. Open the form in edit mode.
  4. In the right-side panel, turn on the Payment configuration toggle.
  5. Fill in the button settings in the table below.
Form edit page with the Payment configuration panel open on the right, showing the toggle, Button Label and Set Amount Field
Form edit page with the Payment configuration panel open on the right, showing the toggle, Button Label and Set Amount Field
Form edit page with the Payment configuration panel open on the right, showing the toggle, Button Label and Set Amount Field
Form edit page with the Payment configuration panel open on the right, showing the toggle, Button Label and Set Amount Field
Setting What to enter
Button Label The text of the pay button, for example Pay Now. It appears as an option in the record’s context menu.
Set Amount Field The field that holds the amount to pay.
Set Conditional Field to Enable Pay Button The field that controls when the pay button is shown, for example the invoice status.
Set Conditional Field Value to Enable Pay Button The value or values of that field that show the button, for example Unpaid. You can select several values.

Tip: Use the conditional field so the button appears only on records that still need payment. Otherwise portal users could pay for records that are already paid.

Set up the transaction log

The transaction log settings decide where the portal records each payment. You choose a transaction entity in your CRM and map its fields.

Business Central: The portal logs the payment in Business Central. Your finance team then applies it to the invoice in Business Central.

  1. Under Transaction Log Settings, select the transaction entity in Select Transaction Entity (Business Central: Select Transaction Table).
  2. Map each field in the table below to a field of the transaction entity.
Transaction Log Settings with Select Transaction Entity and the mapped Description, Payment Entity, Payment Record and Payment Method fields
Transaction Log Settings with Select Transaction Entity and the mapped Description, Payment Entity, Payment Record and Payment Method fields
Transaction Log Settings with Select Transaction Entity and the mapped Description, Payment Entity, Payment Record and Payment Method fields
Transaction Log Settings with Select Transaction Entity and the mapped Description, Payment Entity, Payment Record and Payment Method fields
Setting What to map
Select Transaction Entity The entity where transaction details are stored.
Select Description Field The field for a short description of the transaction.
Select Payment Entity (Business Central: Select Payment Table) The field that stores which entity the payment is for.
Select Payment Record The field that stores which record was paid.
Select Payment Method The field that stores the payment method.
Set Amount Field The field where the payment amount is recorded.
Select Payment Transaction Log The field that stores the payment transaction log.
Select Payment Status The field that stores the payment status.

Set charges and discounts (optional)

Use the Charges and Discounts section to add a charge or a discount to the payment. Configure only the settings you need:

Charges and Discounts section with Card Charge, Card Discount, ACH Charge, ACH Discount, Payment Charge and Payment Discount
Charges and Discounts section with Card Charge, Card Discount, ACH Charge, ACH Discount, Payment Charge and Payment Discount
Charges and Discounts section with Card Charge, Card Discount, ACH Charge, ACH Discount, Payment Charge and Payment Discount
Charges and Discounts section with Card Charge, Card Discount, ACH Charge, ACH Discount, Payment Charge and Payment Discount

Save and publish the form

  1. Select Save.
  2. Publish the form and the page that uses it.

Portal users now see the pay button on records that match your condition.

Add a pay button to a list

Lists have their own payment configuration, so portal users can pay from the record’s menu in a list.

  1. Go to Design → Lists.
  2. Open the list in edit mode.
  3. Turn on the Enable Payment toggle. It is available only if the entity has an amount (currency) field.
  4. Enter the Button Label. It appears as an option in the record’s context menu.
  5. In Select Amount Field, select the field that holds the amount to pay.
  6. Set Set Conditional Field to Enable Pay Button and Set Conditional Field Value to Enable Pay Button, as for a form.
  7. Map the Transaction Log Settings and, if needed, Charges and Discounts, as for a form.
  8. Select Update, then publish the list.
List edit page with the Enable Payment toggle on and the payment settings filled in
List edit page with the Enable Payment toggle on and the payment settings filled in
List edit page with the Enable Payment toggle on and the payment settings filled in
List edit page with the Enable Payment toggle on and the payment settings filled in

Troubleshooting

The pay button doesn’t appear: Check that the record’s conditional field has one of the values you selected, that the form and page are published, and that a Stripe or PayPal account is connected.

The Payment configuration toggle is missing: Payment configuration is available on add, edit and detail forms only. Check the form type, and check that payments are included in your plan.

Did this solve it?No, contact support