cancel
Showing results for 
Search instead for 
Did you mean: 

I got 400 bad Request

Options
Bhannu
Contributor
Posted on

Hi guys

When i am using payment gateway then in response i got 400 Bad Request error when ExecutePayment function call. This error come when we are on "http://localhost:55280/Home/PaymentWithPayPal?guid=38748&paymentId=PAY-4D928754RT4387745LMREZDI&token=EC-4B826335NW4165639&PayerID=EA8XR4U765PK2" and Please tell me if there is any mistake from my side in code. and please provide me technical support.

3 REPLIES 3

I got 400 bad Request

Options
MTS_Justin
Moderator
Hello,

A "400" bad request means that your attempting to pass some detail within your request which is not supported. You need to check the variables and values your passing, simplify the request as much as possible, starting with the most basic of payment requests and then build-up your request one change at a time, so if you run into the same error again, you'll know which part of the request is causing the issue.

A good example of troubleshooting - https://stackoverflow.com/questions/22393281/how-to-reslolve-400-bad-request-error-using-the-paypal-...

Was my post helpful? If so, please give me a kudos!

I got 400 bad Request

Options
cina516
Contributor

What happened to me was that I could log onto my account, see overview page, when I went to see my Paypal credit account to make a payment it gave me this 400 bad request error

It must have been something with the cache in my browser.  

What I did was go to an incognito page and then logged in and I was able to get into my account and make the payment.

I got 400 bad Request

Options
DonSimon76
New Community Member

I've been having this same problem for a while now. I'm going to try your workaround. Typically, I've just been going onto my phone app to make my payments. It is really annoying for it not to be working.

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.