This repository has been archived by the owner on Sep 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 89
where is the class PPModel? #66
Comments
Its in SDK-Core, \paypal\paypal\sdk-core-php\lib\PayPal\Common |
Or https://github.com/paypal/sdk-core-php/blob/namespace-5.3/lib/PayPal/Common/PPModel.php for the newer version. |
i think all package must include core sdk, same like this error |
The problem is related to the order the lib files are being Included... "; include_once($filename); } foreach (glob(dirname(**FILE**)."/Auth/*.php") as $filename) { echo **FILE**; echo $filename; echo " "; include_once($filename); } foreach (glob(dirname(**FILE**)."/Handler/*.php") as $filename) { echo **FILE**; echo $filename; echo " "; include_once($filename); } foreach (glob(dirname(**FILE**)."/Rest/*.php") as $filename) { echo **FILE**; echo $filename; echo " "; include_once($filename); } foreach (glob(dirname(**FILE**)."/Transport/_.php") as $filename) { echo **FILE**; echo $filename; echo " "; include_once($filename); } foreach (glob(dirname(**FILE**)."/Exception/_.php") as $filename) { echo **FILE**; echo $filename; echo " "; include_once($filename); } include_once(dirname(**FILE**)."/Api/Payment.php"); foreach (glob(dirname(**FILE**)."/Api/*.php") as $filename) { echo **FILE**; echo $filename; echo " "; include_once($filename); } exit; ?> |
The latest release has merged the sdk-core dependency, and wont require core-sdk, which would resolve these issues. |
@towser451 maybe search if your IDE has jump to declaration feature. than you can easilly locate the file after howering/clicking/some shortcut above the class Name extends PPModel part in your code. |
not include sdk-core when i used it. maybe now it's works, who know |
Closed
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I still can't find it.
The text was updated successfully, but these errors were encountered: