Save cards in multi client applications with MercadoPago [closed]

1

I am generating a marketpayment app, which has multiple clients, in this app I need to be able to save users' cards so they can use it again later.

The question is, the user, I generate it with the access_token of the app? And then I only issue the purchase with the customer's token?

  • client: store that gives me access to be able to charge with your marketpayments
  • user: the person who enters my site to be able to buy
  • EDIT

    On our site we have many products from many stores, so the user does not have a shopping cart as such, enters a product and buys that product, but I need users to save their cards only once, and that that card can be used in the multiple stores we have.

        
    asked by Yair VIllar Peralta 19.07.2017 в 16:31
    source

    1 answer

    1

    What you want to do in the paid market is called "customer and cards" This feature allows you to save a user of your application using the access_token from the endpoint

    api.mercadopago.com/customers

    Once you have created a user you can save your associated credit cards to have the functionality of "wallet", for security you can only consult later a card_token that is an identifier of the saved card to use it in the application later to make a payment, process for which it will be necessary to request the cvv of the card as a security mechanism to process a payment with a saved card.

    Reference:

    link link

        
    answered by 19.07.2017 в 19:36