Using b1UP it's possible to set a variable mark-up based on the authorization amount when performing a manual authorization in SAP.
For this implementation you will need to create the following:
- B1 Validation
- Universal Function (Macro)
Below we have a sample of how to achieve this setup, and configure it to suit your needs.
Start by going to the iPayment authorization screen, right-clicking and selecting the option as shown below.
You can also skip this step and navigate to the B1 Validation Configuration screen directly.
Once you're at the B1 Validation Configuration screen, we start by setting up a B1 Validation to trigger a UF when the 'Amount to Authorize' field on the iPayment Authorization screen is validated.
Then we set up a Universal Function to perform our checking logic.
It's checking the value of the 'Amount to Authorize' field and setting the 'Markup value' field to a static value based on the checks.
Below you can see an example, but all of the static numbers can be configured to suit your specific use-case. You can also add however many cases you need based on your scenario.
When you edit the 'Amount to Authorize' field, the markup amount will automatically be adjusted based on your checking logic.