• Resolved altimac

    (@altimac)


    Hi, folks. Not sure exactly when this started happening, but I have two payment forms on a client’s site that are similar and both use Stripe for processing. Up until now, I used a Total field that was hidden until the user entered a payment amount for an invoice, and form submissions/payments have been working fine, but now any attempt to submit a completed form results in the following error:

    “The amount must be greater than or equal to the minimum charge amount allowed for your account and the currency set (https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). If you want to save a Payment Method for future use without an immediate payment, use a Setup Intent instead: https://docs.stripe.com/payments/setup-intents”

    I did have a min/max amount set in the Amount field, which was >1 and < 11000, so I removed that as a test, and the error still occurred. I tried removing some fields, saving the form, and adding them back in, but none of that worked either. The only way I was able to correct the issue was to remove the condition from the Total field, so that it’s always visible, and that allowed the form to submit successfully. When I restored the condition to hide the Total field until Amount is populated, the error returned.

    So based on that and a few scattered reports of similar issues that a few Forminator users reported, it looks like if any of the fields used in a calculation to determine the total to be processed by Stripe causes the submission to fail?

    Any information or guidance you can provide on this is much appreciated; i have uploaded a screen capture of the error, and an export of the form, to my cloud if that assists you in troubleshooting:

    https://media.altimac.com/images/forminator-invoice-payments-form-export.txt
    https://media.altimac.com/images/stripe-error.png

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

    (@wpmudev-support2)

    Hi @altimac

    Hope you are doing well today.

    I imported your form to my lab site and ran some tests but couldn’t replicate the mentioned issue. The form always submitted without any errors.

    That means something in your site is causing this issue, could you please first make sure your plugin is up to date and you are using the latest version of forminator and if still having issue, run a full conflict test?
    https://wpmudev.com/docs/getting-started/getting-support/#conflict-test

    Also, please try to re-authenticate the forminator with Stripe.
    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#connect-to-stripe

    Best Regards
    Amin

    Thread Starter altimac

    (@altimac)

    Hi, Amin and thanks for your response. I can report that as long as I disable the conditional display of the Total field, both forms work perfectly, but once I re-enable that conditional, the Stripe error message returns. I disabled every plugin on the site, and changed the theme to Twenty-Twenty Five as a test, but the error is stll there (see attached). Not sure what else to try…

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @altimac

    I checked your shared form again, and I can see this form doesn’t have any conditions for the total field, which could be the reason why I couldn’t replicate the issue.

    View post on imgur.com

    Can you please explain why you added display conditions for a dynamic price field? If the field is hidden the stripe price will be empty and its normal to see that error.

    Best Regards
    Amin

    Thread Starter altimac

    (@altimac)

    Sure, and sorry about that, the form export was done after I removed the condition to correct the issue. The reason we made the total field conditional is that there is an added calculation in the form that adds the total Stripe processing fee to the amount of the invoice, so that the payor also pays the processing fees. When the Total field is visible it contains a value of $0.31 before anything is entered into the Amount field, which was confusing our clients, so I made it conditional such that an amoutn of at least $1 needs to be entered into the Amount field before the Total field will appear. What’s frustrating is that this has worked about a year and a half but suddenly stopped working a few weeks ago. If it’s just something that cannot be done at this point, I guess that’s OK and we’ll disabled the conditional display, but if the Total field is not hidden, and never would be hidden, at the point when the form is submitted, why is Stripe unable to see the total to be processed? The form is here if you need to see how it works: https://nucmedimaging.com/payments/

    Thread Starter altimac

    (@altimac)

    Hi, quick change to this, I had to set the form at https://nucmedimaging.com/payments/ to work this morning because the client is expecting payments, so I disabled the conditional on the Total field, but the other form we use: https://nucmedimaging.com/payments-alt/ is still set up with the Total field conditional on whether the Amount field is greater than 0. Not to make this any more confusing but this form doesn’t need to hide the total because there is no additional calculation needed as there is with the other form, I just made it conditional to show you the issue. Again, this only started a few weeks ago, the form has been active for a year and a half or so with the Total field using a conditional option.

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hi @altimac

    I ran further tests and I was able to replicate this issue, it appears there is a bug with the latest version of fomrinator.

    I suggest removing the total field condition for now as it works the same without if someone uses zero for amount.

    I will report this to our development team so they can fix it in future updates.

    Best Regards
    Amin

    Thread Starter altimac

    (@altimac)

    Thanks so much, Amin. I appreciate you taking a look at it and will await the fix, but for now I’ll just be sure to remove any conditional settings from the Total fields.

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.