Pay with Smartum in Mobility
(TP55389)
This feature is currently in a test phase and is not yet available to configure and start using. This documentation will be updated when it is ready to activate.
Purpose
For users to be able to pay with Smartum in the web and app.
Prerequisites
To recieve payments through Smartum, you need to:
Join the Smartum network (read more here).
Configuration
Settings
Setting | Description |
---|---|
smartumUrl | Root URL of Smartum API. (Production env: https://api.smartum.fi) |
smartumApiPublicKey | JWT public key from Smartum API JWT public keys |
smartumClientId | Authorization client ID provided by Smartum. Customer needs to contact Smartum to get this ID. |
smartumClientSecret | Authorization client secret provided by Smartum. Customer needs to contact Smartum to get this Secret. |
smartumVenueId | The ID of the venue receiving the payment. This can be found under the “Online Payment” section in the Smartum portal. |
smartumBenefitType | Benefit type of Smartum payments. |
After that, enable the Smartum Payment Method from Configuration → Payment Method.
Limit which products that can be paid using Smartum
(TP61313)
It is possible to limit which products that can be purchased with Smartum. This works by adding a specific product label to the products that users should be able to pay for with Smartum, and then add that product label to the setting below:
Setting | Value |
---|---|
enablePaymentWithBenefitProviderSmartumForProductsWithThisProductLabel | Select a product label |
Payment Flow
Choose Smartum as payment method
The user will be redirected to the Smartum page to complete the payment.
If payment is successful, the user will be redirected back to your website to view the receipt. If the payment is unsuccessful, the user will get an error message and get redirected back to the checkout.
Â