m_umair69 Posted July 7, 2021 Share Posted July 7, 2021 When using Stripe module in whmcs version 7.4.3 , when clients checkout after entering credit card details in whmcs I get error "OOPS! something went wrong and we couldn't process your request" The URL where this error is occurring is www.temp.com/clients/creditcard.php 0 Quote Link to comment Share on other sites More sharing options...
Remitur Posted July 7, 2021 Share Posted July 7, 2021 Enable PHP error logging and then check the detailed error 0 Quote Link to comment Share on other sites More sharing options...
m_umair69 Posted July 7, 2021 Author Share Posted July 7, 2021 Upon checking error log , below is the error [Wed Jul 07 16:20:43.901982 2021] [fcgid:warn] [pid 13014] [client 193.43.142.xxx:61463] mod_fcgid: stderr: Stripe Notice: Undefined property of Stripe\\Customer instance: sources, referer: https://www.temp.com/clients/creditcard.php [Wed Jul 07 16:20:43.902000 2021] [fcgid:warn] [pid 13014] [client 193.43.142.xxx:61463] mod_fcgid: stderr: PHP Fatal error: Call to a member function jsonSerialize() on null in /home/temp/public_html/clients/modules/gateways/stripe.php on line 0, referer: https://www.temp.com/clients/creditcard.php [Wed Jul 07 16:20:43.902002 2021] [fcgid:warn] [pid 13014] [client 193.43.142.xxx:61463] mod_fcgid: stderr: [WHMCS Application] ERROR: exception 'Whoops\\Exception\\ErrorException' with message 'Call to a member function jsonSerialize() on null' in /home/temp/public_html/clients/modules/gateways/stripe.php:0 Stack trace: #0 /home/temp/public_html/clients/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\\Utility\\Error\\Run->handleError(1, 'Call to a membe...', '/home/temp...', 0) #1 [internal function]: WHMCS\\Utility\\Error\\Run->handleShutdown() #2 {main} {"exception":"[object] (Whoops\\\\Exception\\\\ErrorException(code: 1): Call to a member function jsonSerialize() on null at /home/temp/public_html/clients/modules/gateways/stripe.php:0)"} [], referer: https://www.temp.com/clients/creditcard.php 0 Quote Link to comment Share on other sites More sharing options...
Remitur Posted July 7, 2021 Share Posted July 7, 2021 Does this happen just to a single user, or to every user? If single user: check the data he's submitting and his personal data (special characters in name or email address, or so on) If every user: ask to WHMCS support, there should be something wrong in your install. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.