PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Custom form payment

  1. nyckidd
    Member

    Hello,

    I want to use Gravity forms, Paypal addon and the user registration to accomplish this scenario below so advise if it is possible...am using wordpress

    I am creating a form where a user will register if they are non members and the form will ask for some custom details ( i know this can be handled easily ) but the form will have a field for an amount, i would like this field to be populated based on our commision ie if user inputs $20 based on a % commision which can be flat or variable based on how much the amount is it recalculates itself so for example for a flat 10% commission it would have the $20 be $22 which would go to the total amount.

    if it is variable meaning any amount between $10-$20 the commision is 10% if it is between $21 - $30 it will be 8% then based on what the user sets as the amount the forms will calculate the total amount based on the variable commision rate.

    I know the paypal and user registration addons can do this but can the gravity forms accomplish the setup/configuration ?

    Posted 12 years ago on Wednesday January 18, 2012 | Permalink
  2. Gravity Forms can handle it, but it won't do it automatically. You can modify the total, but it will require some custom code. Here is a high level example of how to handle this.

    http://www.gravityhelp.com/documentation/page/Gravity_Forms_Pricing:_Adding_Tax

    Modifying the price requires that multiple things happen at the same time, and that is one example of how to accomplish it. Your math would be more complicated than a simple percentage tax being added, but the process would be the same.

    There might also be a way to handle this on the front end with pricing fields, but I have not thought that through. If there are a finite number of prices, this approach might work. If you are allowing free-form input of the amount, this will not work.

    Posted 12 years ago on Wednesday January 18, 2012 | Permalink