-
Notifications
You must be signed in to change notification settings - Fork 102
getApprovalLink is using getLink which is a foreach #766
Comments
Hey @filtration ! I think the issue is that I am trying to iterate (foreach) a null object. If |
will u pls tell me how to resolve this issues? By deafult which url should be there? please reply me asap |
Hello,
} catch (PPConnectionException $e){ $allLinks = $payment->getLinks(); if(isset($allLinks) && is_array($allLinks)){
} if i check object is null , then its fine but it goes into catch section... not coming into try part |
You should be able to call |
Required Information
Issue Description
In the src folder: api/payment.php line: 402 you are using the following:
In the common/paypalresource.php the method for that call is:
Which causes an error because it's trying to loop through a constant. The error for this is:
Full stack of the error if that's any help:
The text was updated successfully, but these errors were encountered: