Something else that I forgot to mention in the details above:
If you are going to use this code and you have not already done so, you will need to add permissions for ITEM_RENTAL_FEE_REQUIRED.override and ITEM_DEPOSIT_FEE_REQUIRED.override and grant these to your SIP circulation group.
Without these permissions, the Evergreen circulation code will reject the checkout and not charge the fee.
Something else that I forgot to mention in the details above:
If you are going to use this code and you have not already done so, you will need to add permissions for ITEM_RENTAL_ FEE_REQUIRED. override and ITEM_DEPOSIT_ FEE_REQUIRED. override and grant these to your SIP circulation group.
Without these permissions, the Evergreen circulation code will reject the checkout and not charge the fee.