Configuring Swish

   Swish for FinDock is in beta.

Swish mobile payments are popular option in Sweden. FinDock integrates with the Swish service to initiate and collect payments in Swedish Krona.

Multi-merchantMulti-currency
Payment MethodOne-timeRecurringRefunds
Swish

Pre-requisites

  • FinDock installed and configured
  • Successful WebHub connection
  • A Swish merchant account
  • FinDock declared a technical partner at your Swedish bank

Install the Swish extension

Follow the standard procedure for installing payment processors to add the Swish payment extension and activate the Swish payment method.

Check and assign the required permissions. If you are using custom permission set groups, ensure the package-specific permission sets are assigned.

Configure the Swish extension

To configure Swish for FinDock:

  1. Launch the FinDock app and click the FinDock Setup tab.
  2. Go to Payment Processors & Methods.
  3. Under Installed Processors, click the Swish processor entry.
  4. Click Add account.
  5. For the merchant account you want to integrate, add the following details:
    • Merchant Account Name: Enter a name for your Swish target (merchant account)
    • Default Account: Enable on the account you want used when no account is specified in a payment intent call to the Payment API
    • Test Account: Enable if you are setting up a test environment
    • Payee Number: Enter your Swish alias (123 XXX YYYY)
  6. Click Save.

Reconciling Swish payments

FinDock automatically reconciles one-time Swish payments through API callouts to Swish following the standard online reconciliation process.

For other Swish transactions, such as refunds or payments made directly to your Swish number, you can include these in your Salesforce payment data through file-based reconciliation.

FinDock currently handles Swish transactions reported via Nordea Total IN files. If you use a different bank for Swish, please contact FinDock Support so we can investigate the bank's file type.

Swish data mapping

The table below summarizes the payment data FinDock captures to manage Swish transactions.

Swish dataObjectFieldValue
N/APayment ProfileRecord TypeWallet
N/APayment ProfileWallet TypeSwish
Payer AliasPayment ProfileWallet IdE.g. 1231111111

Testing Swish

When testing Swish, make sure you use a target that is set up as a test target. In addition, you need to use a special test configuration of the BankID app as well as a Swish test app. For both, you need use the same civic identity number. You can use your own or Swish test data.

To set up a BankID app for testing:

  1. Download the BankID security app app from your respective mobile app store.
  2. Configure the app to use the BankID testing environment as instructed here.
  3. Create a test account according to the test BankID instructions.

For the Swish app, you need to install a test version that is separate from the normal production app. Download and install the test app from one of the links below:

   If you are using iOS, make sure to change the BankID server setting to point to the test environment as instructed.

Payment API test message

You can use the following example message with the Payment API to check if your Swish configuration.

{
    "SuccessURL": "https://www.example.com/success",
    "FailureURL": "https://www.example.com/error",
    "Payer": {
        "Contact": {
            "SalesforceFields": {
                "FirstName": "Eric",
                "LastName": "Johnson",
                "Email": "eric@johnson.com"
            }
        }
    },
    "OneTime": {
        "Amount": "36"
    },
    "PaymentMethod": {
        "Name": "Swish",
        "Processor": "Swish-for-FinDock"
    }
}

Was this page helpful?