Giter Site home page Giter Site logo

Comments (16)

melloware avatar melloware commented on June 9, 2024

Try changing your input type for the Expiry toinput type="tel" instead of input type="text"

from card.

Enzodtz avatar Enzodtz commented on June 9, 2024

I did it, but the error keeps the same.

If you want to try it

from card.

melloware avatar melloware commented on June 9, 2024

are you using the latest version of card 2.5.1 from the /dist folder here?

from card.

Enzodtz avatar Enzodtz commented on June 9, 2024

Yes, I am, also the JQuery version is 3.5.1 not slim.
Can't it be a compatibility error?

from card.

melloware avatar melloware commented on June 9, 2024

Jquery does not matter as this lib does not use Jquery.

from card.

Enzodtz avatar Enzodtz commented on June 9, 2024

Well, actually I'm using the dist/jquery.card.js JQuery version (This)

from card.

melloware avatar melloware commented on June 9, 2024

Ha that is NOT this library. Its an ancient version of this library before they removed Jquery as a requirement.

from card.

melloware avatar melloware commented on June 9, 2024

Closing as invalid since that library is not this one. Please upgrade to this library and set make sure to use the latest 2.5.1 version from this DIST folder.

from card.

Enzodtz avatar Enzodtz commented on June 9, 2024

I was following the readme JQuery Session

from card.

melloware avatar melloware commented on June 9, 2024

OK your link to "If you want to try it" is broken it goes no where?

from card.

Enzodtz avatar Enzodtz commented on June 9, 2024

Sorry, I forgot to add the https://, I've edited it and now it's working. The card code starts at line 31.

And I also changed the JQuery version to the normal version, and got the same results:

  • No console errors
  • Everything working but the expiry on mobile

New code:

var card = new Card({
    form: "#payment",
    container: ".card-wrapper",
    formSelectors: {
      numberInput: "#card-number",
      expiryInput: "#card-expiry",
      cvcInput: "#card-cvv",
      nameInput: "#card-name",
    },
    width: $(".card-wrapper").width(),
    placeholders: {
      number: "•••• •••• •••• ••••",
      name: "Name",
      expiry: "••/••",
      cvc: "•••",
    },
  });

from card.

melloware avatar melloware commented on June 9, 2024

I am not seeing anything on that page for Credit Card?

from card.

Enzodtz avatar Enzodtz commented on June 9, 2024

Sorry,

Actually you need to login first, please try this:

Email: [email protected]
Password: password

To login: click on Acessar (access) at the navbar right, then type your E-mail and Senha (password) and submit with Login.

Then you can click on the previous link

from card.

melloware avatar melloware commented on June 9, 2024

Thanks I just tested with my Desktop and my iPhone 8 and both are working fine.

from card.

Enzodtz avatar Enzodtz commented on June 9, 2024

I tested in another device and it worked perfectly. Probably it was the cache or something.

I'm sorry for extending this thread.

Thank you!

from card.

melloware avatar melloware commented on June 9, 2024

no prob

from card.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.