How to manually launch Paypal error 10486 in a sandbox?

Paypal says use CCREJECT-REFUSED for address1 in credit card details. https://developer.paypal.com/webapps/developer/docs/classic/express-checkout/ht_ec_fundingfailure10486/

I tried creating a new test user (CC credentials were automatically created). Go into the sandbox and add the CC details that I got from the first step. I am changing the address bar to CCREJECT-REFUSED. Save it. And then I tested it, checking through the sandbox. Error 10486 was not called.

Any clues?

+4
source share
4 answers

The error I made was to change the SHIPPING address instead of the BILLING address.

It’s best to go to https://www.sandbox.paypal.com and click on the β€œProfile” tab and try to add or edit the map there.

Make sure to:

  • Make sure you put exactly CCREJECT-REFUSED for BILLING address of line 1 without spaces and TWO C at the beginning

  • They seem incompetent for the site to run smoothly, so just try again later if you get Service Temporarily Unavailable .

  • Make sure you add a new card (you can use your own real card number) that you are not receiving a message informing you This card number is already assigned to another PayPal account. For security reasons, each card may only be assigned to one PayPal account This card number is already assigned to another PayPal account. For security reasons, each card may only be assigned to one PayPal account , because then you will not add anything

  • Make sure that the payment method is actually installed on the credit card before you click "Submit" to order.

It really works (today)

+6
source

Well, I was mistaken in assuming that the error could be caused using CC direct payment.

As follows from the document:

  • You need to create a test user account
  • Log in to the sandbox using the above account.
  • Change the address of the test CC user to: CCREJECT-REFUSED

Then, to test it, start the express delivery flow, as usual. But in the last part, do not use direct CC input . Instead, choose another option - log in to your user’s PayPal account .

Then you will get the following answer: TIMESTAMP=2013%2d08%2d19T06%3a50%3a45Z&CORRELATIONID=6761aff7944b&ACK=Failure&VERSION=104&BUILD=7319395&L_ERRORCODE0=10486&L_SHORTMESSAGE0=This%20transaction%20couldn%27t%20be%20completed%2e&L_LONGMESSAGE0=This%20transaction%20couldn%27t%20be%20completed%2e%20Please%20redirect%20your%20customer%20to%20PayPal%2e&L_SEVERITYCODE0=Error

+3
source

All of these answers are now outdated. It is not possible to add a card with CCREJECT-REFUSED as the address, and if you could, it did nothing. You must follow the instructions: https://developer.paypal.com/docs/classic/lifecycle/sb_error-conditions/

For most PayPal-exposed APIs, this usually involves setting the order amount to the correct error code after you enable negative testing mode for your sandbox business account.

For example, running 10486 through the Express Checkout NVP API will include installing AMT up to $ 104.86.

+2
source

As directly from their textbook : (see step 2)

  • Log in to https://www.sandbox.paypal.com using your buyer's PayPal account.
  • Replace the contents of the Line-1 address bar of the customer’s test credit card with CCREJECT-REFUSED .
  • Run the regular Express Checkout payment flow against Sandbox test environment using the same customer account and the same credit card that you just changed.
  • When DoExpressCheckoutPayment is executed, error code 10486 will be returned. Your code should redirect the buyer back to PayPal using the same redirect URL that is used to trigger the verification flow and the same Express Checkout token.
+1
source

Source: https://habr.com/ru/post/1497448/


All Articles