Jump to content

Issue with stripe checkout


Recommended Posts

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

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated