Jump to content

One page module and Stripe (credit card store functionnality) issue

Recommended Posts


We have this module 


And when we activate the function to store the customer credit card the payment doesn't go through. It seems to be a JS error.

We have this JS blocking :

payments.js:2 Uncaught (in promise) TypeError: Cannot read property 'cardPayment' of undefined
    at payments.js:2
    at s (payments.js:2)
    at Generator._invoke (payments.js:2)
    at Generator.t.<computed> [as next] (payments.js:2)
    at o (payments.js:2)
    at a (payments.js:2)
    at payments.js:2
    at new Promise (<anonymous>)
    at new e (payments.js:2)
    at HTMLButtonElement.<anonymous> (payments.js:2)


Any idea ?

When the storing functionality is off, it works..

Share this post

Link to post
Share on other sites


The  id, or  the  class that  handle  that  property  'cardPayment'   is  not  definded.

Read  the  js  code  to  see where it  is  called.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More