-
Notifications
You must be signed in to change notification settings - Fork 454
500 Error Response #1
Comments
@chrismatthieu , just ran all the test cases they seem fine. Can you try your testing with test card number 4417119669820331 instead of the test card number 4111111111111111. I have seen 500 error sometimes for that particular card number and we have reported the error to API team. |
Added authorization and capture services
@bschupbach if you still have issues please try with this test credit-card 4417119669820331 |
I was having this problem earlier. It turns out Paypal gives the 500 error when it encounters commonly used test credit card numbers. Basically, when it returns 500, what it means is that the card is declined. I know for a fact that 4111111111111111 does this. Try using a real credit card number. If you're in sandbox mode it's irrelevant anyway so don't worry about charging. |
General Information Mode (Live): I am using REST API for creating payment using credit card and payouts.But it was working fine with sandbox credentials but for Live credentials it was giving errors like this : { Please help me in resolving this issue. |
@uditkumawat, please open new issues for your questions to get a quicker response. Thanks! |
I'm receiving the following error response when calling the credit card payment API:
{ [Error: Response Status : 500]
response:
{ name: 'INTERNAL_SERVICE_ERROR',
message: 'An internal service error has occurred',
information_link: 'https://developer.paypal.com/docs/api/#INTERNAL_SERVICE_ERROR',
debug_id: 'e69d5d0abab0a',
httpStatusCode: 500 },
httpStatusCode: 500 }
Here's my JSON request:
"intent":"sale","payer":{"payment_method":"credit_card","funding_instruments":[{"credit_card":{"type":"visa","number":"4111111111111111","expire_month":"01","expire_year":"2014","cvv2":"111"}}]},"transactions":[{"amount":{"total":"1","currency":"USD"},"description":"Credits added to account."}]}
I'm not sure how to debug it...
Thanks,
Chris
The text was updated successfully, but these errors were encountered: