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

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 !

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.

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.)

paypal website standard for subscription, cancelling subscription

Please help me with my requirement to implement using paypal.
My requirement is this :
The user can subscribe to a service, using paypal account or credit card ( without paypal account ) . The user can unsubscribe later if he/she wishes to .
I implemented the first part using Subscription button of "website standard" where paypal gave me a button and upon clicking it will lead to paypal website.
I am getting the notifications using IPN
Now there are two problems:
How to test credit card, I could test paypal account payment using the sandbox test users, but for the credit card, I dont have dummy credit cards. If I use the credit cards of the paypal accounts, it says "paypal users should use paypal to pay "
I want to cancel the subscription. The paypal user can go to the paypal account and cancel the subscription. That works fine. But how can we cancel the subscription from my website, or how can we cancel the subscription of the creditcard payer. The paypal SDK says the subscription profile ID is invalid.
Did anyone tried this kind of implementation.
Any help would do, be it links or places to search .
Thanks a lot
First, Guest Checkout (paying with a credit card without signing into PayPal) is only available without recurring payments. When using recurring payments it will force the person to create a PayPal account. You would need to use Payments Pro in order to do recurring payments directly with credit cards, and then the person would never even be redirected over to PayPal at all.
For test cards, any old expired card you have would work, or what you can do is login to your PayPal sandbox account, go into the profile, and go through the process to add a new credit card to the account. It will actually fill in a card number for you, but DO NOT add this card to the account. Just copy that card number and then cancel out of this screen. Now you can use that card number for testing on the PayPal system.
In order to refund using the API you'll need to create the profiles using the CreateRecurringPaymentsProfile API. The profile ID that gives you will be compatible with all API calls to manage it in the future.

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/