Open taporag opened 6 years ago
I am also getting this problem. how can i catch this exception. exception handler is not able to catch the exception. please help me.
To catch any type of exceptions you can just use Exception instead of \PPConnectionException
thanks its working.......
Please help me to solve this problem. Am i missing something? The bellow codes working something but now it's not working............... What type of issue it is?
Error Expection PayPal \ Exception \ PayPalConnectionException (500) Got Http response code 500 when accessing https://api.sandbox.paypal.com/v1/payments/payment.
![paypal500](https://user-images.githubusercontent.com/32647267/39098506-ad8f2986-468d-11e8-8a8e-0832b403a9c4.png)
Here is the codes ` public function paywithCreditCard() { // ### Address // Base Address object used as shipping or billing // address in a payment. [Optional] $shippingAddress = Paypalpayment::shippingAddress(); $shippingAddress->setLine1("3909 Witmer Road") ->setLine2("Niagara Falls") ->setCity("Niagara Falls") ->setState("NY") ->setPostalCode("14305") ->setCountryCode("US") ->setPhone("716-298-1822") ->setRecipientName("Jhone");
`