Open Alofoxx opened 5 years ago
Note the paypal documentation is confusing - the key thing is to add a new composer entry - composer require paypal/paypal-checkout-sdk 1.0.0
Then their functions become available with use https://developer.paypal.com/docs/checkout/reference/server-integration/setup-sdk/#set-up-the-environment
As an aside I've just switched some code to use 'SmartButtons' which replaced checkout.js - I managed to do it with only my existing checkout.js hacks except in the function RestAuthorizeRequest::getTransactionReference - where the expected token format has changed and I just kinda threw my hands up & hacked my branch
Comments here
We did a partial implementation of v2 here: https://github.com/codinglabsau/omnipay-paypal
It supports the completePurchase
method only, but may be enough for someone to pick and fill in the missing pieces.
Billing Plans are deprecated, new billing Plans/Subscriptions should be used instead. Is there a plan for implementing it?
PayPal_Rest - PayPal developer docs say "Deprecation notice: The /v1/payments endpoint is deprecated. Use the /v2/payments endpoint instead." Payments API Docs
Are there any plans to upgrade the rest calls to /v2/? Is it necessary? Is anyone other than myself interested in upgrading PayPal_Rest gateway? I'm thinking about working on it.