Form using Stripe and calculation of admin fee

  • Profile Image
    Adrian Schulz
    Asked on November 05, 2013 at 02:43 PM

    How could I program a form where the client completing the online form can enter their desired payment amount, and then the form would visibly add a 5% admin fee and grand total. Then the grand total would be charged using Stripe as the processor? Pleasea advise.

  • Profile Image
    Answered on November 05, 2013 at 05:54 PM

    Hello. I tried doing a work around for this but I could not come to a working solution. This can not be done on our Stripe Payment integration or from any Payment Integration in that matter.

    The only viable solution I could think of is to embed your form using the full source code. Then you need to devise a Javascript or jQuery that multiplies the entered amount from the textbox by 5% and add it to become the grand total after 2 seconds or so after it was inputted by the client.

    If you need further help, please do not hesitate to ask. Thank you