Sandbox and REST API: Large amount causes “instrument declined” error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a Payflow Pro sandbox account. I am submitting credit card transactions to the sandbox using Payments REST API. I have found that if the amount is $1500 or greater, then the transaction fails with error: INSTRUMENT_DECLINED The instrument presented was either declined by the processor or bank, or it can't be used for this payment.
However, the same fake credit card number works fine if the amount is less than $1500.
Is there a limit that I can adjust somewhere? I've done some searching but haven't found anything
Response.body={"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":"ede25b126ade"} Response.header={"date"=>["Mon, 06 Nov 2017 04:38:55 GMT"], "server"=>["Apache"], "paypal-debug-id"=>["ede25b126ade", "ede25b126ade"], "content-language"=>["*"], "connection"=>["close"], "http_x_pp_az_locator"=>["sandbox.slc"], "set-cookie"=>["X-PP-SILOVER=name%3DSANDBOX3.API.1%26silo_version%3D1880%26app%3Dapiplatformproxyserv%26TIME%3D1609039705%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Expires=Mon, 06 Nov 2017 05:08:55 GMT; domain=.paypal.com; path=/; Secure; HttpOnly", "X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT"], "vary"=>["Authorization"], "content-length"=>["267"], "content-type"=>["application/json"]}
Payment failed ===========>{"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"=>"ede25b126ade"}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- UNPROCESSABLE_ENTITY in Sandbox Environment
- Processor Declined for Braintree Sandbox transaction in Braintree Server-side Integration (PHP, Java, .NET, Ruby, Python, NodeJS SDKs)
- live api call does not work, sandbox call works fine in Sandbox Environment
- Case Number: 231005CPA00003 in PayPal Payments Standard
- How to configure payment instruments to be accepted during checkout in sandbox mode? in Sandbox Environment