Limit the Amount to Refund

Flow Customisation: Limit the amount to refund for a Cancel or Switch action

When performing an action like Switch or Cancel, the transaction might result in an order with a total negative amount, i.e. an amount to refund back to the customer.

For example, this could be the result of an immediate cancel:

mceclip0.png

or a Switch from an offer to a cheaper one

mceclip1.png

By default, the Limio for Salesforce flow does not enforce any limit on the total amount to refund, however both components expose a property to the flow builder to pass the max amount to refund.

How to configure flow components

For a Cancel Order, the custom component "Limio Order - Cancel" exposes the property "Maximum allowed refund amount". If left blank, no limit will be enforced. This property is of type Integer.

mceclip3.png

For a Switch Order, the custom component "Limio Order - Switch" exposes the property "Maximum allowed refund amount". If left blank, no limit will be enforced. This property is of type Integer.

mceclip2.png

Example

When this upper limit is populated, the logic in the UI will check the total amount and compare it against this limit; if the total amount exceeds such limit the user will be presented with an error message, and they won't be able to proceed to the next step until the total is below the set limit.

mceclip5.png

Last updated

Was this helpful?