PayFlow PayPal recurring Payment - paypal

I have made a recurring payment and it gives me approved as response message even if the credit card number and/or cvv code are incorrect in both sandbox and live mode.
Why am I not getting Invalid credit card as response?
ScreenCast

If you want to verify the credit card while creating the recurring profile in Payflow you need to pass the parameter "OPTIONALTRX=A" .
With this parameter passed first the card verification will be done and then the recurring profile will be created if everything is ok with card .

Related

Test paypal in sandbox, making a paypal (not credit card) payment from an account with no credit

I would like to test what happens when a payment is made from an account with no credit. I am using the paypal payment method; not a credit card payment.
The advice I have found suggests changing the amount value to 107.55
and activate the Negative Testing in my sandbox account, but that is only working with credit card payment methods.
Is there a way to handle the equivalent error with paypal payment method?
you can negative test PayPal Express checkout amount error's; here is a doc on error testing this: enter link description here
Now as far as account related errors you cannot negative test if that's what your looking for as shown in this doc

Payflow to create Recurring Payment with PayPal account

I am using payflow link hosted checkout pages and creating recurring profile. It is working if user pay with credit card and using pnref to create recurring profile. But it is not working if user make payment using paypal account. And getting error code 23 and error “Invalid account number” .
Please advice me for the same.
Payflow link only allow the user to submit Recurring Billing with Credit Card as the funding source. If you wish to have a choice of payment with PayPal account, you probably want to consider Payflow Pro.

Paypal Payflow API Error: Invalid tender when trying to process credit card sale

So I am trying to process a credit card transaction with the PayPal Payflow API using a transparent redirect. I am getting an error that it cannot process the credit card. When I look at the transaction history in the PayPal account manager the response message is Invalid tender. The manager also only shows the card EXP date. It looks like the credit card number is not making it to PayPal.
Here is the post string that is being sent in the header :
PARMLIST:INVNUM=794487634&AMT=78.04&CURRENCY=USD&ACCT=4111111111111111&EXPDATE=0920&csc=123
The paypal documentation for transparent redirect mentions only 3 parameters(Acct, expdate and csc) but another required parameter "TENDER" is missing in that, for credit card transaction your PARMLIST parameter should look like:
PARMLIST:INVNUM=794487634&AMT=78.04&CURRENCY=USD&ACCT=4111111111111111&EXPDATE=0920&csc=123&TENDER=C
//C is for credit card

Express checkout with payflow pro and recurring payment

i am using Paypal manager for the payment i successfully done with credit card payment with recurring payment profile from my website using PayPal manager. but now i want do recurring payment with express checkout using Paypal manager with recurring payment. i am able to do simple direct payment with express checkout using PayPal manager. i found some solution from google that we need to pass two variable
L_BILLINGAGREEMENTDESCRIPTION0 = "Your descriptor"
L_BILLINGTYPE0 = "RecurringPayments"
But i am not able to do recurring payment. I am not getting any error. but my payment have done simple payment not recurring.
Thanks in advance..
There are two things with Express Checkout. First you need to let know the whole process that you will also create some recurring payment profiles.
For that you set BillingType as RecurringPayments when you do doExpressCheckout request.
You will get the Token from paypal and later when user will be back on your site to confirm payment after signing in to Paypal you can use this token to create recurring payment profile the same way as you have done that with credit card.
So after confirming instead of sending doExpressCheckoutPayment you send createRecurringPaymentProfile request.
Of course you can also send doExpressCheckoutPayment if you want also to do some additional payment that is not recurring.

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.