Setting Up JustOn Cash Management

Info

JustOn Cash Management requires at least the Salesforce Enterprise Edition.

For the proper operation of JustOn Cash Management, users must use a web browser that allows third-party cookies, like Mozilla Firefox, Google Chrome or Microsoft Edge.

Setting up JustOn Cash Management involves the following tasks:

Depending on your intended use cases, you can then proceed to

Installing JustOn Cash Management

  1. Open the app listing in Salesforce AppExchange to get JustOn Cash Management.
  2. Click Get It Now to invoke the installation procedure.
  3. Follow the instructions and provide the required information as necessary.

    When prompted

    • Choose the option Install for Admins Only (see why)
    • Allow access to third-party websites (see why)

Enabling App Access

From a technical perspective, JustOn Cash Management provides two Salesforce apps:

Lightning Experience App Cash Management
The Lightning Experience App Cash Management provides standard Salesforce tabs and detail pages for accessing the related data records.
Connected Canvas App JustOn Payments Connected
The Connected Canvas App JustOn Payments Connected enables users to connect to their bank or payment provider and to exchange transaction data.
For the proper operation of the Connected Canvas App JustOn Payments Connected, users must use a web browser that allows third-party cookies, like Mozilla Firefox, Google Chrome or Microsoft Edge.

Generally, the Salesforce apps act as the "user interface" of JustOn Cash Management and control the data management. Significant parts of the business logic and the connections to the banks or payment providers, however, run on the Heroku-based platform – which also exposes the API.

pay_app_arch_s

Info

For JustOn Cash Management to work properly, make sure to enable the access to the Lightning Experience App Cash Management and the Connected Canvas App JustOn Payments Connected for all users who will work with JustOn Cash Management as described below.

Enabling App Access for Cash Management

The access to the Cash Management app is controlled using profiles. So when creating the users who will work with JustOn Cash Management, you must assign the relevant profile to each of them. You can use the standard profiles or create custom profiles.

To enable access to the Lightning Experience App Cash Management for all relevant profiles:

  1. Click to enter Setup, then navigate to Apps > App Manager.
  2. In the row of Cash Management, click to open the action menu, then select Edit.
  3. Navigate to User Profiles.
  4. Select the required profiles and move them to the Selected Profiles column.

    column_select

  5. Click Save.

    This makes Cash Management available for the selected user profiles in the App Launcher.

Enabling App Access for JustOn Payments Connected

The access to the JustOn Payments Connected app is controlled using profiles. So when creating the users who will work with JustOn Cash Management, you must assign the relevant profile to each of them. You can use the standard profiles or create custom profiles.

To enable access to the Connected Canvas App JustOn Payments Connected for all relevant profiles:

  1. Click to enter Setup, then navigate to Apps > Connected Apps > Manage Connected Apps.
  2. Click Edit in the row of JustOn Payments Connected.
  3. In the Permitted Users field, select Admin approved users are pre-authorized.

    Confirm the selection when prompted.

  4. Click Save.

    This will prevent all users from accessing JustOn Payments Connected, including org admins.

  5. On the Connected Apps list, click JustOn Payments Connected.

    This displays the app detail page.

  6. Add the intended profile.

    1. In the Profiles section, click Manage Profiles.
    2. Select the relevant profile, for example, System Administrator.
    3. Click Save.

Assigning Permissions

The package provides the permission set JustOn Payments Read/Write, which allows users to

  • Access the Lightning Experience App Cash Management and the Connected Canvas App JustOn Payments Connected
  • Create and edit records of the objects delivered with the JustOn Cash Management package

Assign the permission set to all users who will work with JustOn Cash Management. To do so:

  1. Click to enter Setup, then navigate to Users > Permission Sets.
  2. Click JustOn Payments Read/Write.
  3. Click Manage Assignments, then Add Assignments.
  4. Select the checkboxes next to the users who will work with JustOn Cash Management.
  5. Click Assign.

Note

All users who work with JustOn Cash Management must be enabled to use the Salesforce API via their profile or a permission set. This is necessary to allow calling business logic on the Heroku-based platform (see App Overview).

To check for the API access in profiles or permission sets, click to enter Setup, then navigate to Users > Profiles | Permission Sets > Profile/Permission Set Name > System Permissions, and make sure that API Enabled is selected.

Creating Remote Site

Some list views, like on the Entries tab, in JustOn Cash Management may become very large. To allow executing operations from large list views, for example creating direct debit orders, JustOn Cash Management has to call Salesforce's REST API. To this end, you must whitelist your site as a remote site.

  1. Click to enter Setup, then open Remote Site Settings.

    In Salesforce Lightning, navigate to Security > Remote Site Settings.

    In Salesforce Classic, navigate to Security Controls > Remote Site Settings.

  2. Click New Remote Site.

    alt text

  3. Provide a descriptive name.

    The provided name must be unique and can only contain alphanumeric characters and underscores.

  4. Specify the URL of your current instance as required, like https://eu5.salesforce.com.

    Do not specify the My Domain subdomain but the instance URL. Find the instance part of the URL on the Company Information page in Setup, or use nslookup <my-domain>.my.salesforce.com in a terminal window (as explained in View instance information for your Salesforce Organization in the Salesforce Help).

  5. Click Save.

Enabling Lightning Runtime for Flows

Some operations, like creating direct debit orders, are implemented as Salesforce flows. To support all relevant functionality, enable the Lightning runtime for flows.

  1. Click to enter Setup, then navigate to Process Automation > Process Automation Settings.
  2. Select the checkbox Enable Lightning runtime for flows.
  3. Click Save.

Defining Platform Integration User

JustOn Cash Management provides two Salesforce apps that act as the "user interface" and control the data management. Significant parts of the business logic and the connections to the banks or payment providers, however, run on the Heroku-based platform (see App Overview).

Part of the setup is the definition of a platform integration user. This is a (technical) user that is employed for the communication between Salesforce and Heroku whenever a real user triggers relevant business logic.

Info

By default, JustOn Cash Management sets the user who first adds a bank access as the integration user. But this person may leave your organization, so you will probably deactivate the user – in this case, you would end up without communication between Salesforce and Heroku. This is why we recommend to create a dedicated technical user (one that is not necessarily associated with a real person) for the integration.

To define an integration user:

  1. Optionally, create a dedicated technical user for the integration.

    The integration user

    • does not necessarily need to be associated with a real person
    • must be assigned the permission set JustOn Payments Read/Write
    • must be enabled to use the Salesforce API via a profile or a permission set

    To check for the API access in profiles or permission sets, click to enter Setup, then navigate to Users > Profiles | Permission Sets > Profile/Permission Set Name > System Permissions, and make sure that API Enabled is selected.

  2. Click to access the App Launcher, and select Cash Management.

  3. Open the Global Configuration tab.

    Users who intend to access the global configuration must be assigned the System Administrator profile.

  4. Click Edit.

    This launches a screen flow that shows the global configuration input fields.

  5. In the Platform Integration section, select the intended integration user.

  6. Click Save to save your settings, then Finish to complete the screen flow.

Some operations involve user-facing web links, like the payment page or the API. In order to produce unique links that are specific to your organization, you define an alias for your organization (a tenant on Heroku), which will then be part of the URL path, like

https://payment.juston.cloud/pay/:link-id/to/:tenant

To define the URL alias:

  1. Click to access the App Launcher, and select Cash Management.
  2. Open the Global Configuration tab.

    Users who intend to access the global configuration must be assigned the System Administrator profile.

  3. Click Edit.

    This launches a screen flow that shows the global configuration input fields.

  4. In the Payment Page section, specify the intended alias in the New URL Alias field.

    The allowed characters include a-z, 0-9, -, _. The alias must not start with - or _ and can include up to 20 characters.

  5. Click Save to save your settings, then Finish to complete the screen flow.

Integrating With Third-Party Application

Remember that the business operations in JustOn Cash Management are centered around entries. They represent receivables and payables, and are based on statements that justify the corresponding request – like an invoice, installment, order, credit note, etc.

This is why setting up JustOn Cash Management usually involves an integration with a "counterpart" application in your environment. You need (at least) a way to create entries based on your statements that entail receivables and payables. Note, however, that this integration is not covered with this documentation, as it is project-specific and cannot be generalized.

Info

For details about enabling JustOn Cash Management in JustOn Billing & Invoice Management, see Enabling JustOn Cash Management.