I am using PHP (WordPress) development language and would like to be able to integrate Paypal myself. when I searched for Paypal SDK, I found that the old SDK is not recommended anymore. So I am using the new version of the SDK, but in the new version I only found checkout and payout related SDKs, there is no corresponding SDK for other API interfaces.
Even for the payout SDK, I want to receive PAYOUT-ITEM-SUCCEEDED webhooks events, and I need to verify the message signature. There is no function for this in the payout SDK either. Therefore, my question is as follows. 1. If I want to handle webhook events, do I have to use the old SDK? 2. Can the old SDK be used with the new one? 3.Can anyone tell me why there are so many duplicate classes in the checkout SDK and Payout SDK in the new version of the SDK? 4.What exactly is the best practice to use the new SDK?
... View more