TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Pankaj Kumar
NA
112
10.3k
How to solve PayPalException error: (400) Bad Request.
Jun 21 2018 12:56 AM
I am currently testing credit card payments using the PayPal payments Rest API.
I keep getting the following error:
PayPalException Execute: The remote server returned an error: (400) Bad Request.
My Card details
//Address for the payment
Address billingAddress =
new
Address();
billingAddress.city =
"Johnstown"
;
billingAddress.country_code =
"US"
;
billingAddress.line1 =
"52 N Main ST"
;
billingAddress.postal_code =
"43210"
;
billingAddress.state =
"OH"
;
//Now Create an object of credit card and add above details to it
CreditCard crdtCard =
new
CreditCard();
crdtCard.billing_address = billingAddress;
crdtCard.cvv2 =
"819"
;
crdtCard.expire_month = 10;
crdtCard.expire_year = 2019;
crdtCard.first_name =
"pankaj"
;
crdtCard.last_name =
"Kumar"
;
crdtCard.number =
"4885699625443750"
;
crdtCard.type =
"visa"
;
Reply
Answers (
3
)
Application to check typing speed and accuracy
How To Bulk Insert dynamic created text box value into db