How to use custom calculations on a Stripe payment form