Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create If Condition for return : 400 Error Code. #1

Open
saputra1337 opened this issue Apr 27, 2018 · 2 comments
Open

Create If Condition for return : 400 Error Code. #1

saputra1337 opened this issue Apr 27, 2018 · 2 comments

Comments

@saputra1337
Copy link

Hallo Avinashn,

Greate Code, Thanks before.

I have some problem, I can't catch for 400 response,
Because PHP vendor handle that in this section 😀

@shoutershub
Copy link

Ilon a secound taught, i was wondering why catch a variety of exception, when in the litral sense its eitger the payment goes through or it doesnt, why not just catch all exception with try catch block, and return them back to where thry came from, and if it goes through take them to the success page...

Just my taught thou..

@miliwebdeveloper27
Copy link

Hello Avinash,

I implemented the code and Paypal SDK code as well but I am still getting fatal error Class 'PayPal\Rest\ApiContext' not found dont know what I did wrong. please help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants