• Resolved andycucca

    (@andycucca)


    Hello,

    I had a fatal error while submitting payments using Stripe in Forminator in the following page https://www.alfieridellatuscia.it/iscrizione/
    … the error is the following:

    Fatal error: Uncaught Error: Call to undefined method WP_Error::confirm() in /web/htdocs/www.alfieridellatuscia.it/home/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php:736 Stack trace: #0 /web/htdocs/www.alfieridellatuscia.it/home/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php(1010): Forminator_CForm_Front_Action::handle_stripe() #1 /web/htdocs/www.alfieridellatuscia.it/home/wp-content/plugins/forminator/library/abstracts/abstract-class-front-action.php(119): Forminator_CForm_Front_Action->handle_form() #2 /web/htdocs/www.alfieridellatuscia.it/home/wp-content/plugins/forminator/library/abstracts/abstract-class-front-action.php(94): Forminator_Front_Action->handle_submit() #3 /web/htdocs/www.alfieridellatuscia.it/home/wp-includes/class-wp-hook.php(292): Forminator_Front_Action->maybe_handle_submit() #4 /web/htdocs/www.alfieridellatuscia.it/home/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #5 /web/htdocs/www.alfieridellatuscia.it/home/wp-in in /web/htdocs/www.alfieridellatuscia.it/home/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php on line 736

    The forms customization in Forminator seems good, only it is strange i did not see the card icon in the form preview … maybe this is the signal of some kind of problem inside?!? Can somebody give me some help or suggestion?!

    Thanks in advance, Andrea

    • This topic was modified 3 years, 6 months ago by andycucca.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @andycucca

    I hope you are doing good today.

    Base on errors logs from the browser console on that page:

    Uncaught IntegrationError: You should not use your secret key with Stripe.js.
    Please pass a publishable key instead.

    means that you are using the wrong (secret) key for the publishable key.

    Could you review and double-check your Stripe and Forminator configuration?

    Kind Regards,
    Kris

    Thread Starter andycucca

    (@andycucca)

    Hello Kris,

    you were right, with your suggestion I solved the problem easily, now everything is ok.

    Thanks’ a lot!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘submitting payments using Stripe in Forminator’ is closed to new replies.