Comments (7)
Yes, I am planning to create V2 support in the same repo and user can select which version to use. I will use this ticket to show the progress.
Docs - https://developer.paypal.com/docs/api/payments/v2/
from paypal.
Any update on this?
from paypal.
I am still not sure how to support both versions in same project, PayPal v2 is incompatible with v1, so all structs, endpoints have to be changed, some have to be removed and new have to be added.
I am planning to have 2 separate folders inside the project: v1 and v2 and change the imports to github.com/logpacker/PayPal-Go-SDK/v1
.
from paypal.
V1 is deprecated, just please do V2 and do not support multiple versions. If someone wants V1, they can use an older version of this library
from paypal.
Tag a V1 release, then move on to V2
from paypal.
Just saw it is end of life on Sunday. No need to ever support V1 anymore then, since they wont even support it.
from paypal.
Update:
Tags v1.*.* contain PayPal V2 version
Tag v2.0.0 contains PayPal V2 version
from paypal.
Related Issues (20)
- Suggestion: Mark all functions that represent deprecated paypal api resources as deprecated in godoc comment. HOT 2
- Get Order - Incomplete response object HOT 5
- Bug in ReauthorizeAuthorization HOT 1
- Make the mutex private in the structure HOT 2
- Suggestion: Error checking for malformed httpReq.Body on VerifyWebhookSignature HOT 1
- add landing page to v2/checkout/orders HOT 1
- Missed typing !
- POST https://api.sandbox.paypal.com/v2/checkout/orders: 401 Authentication failed due to invalid authentication credentials or a missing Authorization header. HOT 6
- How can i verify payment? HOT 3
- Removing deprecations HOT 1
- CHECKOUT.ORDER.COMPLETED response does not satisfty AnyEvent type HOT 2
- SendWithAuth requires GetAccessToken call explicitly HOT 2
- No dispute?
- Create Order error: paypal.Item.Tax is a String, API expects Object HOT 3
- Subscriber struct contains outdated fields HOT 1
- Create order body schema now uses payment_source HOT 4
- Paypal HOT 1
- Add Functionality to Create Estimates HOT 1
- Subscriber struct error HOT 2
- Specific Payment Method HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paypal.