Forminator Stripe Submission Issue
-
Setup a checkout form and activated Stripe account, but unable to get it work in Forminator. Get a “There has been a Critical Error on this website” error when you press submit.
For that form, do not have any integrations setup other than Stripe.
Link for form export.
https://drive.google.com/file/d/1OlBdm5B54_6M0REKunGwuQpBOwDKLSE5/view?usp=sharing-
This topic was modified 4 years, 2 months ago by
andnotorwhenyoucan.
-
This topic was modified 4 years, 2 months ago by
andnotorwhenyoucan.
The page I need help with: [log in to see the link]
-
This topic was modified 4 years, 2 months ago by
-
Sorry to hear you are having this issue.
Thank you for sharing the form.
I tried to replicate the issue on my lab site and it worked fine: https://monosnap.com/file/4B0oqI8QpDpiaLBI7HqCi9FJ4eu6uN
This can indicate a possible conflict on your website.
Could you please enable the debug mode following this guide https://wpmudev.com/blog/debugging-wordpress-how-to-use-wp_debug/
Try to replicate again the issue and the same problem is going to happen, but this time checks the wp-content folder for a debug.log, upload it to Google Drive and share the link.
Best Regards
Patrick FreitasHi Patrick,
Interestingly, when I went through it again I didn’t have an issue for some reason after following the steps you provided.
Not sure why it works, but very happy that it does.
Thank you!
Help! I changed the Stripe setting from Test to Live and now it isn’t working again. It only worked in test mode. I now get a critical error when I press submit. Other users have experienced the same issue after I changed the site over to live.
I reached out to Stripe Tech Support, and they said that they can’t see the API integration coming through on their end. I followed the instructions though and copied the API’s from Stripe into the Settings > Payments > field in Forminator. Stripe’s Tech Support said that this was an issue on the Forminator side and that if the integration was successful that they can see it on their end, but they can’t.
Is there an account ID that they can use to lookup the account on their end?
Fatal error will return a log in the WordPress debug mode.
Could you please enable it following this guide https://wpmudev.com/blog/debugging-wordpress-how-to-use-wp_debug/
Submit the form, the same problem is going to happen but this time you can check the wp-content folder for a debug.log file, open it and search for the Fatal error line.
About the Stripe, I am afraid I don’t know any method that would make the lookup, when debugging the API we can use a plugin like https://wordpress.org/plugins/log-http-requests/ but if the issue is related to a fatal error the WordPress log would return more information.
Best Regards
Patrick FreitasHello @andnotorwhenyoucan ,
We haven’t heard from you for several days now, so it looks like you don’t need our assistance anymore.
Feel free to re-open this ticket if needed.
Kind regards
KasiaHi Patrick @wpmudevsupport12
I was finally able to re-create the issue. Please take a look.
[17-Mar-2022 17:23:15 UTC] PHP Notice: Undefined variable: result in /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php on line 783 [17-Mar-2022 17:23:15 UTC] PHP Notice: Trying to get property 'status' of non-object in /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php on line 783 [17-Mar-2022 17:23:15 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WP_Error::capture() in /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php:795 Stack trace: #0 /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php(857): Forminator_CForm_Front_Action::handle_stripe_single(Object(Forminator_Stripe), Object(Forminator_Form_Model), Array, Array, Array, Object(Forminator_Form_Entry_Model), 'test') #1 /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php(1109): Forminator_CForm_Front_Action::handle_stripe(Object(Forminator_Form_Model), Array, Array, Array, Object(Forminator_Form_Entry_Model)) #2 /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/abstracts/abstract-class-front-action.php(144): Forminator_CForm_Front_Action->handle_form('1550') #3 /home4/liamorton/idahoonl in /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php on line 795 [17-Mar-2022 17:28:34 UTC] Stripe Notice: Undefined property of Forminator\Stripe\PaymentIntent instance: pi_3KeN6oFbtke64upq0qXiKylx [17-Mar-2022 17:28:34 UTC] PHP Fatal error: Uncaught Forminator\Stripe\Exception\UnexpectedValueException: Could not determine which URL to request: Forminator\Stripe\PaymentIntent instance has invalid ID: in /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/external/src/Forminator/Stripe/ApiResource.php:104 Stack trace: #0 /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/external/src/Forminator/Stripe/ApiResource.php(118): Forminator\Stripe\ApiResource::resourceUrl(NULL) #1 /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/external/src/Forminator/Stripe/ApiResource.php(56): Forminator\Stripe\ApiResource->instanceUrl() #2 /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/external/src/Forminator/Stripe/ApiOperations/Retrieve.php(26): Forminator\Stripe\ApiResource->refresh() #3 /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/fields/stripe.php(466): Forminator\Stri in /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/external/src/Forminator/Stripe/ApiResource.php on line 104 [17-Mar-2022 17:28:54 UTC] Stripe Notice: Undefined property of Forminator\Stripe\PaymentIntent instance: pi_3KeN6oFbtke64upq0qXiKylx [17-Mar-2022 17:28:54 UTC] PHP Fatal error: Uncaught Forminator\Stripe\Exception\UnexpectedValueException: Could not determine which URL to request: Forminator\Stripe\PaymentIntent instance has invalid ID: in /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/external/src/Forminator/Stripe/ApiResource.php:104 Stack trace: #0 /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/external/src/Forminator/Stripe/ApiResource.php(118): Forminator\Stripe\ApiResource::resourceUrl(NULL) #1 /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/external/src/Forminator/Stripe/ApiResource.php(56): Forminator\Stripe\ApiResource->instanceUrl() #2 /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/external/src/Forminator/Stripe/ApiOperations/Retrieve.php(26): Forminator\Stripe\ApiResource->refresh() #3 /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/fields/stripe.php(466): Forminator\Stri in /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/external/src/Forminator/Stripe/ApiResource.php on line 104 [06-Apr-2022 13:01:04 UTC] PHP Notice: Undefined variable: result in /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php on line 783 [06-Apr-2022 13:01:04 UTC] PHP Notice: Trying to get property 'status' of non-object in /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php on line 783 [06-Apr-2022 13:01:04 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WP_Error::capture() in /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php:795 Stack trace: #0 /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php(857): Forminator_CForm_Front_Action::handle_stripe_single(Object(Forminator_Stripe), Object(Forminator_Form_Model), Array, Array, Array, Object(Forminator_Form_Entry_Model), 'live') #1 /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php(1109): Forminator_CForm_Front_Action::handle_stripe(Object(Forminator_Form_Model), Array, Array, Array, Object(Forminator_Form_Entry_Model)) #2 /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/abstracts/abstract-class-front-action.php(144): Forminator_CForm_Front_Action->handle_form('1550') #3 /home4/liamorton/idahoonl in /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php on line 795This is what showed up in the browser too
Notice: Undefined variable: result in /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php on line 783 Notice: Trying to get property 'status' of non-object in /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php on line 783 Fatal error: Uncaught Error: Call to undefined method WP_Error::capture() in /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php:795 Stack trace: #0 /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php(857): Forminator_CForm_Front_Action::handle_stripe_single(Object(Forminator_Stripe), Object(Forminator_Form_Model), Array, Array, Array, Object(Forminator_Form_Entry_Model), 'live') #1 /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php(1109): Forminator_CForm_Front_Action::handle_stripe(Object(Forminator_Form_Model), Array, Array, Array, Object(Forminator_Form_Entry_Model)) #2 /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/abstracts/abstract-class-front-action.php(144): Forminator_CForm_Front_Action->handle_form('1550') #3 /home4/liamorton/idahoonl in /home4/liamorton/idahoonlinerealestateacademy.com/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php on line 795Could you confirm if you are using Forminator 1.15.12?
I found a reported issue that triggers a similar fatal error but it should be fixed on this version.
Best Regards
Patrick FreitasUsing version Version 1.15.11
Hello @andnotorwhenyoucan ,
As my colleague said, 1.15.12 version is free from that error, so you should update Forminator on your site.
kind regards,
Kasia
The topic ‘Forminator Stripe Submission Issue’ is closed to new replies.