Skip to main content
Version: may-24-production

Configuring Swish for FinDock

info

Swish for FinDock is in pilot. If you would like to participate in the pilot, please contact FinDock Support.

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
yesno
Payment MethodOne-timeRecurringRefunds
Swishyes--yes

Pre-requisites

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

Install and activate Swish extension

Follow the standard procedure for installing and activating the Swish for FinDock payment extension. Activate the payment method Swish.

Check and assign the permissions as needed, making sure the integration user has the FinDock Swish Integration permission set.

Configure the Swish extension

To configure Swish for FinDock:

  1. Launch the FinDock app and go to the Setup tab.
  2. Scroll down and click on the Swish payments extension tile.
  3. For the merchant account you want to integrate, add the following details:
    • Name: Enter a name for your Swish target (merchant account)
    • Payee Number: Enter your Swish alias (123 XXX YYYY)
    • IsDefault: Enable on the account you want to use when no account is specified with a payment initiation
    • IsTest: Enable if you are setting up a test environment
  4. Click Save.
  5. If you are integrating multiple accounts, click Add Account and repeat the steps above for each account.

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 PlusGirot 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, use a target that has the isTest setting enabled. 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:

note

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"
}
}