Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

Using newer API Version ? #116

Closed
gswebspace opened this issue Aug 8, 2016 · 5 comments
Closed

Using newer API Version ? #116

gswebspace opened this issue Aug 8, 2016 · 5 comments

Comments

@gswebspace
Copy link

Hi,

Going through the code at /lib/PayPal/Service/PayPalAPIInterfaceServiceService.php I see that the SDK uses the $SERVICE_VERSION as "106.0" but reviewing the API Version History I see that Version 106 was released back in 2013. With the latest being Version 204 released in March 2016.

Q1 - Is it still recommended to use that version(106) for a fresh integration (for a simple Express Checkout) ?

Q2 - How can I change this version ? (Should I just hard-code it or is there any method/config
available for it ?)

Let me know, Thanks !

@rayfly
Copy link

rayfly commented Aug 10, 2016

I also have this problem.
Could I use version 104.0 ?
What is the different ?
Would it make error because I see the version is 204 now ?
Thank you ~

@randstraw
Copy link

@gswebspace for a fresh integration you should look at https://github.com/paypal/PayPal-PHP-SDK, and use PayPal as the payment method, which is the same as doing an Express Checkout with this SDK.

@randstraw
Copy link

randstraw commented Aug 10, 2016

@rayfly you can use 104.0. PayPal tries to introduce changes with new API versions and not break existing API versions, so 204 has some newer fields and or methods not available on 104.

@randstraw
Copy link

After discussing with the development team, using 204 with the SDK should not cause an issue though.

@randstraw
Copy link

@gswebspace you would have to change it in the code.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants