Giter Site home page Giter Site logo

Comments (7)

plutov avatar plutov commented on July 24, 2024 5

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.

Fyb3roptik avatar Fyb3roptik commented on July 24, 2024

Any update on this?

from paypal.

plutov avatar plutov commented on July 24, 2024

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.

Fyb3roptik avatar Fyb3roptik commented on July 24, 2024

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.

Fyb3roptik avatar Fyb3roptik commented on July 24, 2024

Tag a V1 release, then move on to V2

from paypal.

Fyb3roptik avatar Fyb3roptik commented on July 24, 2024

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.

plutov avatar plutov commented on July 24, 2024

Update:
Tags v1.*.* contain PayPal V2 version
Tag v2.0.0 contains PayPal V2 version

from paypal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.