Which fields are absolutely required for PayPal credit card payments - paypal

I am currently using PayPal to handle credit card payments on my website.
I would like to know what fields are absolutely required to process a successful payment.
This is particular important to know when handling credit card payments in other countries, to be specific the address fields as other countries do not uses zip code,state....
Also is the Cvv field required?
My card payment form includes the following fields:
card Type:
Card Number:
Cvv Code:
First Name:
Last Name:
Expiry month and Year:
Street Address:
City:
State:
Country
While testing credit card payments with PayPal test accounts I only needed to supply the card type, number , first and last name and expiry month and year.

This depends on how you have your PayPal account configured. With Payments Pro, you can setup Fraud Management Filters within your PayPal account. There, you can specify whether or not you want to decline cards where AVS or CVV2 does not match or if you just want to accept them (or flag them).
So, the answer to your question is "it depends on your settings."

Related

How can I get credit card CVV in PayPal test account?

It looks like PayPal was purblind on this. After I create a test account with a credit card, PayPal provide everything but not CVV for a card. So it is not possible to test credit card payments, because PayPal requires CVV when payment is conducted with a credit card.
How may I get CVV?
You can use any CVV code on Sanbox credit cards :)
So just type in something like 997 and you're good to go.
It also stands true for expiry date, just set some date in the future.
More info can be found here: https://www.paypalobjects.com/en_US/vhelp/paypalmanager_help/credit_card_numbers.htm
You can go to http://www.getcreditcardnumbers.com/ to generate fake credit card numbers for testing purposes. And You can use any Expiry date (in the future) and any numeric CCV (123 works).
I got the url above from PayPal's tech support.
Or you can follow below url https://developer.paypal.com/webapps/developer/docs/classic/payflow/integration-guide/
And search for cvv as well as credit card to get valid cvv and credit card numbers for paypal sandbox(test) account. Hope this help you.
The current answers are no longer true.
The latest documentation on this can be found here
It says:
Because test credit cards don't include a card verification code (CVV), you can use 123 as the CVV for Visa, MasterCard, Discover and Diners Club or 1234 as the CVV for American Express.
Use only those else the payment gets rejected.
To add a CVV number for your buyer sandbox account. You need to log in to your Buyer account. https://www.sandbox.paypal.com
After logging in you just need to scroll down a bit and to your left you will get the Heading "Banks & Cards" (For me a Visa Card was already made there as I selected card type as visa while making my buyer sandbox account in the developer dashboard.). You may even create/link a new dummy card here.
Just click on the card and then click on edit. This will let you add any random CVV number to that card. Then you can use this to test payment between your merchant and buyer sandbox accounts.

How can I limit the set of fields Paypal shows on express checkout?

Whenever our service initiates an express checkout and redirects the user to PayPal page the user sees the cart on the left and the following on the right:
Note that even the address and the phone number are required while we're an online service and don't need shipping information - once PayPal confirms the payment we'll happily "ship" over the Internet, so all we really need is a PayPal payment confirmation and I guess that requires just a credit card number, expiration date and the CSC.
Yes, I know that users who have already registered with PayPal can switch to "my PayPal account" option but that doesn't help people who don't have a PayPal account and those are forced to see this page with 12 fields.
Wait, that was the form for people who have their "country" identified as the USA. Here's what people tracked to Colombia see:
Even more fields and we only need a payment confirmation.
Is it possible to make PayPal limit the set of fields on that page?
Looks like you can avoid user to enter Billing and Contact information on guest checkout only if you properly transmit REAL shipping/contact data by your own in your SetExpressCheckout call.
&METHOD=SetExpressCheckout
&RETURNURL=https://...
&CANCELURL=https://...
&PAYMENTREQUEST_0_AMT=10.00
&PAYMENTREQUEST_0_PAYMENTACTION=Sale
&PAYMENTREQUEST_0_SHIPTOSTREET=1 Main Street
&PAYMENTREQUEST_0_SHIPTOCITY=San Jose
&PAYMENTREQUEST_0_SHIPTOSTATE=CA
&PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE=US
&PAYMENTREQUEST_0_SHIPTOZIP=95131
&PAYMENTREQUEST_0_EMAIL=jsmith01#example.com
&PAYMENTREQUEST_0_SHIPTOPHONENUM=408-559-5948
If you set random data above with invalid city/state/zip PayPal will display Billing and Contact information inputs.

PayPal Preapproval card checking?

Does the PayPal Classic API for Adaptive Payments do any checking on credit cards that get preapproved?
My customers preapprove their card and then when I use the preapproval id to charge them I sometimes get the error:
This transaction cannot be processed. Please enter a valid credit card number and type
Is there anyway to ensure the credit card entered is valid when they create the preapproval in order to avoid this error?
I believe you're looking at the error# 580036 - which is generic decline error message. This means that PayPal has tried to contact the issuing bank to collect the funds, but the payment was declined.
To list a couple of reasons:
Usually because there aren't enough funds available
it may be down to security algorithms within the bank.
Certain card issuers will decline certain Merchant Category Codes (e.g. Adult Content) depending on the card being used (e.g. Business Credit Cards)
When you create a Pre-Approval, you're creating a payment agreement with the PayPal Account, but there is no direct contact with the issuing bank at this point. As such, if the Pre-Approval fails at this point, the merchant needs to get in touch with the buyer and either agree on a new form of payment or clear the issues on the account.
The credit card linked to the respective PayPal account is valid nonetheless.

Does PayPal always return a payer_id?

I understand that when the customer logs into PayPal and uses their PayPal account, PayPal will send us the customer’s payer_id. But what happens if the customer does not log into PayPal and just uses a credit card to process the payment? Does PayPal still supply a payer_id in that case? And is there any way to fake that in the Sandbox? Does PayPal supply test credit card numbers? One for Success, and others for various types of failure?
(This is PayPal Website Payments Standard.)
The answer I received from the PayPal developer forums was:
A payer_id is returned whether the
buyer pays with a PayPal account or
uses their credit card without logging
into an account.
You can generate test card number in
the sandbox by following the steps
below:
First login to your buyer sandbox
account and generate a test credit
card by following the steps below:
Click on Profile
Click on Credit card
Click on Add
Select the card type (currently, the
sandbox will generate test visa card
numbers)
Copy the card here and click on cancel
** Don't add the card to your account**
Now use this test card number, any
expiration date in the future, 000 for
the CVV2 number, any address in a
valid format and any name to test
again.
These test cards will result in a
success. For website payments
standard, to simulate failure with a
test card number, you can enter any
random 16 digits for the card number.
However, with website payments
standard, if a transaction fails, no
response is sent to the merchant.
Thanks.

Paypal - payment without account

I need to integrate paypal into online store..
Requirements
- All credit cards (secure) details should be inputed on PayPal site
- User do not need paypal account
So there is couple ways of integration
Standart IPN - when you redirect
user to paypal site and he use his
(or create new) paypal account and
than redirected back to site
PayPal Payments Pro - user input his details including credit card number on my site(and I make payment using API)
But is there a way where I can redirect user to paypal site and he just input a credit card number and redirected back.. So user input just credict card number and that it is - he do not need a paypal account or fill any other fields.. Does it possible?
Stanard Paypal does offer you the ability pay via credit card without a paypal account
https://www.paypal.com/uk/cgi-bin/webscr?cmd=xpt/cps/general/OptionalAccount-outside
I am experiencing the same problem as you, and would like to put my findings on record. With Website Payments Standard, depending on which country your user selects, he/she may or may not need to create a PayPal account. These are the three most typical form submit buttons that he/she may encounter:
Case 1:
Review and Continue
No requirement to create an account
Countries: US, Australia, Greece, Hong Kong, India, Taiwan
Case 2:
Continue
A so-called optional account is created for you, and you will need to register a PayPal account after 10 transactions.
You will only be able to use PayPal via PayPal Account Optional for up to [10] transactions before we will require you to open a PayPal
account with PPEL to enable further use of the PayPal system. At that
point you will be required to enter into our standard user agreement
to govern the ongoing relationship with PayPal.
Countries: Belgium, Denmark, France, United Kingdom
Case 3:
Agree and Create Account
You must create a PayPal account to transact.
Countries: Albania, Algeria, China, Ecuador, Japan, Malaysia, New Zealand, Philippines, Qatar, Russia, Singapore, Vietnam
Although most credit card processors require only the card number, card verification code and at most the card expiry date, PayPal requires that address and contact number be provided. I am not sure how PayPal is going to enforce the accuracy of such information without also being a card association. If you get what I mean.