PayPal sandbox test accounts - inconsistent results - paypal

While testing payments in the sandbox using SetExpressCheckout, GetExpressCheckoutDetails, and DoExpressCheckoutPayment, testing works as expected.
Payments are reflected in the developer portal and in the test account. The developer account and test accounts are more than 3 years old.
However, when using a new test account created in the last 30 days, the same test fails without error and are payments are not reflected in the test account or in the developer portal.
I suspect that there may be some difference between the older test accounts and the new. Any thoughts?

First of all, why are you testing deprecated NVP APIs that are several generations old, instead of REST v2/checkout/orders (with or without a modern UI for approval) ?
It's hard to say what specifically the problem might be since you don't share any API responses, but at a guess the email address of the sandbox receiver account is not confirmed.
Check in https://www.sandbox.paypal.com/businessprofile/settings/email , resend confirmation message as needed
Read confirmation messages in https://www.paypal.com/signin?intent=developer&returnUri=https%3A%2F%2Fdeveloper.paypal.com%2Fdeveloper%2Fnotifications%2F , and log in again to confirm
If that's not the issue, you'll need to share API responses.

Related

Paypal App is "Conditionally Approved".What is the timeline to get it approved?

I have created and submitted a Paypal application ( using the classic API). The application is in a conditionally approved state. Paypal reached out and asked additional questions which I responded back with details. The application does not use the Paypal API to make payments. It only reads transactions related data and shows useful reports and insights for users. The API permissions requested are
1.Obtain transaction specific information.
2.Obtain your paypal account balance
3.Search your transaction specific information.
4.Search your transactions for items that match specific criteria and display the results
I was able to get a live app id and also have the API username, password and API signature. However since our app uses Paypal oauth, the permissions part doesn't work . My guess is this is because the app is conditionally approved. Is this the right assumption? Also what is the typical timeline for an app to get approved? My Paypal account from which I created and submitted the app is a verified account. I have sent messages from within my developer portal to support but I haven't heard anything back.
So far we have been working with a sandbox account. The live application I created is in a different account than the sandbox account. I am not sure if this is an issue.Would be great if someone who has been through the process can confirm.
Unfortunately there is not really a "typical" time frame for app approvals as too many factors go into the approval process. The best thing would be to call in to PayPal to inquire on the status.

Payout in Sandbox

Paypal newbie here. I am using the .net sdk to call PayPal's rest api in the Sandbox environment. I am trying to test a batch payout(Mass Payment).
Issue 1. The sandbox "facilitator" account which came pre-created has a zero balance. I cant seem to find any way to get some money in the account so that i can test payouts. If i create a new business account, i get to specify an opening balance, but when i try to do payouts using this new account, i get back a 403 forbidden response when i try to payout even though i am able to get a token successfully.
Issue 2: Using the facilitator account, i am able to submit a payout request, but its behavior seems to have changed since a couple of day ago. A few days ago, all payout request used to be DECLINED and would show up on the transactions list on the sandbox site. I assumed they were getting DECLINED because the balance was zero. Since yesterday, all payout transactions via the facilitator account stays in PENDING stage and they do not show up on the transaction list. A Payment/Get request for the payout_batch_id always returns back as pending even aftter a day, but theres no sign of those transactions on the sandbox site.
1 - Creating a fresh account and giving it an opening balance is correct, and that should work just fine for you to test MassPay. If you're getting a 403 error that sounds like a problem with your API endpoint or something. Need to see a sample of the API request/response to know more on that.
2 - Again, need to see a sample of the API request/response that you're getting to know more here. My MassPay transactions in the sandbox work just fine. Here's an example. You'll see the request and response data there, showing it was successful. Then when I go look at the separate accounts I see the money as expected.

Credit Card payments not working Paypal

Hi I am implementing paypal API on my website where different vendors come and sell their products.Currently I am using sandbox environment.Payments are working perfectly using paypal account but payments are not working using Credit Card.Getting following error:
We are sorry, we are experiencing temporary difficulties. Please try again later. If this error occurred while making a payment, avoid duplicate payments by checking your Account Overview before resending a payment.
For some browsers, this problem can be resolved by clearing or
deleting cookies.
Message 6838
Any ideas?
If this is an issue that is happening with every transaction, make certain that you are using live credentials with live endpoints.
If you are using Express Checkout make certain you have the correct API Signature credentials.
Below are two links for going live and correct API Endpoints:
PayPal Developer Site, Going Live
API Endpoints
If this is happening on only a handful of transactions it may be a technical issue.You can submit a ticket to PayPal Merchant Technical Support

How do I verify my receiver for paypal adaptive payments

I have what seems to be an uncommon situation. I need to accept payments on my website and send them to various merchants that do their business though my app.
So the payment flow is:
Payer -> My App -> My Customer
This flow seems to be exactly facilitated by paypal's adaptive payments api and while I have pored over all their integration guides, there doesn't seem to be any documentation for even simple email to account verification.
My question is, how can I verify that an email belongs to a verified paypal business account, or perform some other hand shake verification? Is there a way to do that, or even a good workaround? Thanks!
Found this API endpoint today:
https://developer.paypal.com/webapps/developer/docs/classic/api/adaptive-accounts/GetVerifiedStatus_API_Operation/
It seems to do what I wanted, and it at least indirectly test account existence and definitely tests the verified status.
One caveat that I would add for posterity is that in sandbox mode, you may only test against sandbox accounts that you have created for your app.

Paypal Payments Pro - Advanced Fraud Protection not working

I need some help with a very annoying problem. We have a Paypal Payments Pro account and use the Paypal_Merchant_SDK (.NET) to process direct payments on our site via API calls using the live credentials we got from paypal.com. We have been live for several months, transactions processing successfully.
Now we want a small change to way we accept payments. We want to reject transactions with wrong CV2 code. So after calls with Paypal support we were told we needed Advanced Fraud protection added to our manager account (manager.paypal.com). So we added it and set the "CSC Failure" fraud filter to reject transactions on non-matches and deployed it to live (active mode). All status messages say it was deployed successfully. We waited for several hours and tested, it didn't work - still processes transactions with wrong CV2 code and we get this message "This transaction was approved. However, the Card Security Code provided had too few, too many, or invalid character types but, as per your account option settings, was not required in the approval process."
Can anyone tell me why the CSC failure setting is not working and how to get it working?
EDIT: Ok, on the phone with paypal support again and they say that I will have to use the manager.paypal.com login credentials as part of each transaction in the API calls. Does anyone know where I would do that? I only see fields for API credentials.