How do I calculate a $ amount without using a payment module