retrieve all credit cards by payer_id or external_customer_id - paypal

I'd like to store user's credit cards on Paypal.
all credit cards stored with external_customer_id which is unique and the same as the id of our system.
I'd like to retrieve all credit cards with external_customer_id from Paypal.
is that possible? or I should store credit card token (or id) and find with the token?
Thank you in advance.

Related

PayPal Credit/Debit Card details to save in Db

I am using PayPal smart buttons for Payment processing, where users can pay using PayPal account or Credit/debit card.
I want to save the last four digits of Credit/Debit card entered by the user for payment in the database.
How can I get that Credit/Debit card number?
Thanks in advance.
You cannot get that information. You also cannot get information on whether or not a credit/debit card was used to pay -- some other payment method may have been used to pay. A customer's billing information is kept private to their PayPal account. All you know is that you received a PayPal payment, and this is by design.

PayPal REST SDK - how to validate credit card accounts

I was able to implement credit card payments on my website. Now my problem is how do I identify if the credit card account is fake or a fraud. What I am doing is I store the credit card info using the vault api then I get those stored accounts for the user to choose what card they will use to purchase my product. However, i can't find a way to add some more validation on how to check if the user is the real user of that credit card account. Right now I can enter any credit card number by just using a card number generator and it directly submits the payment. I can see in my sandbox merchant account that the payment was successful.
So is there a way for me to prevent this?
Thanks to those who could help.
Processing a zero value payment authorization request is the most common way to authenticate the card details are valid without actually taking payment.

PayPal Credit Card store API why does not need security Pin?

PayPal Vault store the credit card and return cardId which we can later use to call Payment API.
I am not sure when how does payment get approve since while storing the card or making payment we no where we used security pin of Credit Card.
1.Can any one please explain me how does payment work just with creditcardId given by PayPal ?
2.I want payment to get credited to specific merchant account , I dont see merchantId as parameter to payment API , is payment to specific PayPal merchant possible using stored credit card ?
awaiting for clarification , Thanks !

Add a credit card to customers paypal wallet

Is it possible to add a customer's credit card information to their Paypal Wallet? I've looked into the REST API, but the information is stored in a vault specific to a merchant. I want to save the card information to the customer's wallet for future use. Does Paypal have a wallet api?
As a general rule, no. The buyer has to log in to their PayPal account to add the card.
(There is the AddPaymentCard API, but this is typically reserved for banks that are setting up PayPal accounts for their users and are adding a credit card/debit card, that they issued, to the new account.)

Store cardholder data in PayPal or other service provider?

I'm working on a e-commerce website with PayPal direct payment. Our customers are supposed to enter their credit card information in the page that hosted by PayPal, so that our server will NEVER touch the cardholder data.
Our problem is that we want to provide the convenience so that the returning customer don't have to enter credit card information every time, and we don't want to store or even touch the cardholder data.
Instead, we want to store this sensitive data in PayPal so that next time we can just provide something like a CustomerID to ask PayPal access the credit card information to complete the purchase.
Is that possible to do with PayPal or other service provider?
PS. We also tried Intuit Payment Wallet. It can store the cardholder data but it need us to transmit these data to their server to create a "wallet".
If it's PayPal you can do it either through Reference Transaction, or Recurring Billing. You also have PayPal's Adaptive Payments pre-approvals, although these require that the buyer have a paypal account.
For true credit card storage, where you only keep a token, you have to use a service like these guys:
https://www.braintreepayments.com/