Written by Robin Cornett. Last updated on May 15, 2024. Added support for sending emails when pending payments are created