Written by Robin Cornett. Last updated on June 15, 2023. Added an option to incentivize wallet purchases by offering a discount to customers that purchase with pre-deposited funds Added a set of helper functions for easier integrations with other extensions