Great solution, I've been thinking about how to sell my side-project the past couple weeks. POST request to 'https://buymysideproject.com/new' is throwing a 500 btw.
I did a quick filter_var(..., FILTER_SANITIZE_NUMBER_INT) around my numbers and I think it should be working ok now!