paypal payments pro test credit cards fail - c#

Trying to use PayPal Payments Pro with hosted pages to accept credit cards on a web site. I'm having trouble getting the test credit cards to work, they all give the error:
Declined: 10544-Please use a different payment card.
I'm not using a shopping cart or making direct API calls, I am testing with the paypal payments pro asp.net c# sample from paypal, it does this:
posts my credentials to https://pilot-payflowpro.paypal.com and gets a secure token then posts secure token to https://pilot-payflowlink.paypal.com to display checkout page
When I enter visa test 4111111111111111 exp 12/19 or any other test credit card I get the above error.
In the sandbox the are no transactions recorded.
What I have done, following the documentation:
I have a paypal payments pro account with the following settings:
PayPal Payments Pro Live
Hosted Checkout Pages Live
Payflow SDK/API (Full Access) Live
Paypal Express Checkout Live
I linked my business paypal account with manager.paypal.com
I upgraded a sandbox account on developer.paypal.com - there were two already there, a business and a personal, I upgraded the business sandbox account to Business Pro which I believe then links it to my payments pro account(?).
Setup hosted pages in manager.paypal.com per documentation, set use secure token to yes.
Set site to live - I did this because I am posting to 'pilot-' urls. I had it on test (which means you can use the normal urls) but due to the error and a post I read I set the site to live and used pilot, no change.
So everything seems to be working except the test numbers are supposed to succeed so I'm not sure where to look next.

KPG,
PayPal will change its processes every now and then, but here is the current process for sandbox credit cards:
Log into your developer account
Scroll down the left-hand vertical menu until you see the "Mock" section.
If you don't immediately see this vertical menu, navigate to your "dashboard" first. It will be there.
Click on "Credit Card Generator". Here is text from that page:
Generate random credit cards for testing purposes. You can add credit cards to a Sandbox PayPal account or use them for credit card payments.
Click "Generate" for all parts of the CC number, including CVC.

Related

Does the PayPal gateway allow a user to transfer money to a PayPal account using net banking?

I worked on Paypal Gateway integration on the client's website where
Payment request get generated
- User get transfer to his/her Paypal account
- there he completes his transaction via either through card or PayPal balance or bank attached to his/her account.
- we do get a proper response as well.
Currently, the system working finely. Now we want to add a facility to pay via net banking to a merchant's PayPal account. I tried to search on the net to get lead for this but did not found any.
do anyone had implemented this, right now I dont have any code to post it here.

Paypal method for instant pay with later on charge too and recurring payment

We have one application that sell online account as service and we have work flow as per blow requirement.
With user registration charge $10 instant and set recurring from next month
If user add addons then user will charged extra $1 instant and update recurring with $1 extra (so $11)
Same as unlimited addons with extra charges.
What methods is perfect with Paypal.
I know it's really easy with Authorized.Net CIM & Recurring method. I am looking for something similar in Paypal.
For many time instant charge I think I need to create customer account with store credit card in Paypal but I don't want to create customer's Paypal account. Might be that customer have already account than my application will give me error and also there are many other problems too like user can remove credit card any time from account that I don't want.
I show there are so many different methods available in Paypal but did not get it which one is perfect for requirement.
I want to do everything on my website and don't want to use any express checkout method on Paypal side and I am working with Asp.Net with C#.Net
Thanks in advance.
The Recurring Payments API is what you want. Specifically, Express Checkout would be for PayPal payments and Payments Pro (DoDirectPayment / PayFlow) would be for direct credit card processing without a PayPal account.

Direct Credit Card payment using Classic Api in PayPal

I just want to know whether Classic API for doing Direct Recurring Payment using Credit Card in paypal is available in India or not.
Bcoz...i have made application using REST API but in Account Eligibility it is shown as Direct credit cards is not enabled for live transactions they are allowing recurring in sandbox account but not in Live..
My question is can it be done using Classic Api rather than Rest API in India ???
Unfortunately, Payments Pro is only available for US, UK, or Canada accounts.

Recurring direct payment

I want to adding recurring payments to my application.
The requirement is as follows:
1.) User should be able to enter his/her credit card number, cvc and expirary in my application.
2.) I will submit the details along with his/her recurring payment option eg: 3 months, 6months etc
3.) Should receive response stating the recurring payments successful.
I went through the API but it didn't help.
I basically want to create a paypal direct recurring payment application (using C#). Any link or sample code to begin with is appreciated.
The API documentation you require is here
Most Paypal recurring transactions users implement a hosted page checkout, and i have not witnessed a single api checkout implementation. Do get in touch with Paypal as your page need to match up to certain requirements before you can collect credit card information on your webpage

Paypal Recurring Payment - Express Checkout APPID rejected

I am using Paypal Express Checkout to make recurring payment and deduct intial amount.
Here are my steps:
I redirect the user to paypal with agreement and get the token
Use this token to deduct initial amount
and then use the same token to create a recurring profile.
This worked well in the sandbox.
Now i need to get an app_id to make it live.
The problem is the paypal reject this saying:
"but i am still seeing the payment as a 'Standard' checkout, rather than a Preapproved Payment. Preapprovals would be used to create a Billing Agreement with your users which can be debited later "
Can you please advice something?
FINDINGS:
While getting token there is no way to show that we are creating recurring profile that might be the reason they rejected it.
But i am using the same code they provide
https://www.x.com/developers/paypal/documentation-tools/paypal-sdk-index
Express Checkout and Recurring Payments does not require an App ID. Those are only required when you're using the Adaptive Payments API. Express Checkout is not part of the Adaptive Payments API. That's what they're telling you...you simply don't need an App ID. If you're passing one in the sandbox it must be getting ignored.
If you have everything working as you want it in the sandbox just change your endpoints and your API credentials to the live values and it'll work for you.

Categories