Tokenising CVV for Braintree vaulted cards in hosted fields

514 views Asked by At

I have integrated Braintree HostedFields and it's working fine, Now I am trying to add vault feature to it.

I managed to retrieve all the payment methods from vault using vaultManager in client-side JS.

My question is how do I just tokenize the CVV and not all other details as if a customer selects a card from the displayed option then they won't expecting to enter their card details and expiry date. And if I don't have these data how do I tokenize card.

Do I bother to ask for the CVV at all, because I tried sending the payment method token to server side and charged it by passing it to 'paymentMethodToken' in transaction()->sale()?

I am just not sure what I am supposed to do on the client side once the customer has selected the stored card to pay with.

0

There are 0 answers