Simulate a denied payment (lack of funds) - paypal

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

Related

paypal sandbox - verify identity

I am testing my payment integration using PayPal Sandbox
When I go to make payment using a sandbox account, the following message displays on the payment page
To use your balance next time, go to your PayPal account for an
identity check.
If I log into the sandbox account, I am not seeing any way to do this.
How do I set up the sandbox account so that it can use PayPal funds for the payment rather than the credit card option?
It doesn't matter how you are funding the payment in sandbox. There's no actual reason for you to be bothering to care about this issue, since the result of a completed PayPal payment on the receiver end will be identical.
But since you ask, you can create a bank verified account via https://www.paypal.com/signin?intent=developer&returnUri=https%3A%2F%2Fdeveloper.paypal.com%2Fdeveloper%2Faccounts%2F

PayPal was error when using LIVE Mode Payment

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.

PayPal IPN Sandbox Payments - Pay On Delivery or Bank Payment

I am trying to test PayPal payments that are authorised at a later date, examples being Pay on Delivery or a Bank Transfer.
I have created a new sandbox account with no credit/debit cards and £0 in the PayPal balance but when I come to make a payment I have to add a card.
I have set up a bank account and agreed the mandate so I must have something set up wrong somewhere because these type of payments happen in LIVE and we have an issue with the IPN message that comes X number of days later once the payment has cleared so I am trying to reproduce this to investigate.
Have you tried using the IPN Tester? (here after you log into your Sandbox account) https://developer.paypal.com/developer/ipnSimulator/ .
All sorts of conditions that you can test your 'listener' process against there.

PayPal payments made to sandbox account instead of live account

We had a page set up to receive PayPal payments - it was still on testing/development, so we used a sandbox business account to receive payments.
Unfortunately, some users gained access to the page and successfully made payments. I logged into sandbox and found out that it successfully received the payments from non-sandbox accounts of real users.
I thought this would not be possible. So I tried it for myself - made a payment using my real PayPal account, and I was right - it did not work.
My question is: How was it possible that they were able to pay using their real account, but I couldn't? Second, since they paid to a sandbox account, was actual money deducted from their account? If yes, would refunding it from inside our sandbox business account work?
The only way I can think anybody could have completed the transaction using a "real" account is if they paid using a credit card through a Payments Pro integration. Are you using Payments Pro?
Any money paid to a sandbox account is fake, and no money would actually be transferred.

How can I test paypal micropayments in the paypal sandbox?

Is there a way to test paypal micropayments in the sandbox? I can see where to upgrade the test account to paypal payments pro. But i don't see one for micropayments. I am trying to verify smaller transactions.
While it does not make much sense to see the pricing of sandbox transactions change, you can contact MTS under paypal.com/mts
give them the e-mail address of the sandbox merchant account you want to enable Micro Payments for and they should be able to activate it for that account.