Code Monkey home page Code Monkey logo

Comments (6)

amilamen avatar amilamen commented on May 25, 2024 1

Hello @balaji-subramaniyam,
Sorry for late. The card number is entered by the user and it is for security that Stripe only gives you the last digits.
What do you want to do with the full card number?

from ionic-stripe-checkout.

balaji-subramaniyam avatar balaji-subramaniyam commented on May 25, 2024 1

Thanks for your response. Actually I need the card details to be saved after the successful payment except cvv number.
Otherwise every time the user need to enter the card number to make payment. Is there any possibility that the user can use the existing card for payment?

from ionic-stripe-checkout.

ChafikHadjAbdouRazack avatar ChafikHadjAbdouRazack commented on May 25, 2024

Hi @balaji-subramaniyam
For this purpose you need to use the stripe api for retrive the card belong a customer. Or save the payment method token in your database belong a customer.
For create payment method: https://stripe.com/docs/api/payment_methods/create
For retrive payment method : https://stripe.com/docs/api/payment_methods/retrieve

from ionic-stripe-checkout.

amilamen avatar amilamen commented on May 25, 2024

Thanks for your response. Actually I need the card details to be saved after the successful payment except cvv number. Otherwise every time the user need to enter the card number to make payment. Is there any possibility that the user can use the existing card for payment?

Hi @balaji-subramaniyam,
I better understand your problem. For actual version of package, you can't retrieve card informations.
I'll make an update of package to allow developer to get these informations.
Stay connected for next version and thank you for your relevant issue.

from ionic-stripe-checkout.

balaji-subramaniyam avatar balaji-subramaniyam commented on May 25, 2024

Thank you @ChafikHadjAbdouRazack and @amilamen for your reply and suggestions.

from ionic-stripe-checkout.

amilamen avatar amilamen commented on May 25, 2024

@balaji-subramaniyam package has been updated !

from ionic-stripe-checkout.

Related Issues (1)

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.