• Resolved katmacau

    (@katmacau)


    I have a payment form where users enter the amount they need to pay. That was working fine using the currency field. The user enter the amount and pays.

    But we now need to add a 2% surcharge to the amount. I’ve used the calculator field to get them to input the amount they need to pay and show them the total once the surcharge formula is applied. That works using a number field and a calculator field.

    But now I want the currency field, to use the calculation result. They could copy paste the value from the calculator field but thats not ideal.

    Can the currency field use a calculation instead input?

    Eg see: https://snipboard.io/sDLMKW.jpg

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @katmacau ,

    I’m afraid that currency field only allows for manual input. Is there a reason you want to do it this way and not push calculation result to the payment?

    kind regards,
    Kasia

    Thread Starter katmacau

    (@katmacau)

    If I can push the calculation results straight to the payment thats even better. I basically want users to enter in a number about (based on what we tell them via an email so different for everyone). We then apply our formula to that value to add a specific surcharge. And they pay that amount.

    I couldnt see how to use the calcualtion field as the payment amount so thats why i though you need to transpose it to the currency field.

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @katmacau

    I hope you are doing well, it is possible on both fields, paypal and stripe, you need to enter your calculation field and formula, then select variable and select the calculation.

    This blog post has a step by step https://wpmudev.com/blog/create-free-payment-forms-with-forminator/ including an example on how extend it.

    Best Regards
    Patrick Freitas

    Thread Starter katmacau

    (@katmacau)

    Thank you. I realised what I needed to do now. All I had to do was just change credit card field to use my calculation field as the total price field. That is working now.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Forminator currency field use calculation’ is closed to new replies.