paypal-payment-gateway-integration-laravel icon indicating copy to clipboard operation
paypal-payment-gateway-integration-laravel copied to clipboard

Create If Condition for return : 400 Error Code.

Open saputra1337 opened this issue 7 years ago • 2 comments
trafficstars

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 😀

saputra1337 avatar Apr 27 '18 02:04 saputra1337

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..

shoutershub avatar Sep 06 '18 07:09 shoutershub

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.

miliwebdeveloper27 avatar Apr 26 '19 04:04 miliwebdeveloper27