• Resolved zell812

    (@zell812)


    Hi, there I have a specific need for my client’s booking tours website. THey have different prices for different pax. Their customers can choose how many persons will go on tours within a certain pax. This means the total price changes. For example pax 20-30 one price, 31-41 different prices (per person) I managed to block the min and max within the pax and the calculator calculates the total price. I created different calculators for each pax. However Stripe will only charge one offer as calculated, but as for the other offers it only charges the price per person and it does not calculate the total of people. Is this possible with Forminator? What am I missing?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @zell812,

    Hope you are doing good today.

    Their customers can choose how many persons will go on tours within a certain pax

    How is this calculated? I see you have mentioned you are using different calculations for each pax. So we’ll need to have a better idea of the current form fields added and the workflow to see if we could suggest further.

    Possible to share the form export so that we could give a look? Please check the following doc on how to export a form:
    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export

    If you are concerned about any sensitive information in the form, then you can duplicate your form, remove any sensitive information, and then export it.

    You can share the export file via Google Drive, Dropbox or any cloud services in the next reply.

    Looking forward to your response.

    Kind Regards,
    Nithin

    Thread Starter zell812

    (@zell812)

    Hi, thank you for you answer, here is the link on Google Drive google drive

    I used radio for paxes each option has it’s own price then I added number for pnumber of persons and connected it with each pax. And then used calculator for to calculate price from radio

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @zell812,

    Thanks for sharing the export, really appreciate it. Sorry if I’m repeating my self, however, I’m afraid I’m still trying to understand the workflow.

    However Stripe will only charge one offer as calculated, but as for the other offers it only charges the price per person and it does not calculate the total of people. Is this possible with Forminator?

    Could I know how is the other offers supposed to be calculated? For example, if I select the “PAX 20 – 27” radio option then the “Personnes PAX 20-27” will have a value of 20.

    Are you trying to charge additional if the value of 20 for “Personnes PAX 20-27” is increased? If yes, how is that supposed to be calculated?

    Maybe if you could even mention it as a formula too it would be helpful.

    In general, the Forminator only helps with basic calculations, so making sure I understand your requirement inorder to check what might be possible in such instances.

    Looking forward to your response.

    Kind Regards,
    Nithin

    Thread Starter zell812

    (@zell812)

    So if one person chooses PAX 20-27 has a price of 65€ for example and has 25 people in the group the total would be 1625 €
    Another person comes and has 35 people so they need to choose different pax for example 28-40 and here is the price 55€ per person. the total would be then 1925€
    And the calculator is calculating it correctly but in Stripe it only charges the first offer, if I added all PAXs. So if the person has 20-27 people in the group, the Stipe will charge correctly as indicated in the calculator. But if they have more people Stripe is only charging 55€ even though the min people is 28. So my question is it possible that Stripe charges correctly as in the calculator, or is it possible to put more than one formula in one calculator? Because currently, I created different calculators for each pax.

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    HI @zell812,

    Extremely sorry for the delay in getting back. Seems like we didn’t get a notification for this last response and hence missed, sorry about that.

    But if they have more people Stripe is only charging 55€ even though the min people is 28. So my question is it possible that Stripe charges correctly as in the calculator, or is it possible to put more than one formula in one calculator? Because currently, I created different calculators for each pax.

    I checked your form and could notice the issue you have stated. However, what you have done with configuring the form is correct. The only part missed is with assigning a correct variable to the Stripe.

    At the moment, the wrong fields are assigned in the Stripe field as variables and hence the issue.

    Please check the following screenshot:

    Screenshot at 17:40:28.png

    Screenshot at 17:40:43.png

    It should have been the “TOTAL PAX 28 – 40” & “TOTAL’ fields which should have been assigned as the variable for “Offre 2” and “Offre 3” in Stripe.

    Could you please check and see whether it works fine once you have change it as mentioned above?

    Please do let us know how that goes. Looking forward to your response.

    Best Regards,
    Nithin

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @zell812 ,

    We haven’t heard from you for almost 2 weeks now, so it looks like you don’t need our assistance anymore.

    Feel free to re-open this ticket if needed.

    Kind regards
    Kasia

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘VARIABLE with Stripe’ is closed to new replies.