PayPal was error when using LIVE Mode Payment - paypal

When I using Sandbox mode it's work fine.
But when I switch to Live Mode error was happens.
{"response":{"name":"INSTRUMENT_DECLINED","details":[],"message":"The instrument presented was either declined by the processor or bank, or it can't be used for this payment.","information_link":"https://developer.paypal.com/docs/api/payments/#errors","debug_id":"51d8a0cb6f968","httpStatusCode":400},"httpStatusCode":400}
How can I solve this problem.
I use a Thailand Debit card to pay and have an enough money to pay.

Basically this means your credit card was declined. See here for more info.

I had the same problem, but in my case it was because I did a lot of tests of payments and reversals in the same paypal`s account, with the same product. I think Paypal "blocked" my account and it starts to deny all of my payments.
Try other account or card.

Related

What does it mean when paypal decline my card?

I'm new to payment integration. I have integrated a payment gateway in our software but when I tried it using my card, it was declined saying that "Unfortunately we could not add this card. Try again later or use a different card." or something like "card has been declined please try a different payment method". Payment through paypal successfully went through but I want also the other payment method to work like pay using Debit/Credit card. I tried to use sandbox credentials and it is also working. Is there something wrong with the code or is it because of my card?
Any response is well appreciated. Thank you!
It means processing that card was declined. Don't use your own card to test PayPal payments, such test payments will often be blocked, especially in the live environment.
For sandbox testing, you can try with a card from https://developer.paypal.com/developer/creditCardGenerator -- although if you are integrating a standard PayPal Checkout it is not necessary to test the black button; for integration purposes you can test everything you need to with as far as payment completion/capture with the yellow PayPal button.

Successful payment in Paypal Sandbox even without funds

I'm currently trying my app to notify the buyer if he/she has no funds. But every time I use a paypal test account without funds, the payment still proceeds. What could be the cause of this error? I have negative testing on for my facilitator account.
If you have a credit card attached to the sandbox account it will use that as the funding source.
With negative testing, though, what you do is send a specific amount in the transaction request in order to get a specific error code back for testing.
See this documentation for more details.

Credit card balance is not updating if we use Paypal's Guest Check out feature

I'm using PayPal Website Payments Standard for implementing Donation button in our application.
I have added Guest check out feature to give flexibility to the Users to Donate even if they Donot wish to have a Paypal Account.
For testing purpose in sandbox, I tried donating via guest check out option by using one of the preconfigured paypal's account, by using its credit card information.
The donated amount is reflected in the statements of the receiver.
But the amount is not debitted from the Donor's paypal balance..
Please suggest what I am doing wrong here.
I need to test the guest check -out feature and see the amount debitted from the account.
Please help
If donor is using a credit card it would not affect the PayPal balance. Credit card is a funding source on the account but shouldn't be tied to the account balance because theoretically it is a line of credit.

Simulate a denied payment (lack of funds)

Using paypal sandbox account.
I can successfully test a payment "completed" but i don't know how to simulate a refused (lack of funds) transaction because the credit card created with sandbox buyer profile has unlimited funds....
I know IPN simulator but what i need is to see the buyer's "experience" in case of lack of funds.
any help will be greatly appreciated.
Many Thanks
You could use negative testing while testing in the Sandbox to trigger a decline. You can find more on negative testing here.
Create a paypal PERSONAL sandbox account and give 0$ funds to that account.
And pay from your PERSONAL sandbox account to your BUSSINESS sandbox account.
I think you need at least two sandbox accounts to simulate a payment.
Look for more info on:
https://www.paypal.com/cgi-bin/webscr?cmd=p/sell/ipn-test-outside

How to do PayPal Payflow Test Transactions?

I was trying to create Payflow Pro Sandbox account but i got to know that we have to use live account for testing. I created it by entering false credit card info but when i use false credit card information on click of 'Buy Now' Button it throws error "Credit card information is incorrect".
Can anybody help me in doing credit card test transactions through Payflow.
You do not need a "paid" Payflow account for testing. Go here and select Payflow Pro. Don't let the $99 set-up fee scare you away. You will be able to create the account without paying for testing purposes. You can submit test payments and see the transactions appear in your transaction history. That way you can get your code working before taking the plunge in activating your account for real live payments.
If you're sure you have Live Payflow Pro credentials, you can simply submit your API calls to https://pilot-payflowpro.paypal.com instead of https://payflowpro.paypal.com
Note: As you mention 'Buy now button', I'd double-check your actually using Payflow Pro, since PayPal's standard buttons are referred to 'Buy now buttons' as well. For these, you would use the Sandbox at https://developer.paypal.com/ and https://www.sandbox.paypal.com/