Actions overview
| Action | Description |
|---|---|
SessionUpdate | Writes a value to a session variable. |
SessionUnlock | Unlocks the session after a failed online payment process. |
Actions
SessionUpdate
This action writes a value to a session variable. The variable is addressed via the parameter namesession.(variableName), where variableName stands for the desired key within the session.
Usage exampleUseful for storing user-defined state information in the session during the user experience, e.g., a selected filter, progress in the checkout, or a temporary note that should be available across pages. Parameters
| Name | Description |
|---|---|
session.(variableName) | The key and value of the session variable to be set. |
SessionUnlock
This action unlocks a locked session. A session can enter a locked state after a failed online payment process to prevent unintended follow-up actions.SessionUnlock resets this lock state so the customer can restart or continue the process.
This action expects no parameters and returns no error responses.
Usage exampleCan be used on an error or return page after a failed payment process to enable the customer to retry the payment or select another payment method. Related modules, variables & methods Example showing how a customer with a locked session is given the option to unlock it via a button.
