Paypal Authorization & Tokenzation - paypal

i need to save credit card & do below process
1- Initialize pass CC number,Cvv,Exp Date + additional params to Paypal.
2- Receive Unique CC card reference number.
3- before or after do Authorization & Void Authorization to verify Valid Credit card.
4- initize New payment debit process used by Unique CC Reference number without asking CVV.
Please give idea & Suitable Example
Thanks

Related

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 Converting Sale transaction to Recurring Billing Profile results in Duplicate error

Using payflow .net dll I am trying to create a Recurring Billing Profile without forcing my clients to take on the PCI compliance burden of handling credit card data so here's what I'm currently doing...
get secure token
create sale transaction (record results)
Convert it to Recurring Billing Profile (starting in the future)
This all works however when PayPal tries to create a transaction using the RBP it gets Result Code 30, Duplicate, error 10536 - ...duplicate invoice id... I'm not setting an invoice id anywhere in my code. When in step 2 I create an authorization instead of a sale it works (although the trans type in the IPN ends up being "cart"???). So I assume this is a problem with converting a sale to a RBP. If that is not allowed then step 3 should stop me but it doesn't. So is there a way around this problem?
NOTE: When using Express Checkout with the paypalcoresdk and paypalmerchantsdk dlls I am able to create a sale transaction AND a RBP using the same token and it all works and the IPN tran type ends up being recurring_payment which is correct.
NOTE 2: The best solution would be for PayPal to allow me to create an RBP using a secure token. I have not been able to make that work.
NOTE 3: The reason I'm not using an Authorization transaction is because this would result in the client having loads of Auth transaction in PayPal that they could Capture at anytime resulting in duplicate payments.
To get rid of this error , Login to your Paypal account , go to Profile --> My selling Tools --> Block Payments . Here you will see something like " Block the payments with same invoice id " , put it to "No" and save the settings . It should be fine afterwards .
Regarding NOTE 3
I have found that I can set up an Authorization transaction with an amount of 0. Then in the transaction history it will have a status of Completed and no Capture button. Then when converting this to a Recurring Billing Profile PayPal allows you to set a different amount. I don't know if this imposes a limitation on the amount but my test of $500 worked.
Hope that helps someone

Can I change a credit card while using reference transactions?

I want to use reference transactions and give the option to users to change their credit card. It looks like there are required fields like amount that don't apply and can't be zero.
Hopefully I can set it up so:
-User enters credit card info
-I can charge that card different amounts at different intervals
-Invisible PayPal (no express checkout or PayPal billing agreement
-User can change credit cards on my site.
Any ideas, or links to some documentation that can help?
If you want them to be able to update their card details then you'll need to run an Authorization against their new card and store the transaction ID you get back from that as the new ID to use within reference transaction requests.
You could just authorize $1.00 and then immediately void it, for example, to update your system with their new card.

Payflow Pro SDK - Authorized Transaction using OrigID

I need to create an Authorized transaction but instead of using the credit card number I need to use the OrigID which was generated from a previous payment? Is this possible if so how would I achieve this?
Customer places and order -> Authorization is done using the credit card number
Order is shipped and invoiced -> Payment is captured using a reference transaction.
Same customer places another order -> instead of having to get the credit card details - use the "token" generated from the first transaction (while it is still valid).
Hope this makes sense.
You can use the transaction id that is generated from the first transaction to process additional transactions for the buyer without having to have the buyer enter in their credit card information again. You would need to enable reference transactions on your account, and store the transaction id's on system. Then when you want to charge a buyer again, you would just pass over the transaction id of the previous transaction instead of the credit card information.

Retrieving a users credit card details via paypal

I’m building a site to be based in Australia and I have been researching into saving credit card numbers. Currently I have not had much luck with my questions. Paypal was of little help.
The site will run on many small transactions. I plan on using the paypal gateway to handle payment both via credit card and paypal accounts.
What I would like to do is retrieve user’s credit card details so they do not need to input them each time.
How I imagine this to work is that the first time a customer will input their credit card details to make the purchase. Once this purchase has been completed the site will receive a transaction ID from paypal. I then save this ID for future reference mapped to the users ID or email address.
So the next time the user wishes to make a purchase via their credit card I can forward this transaction ID to paypal and it can already have all the fields populated with their card details. Or display a screen with the last 4 digits or similar and ask the user if they wish to use this card again.
This is all assuming that the user does not have a paypal account.
Is this possible? Is there a better/more cost effective solution than this?
Your understanding isn't too far off. When you submit card details to PayPal (or any payment gateway) you should get back a token id. You would store that token id instead of the card details, then at any future point you wish to take payment you submit the token id (along with payment value etc)
By only storing the token value (and not the card details) you free yourself of most of the hassle with PCI compliance. PCI does allow you to store part of the card details in plain text (at most the first six and last four digits), so you could safely store these along with your token id. That would allow you to display these details and ask 'use this card again'
An example of this is documented at PayPal's site here:
https://developer.paypal.com/webapps/developer/docs/integration/direct/store-a-credit-card/