Jump to content

Cannot add credit card either as an admin or via client page


Recommended Posts

The client has an address defined but I'm having an issue adding a credit via my admin portal or via the client portal. I did notice the Add Payment Method pageg, I see a "loading" message that never finishes. The screen shot is attached.

Any idea what might be going on here?

 

 

Screenshot 2023-05-01 at 4.46.53 pm.png

Link to comment
Share on other sites

I ran the Chrome dev tools and see the following: (FYI, I'm using the Twenty-One theme and the latest version of WHMCS)

caught ReferenceError: Stripe is not defined
    at HTMLDocument.eval (eval at <anonymous> (vendor.min.js?v=610b8a:1:2794), <anonymous>:19:5)
    at o (vendor.min.js?v=610b8a:1:27302)
    at Object.add [as done] (vendor.min.js?v=610b8a:1:27623)
    at x.fn.ready (vendor.min.js?v=610b8a:1:29678)
    at eval (eval at <anonymous> (vendor.min.js?v=610b8a:1:2794), <anonymous>:18:13)
    at eval (<anonymous>)
    at vendor.min.js?v=610b8a:1:2794
    at Function.globalEval (vendor.min.js?v=610b8a:1:2805)
    at $ (vendor.min.js?v=610b8a:1:51911)
    at x.fn.init.append (vendor.min.js?v=610b8a:1:54028)  

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi @digitaljunction,

Please view the page source and make sure you see the Stripe framework on the page:

<script type="text/javascript" src="https://js.stripe.com/v3/"></script>

If it's there, then it's possibly being blocked by your browser like andrezzz suggests.

 

If you don't have that line in the code, please ensure that Action Hooks are enabled on your system. Check the configuration.php file for a disable_hooks flag, and remove if present.

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