Skonto
Â
Please make sure to contact Gini customer support to enable this feature in our backend platform.
The Skonto feature lets your users view discounts available on the Invoice and choose to pay with or without a discount. The total amount is updated to reflect the discount user opts to pay.
Please note that in GiniBankSDK
this feature is enabled by default by setting skontoEnabled
property to true
.
To disable this feature, set skontoEnabled
to false
in the GiniBankConfiguration
:
let configuration = GiniBankConfiguration.shared
configuration.skontoEnabled = false
Gini Bank SDK shows to Skonto that the invoice contains discounts and updates the extractions returned to your app according to the user’s changes. The amountToPay
extraction is updated to include or not the discount depending on the user’s choice. The extractions related to Skonto are stored in the skontoDiscounts
field of the AnalysisResult
.
We highly recommend having a QA session with Gini before releasing the Skonto feature to your customers.
For more information about the return assistant’s extractions, see the Gini Bank API’s documentation.
Find out how to customize this feature here.
Â