Payment helper

You can view the source on GitHub.

Note to self, check chrysalis.crm project.