-
Notifications
You must be signed in to change notification settings - Fork 112
Backward Compatibility
Ariel Rey edited this page Jan 20, 2017
·
1 revision
If you're implementing the old SDK, you don't need to do anything at first. Just update the NPM Package and you will received all of the previous methods:
- sandboxMode
- getAccessToken
- get
- post
- put
- delete
- createPreference
- updatePreference
- getPreference
- createPreapprovalPayment
- updatePreapprovalPayment
- getPreapprovalPayment
- searchPayment
- getPayment
- getPaymentInfo
- getAuthorizedPayment
- refundPayment
- cancelPayment
- cancelPreapprovalPayment
When you use them, you are going to receive a warning on the console that this methods are deprecated. They are going to be remove from the SDK in future versions.
Remember, they are deprecated, we are just keeping them so your application doesnt break. You must update you code for future updates.