This repository has been archived by the owner on May 5, 2020. It is now read-only.
2.0.0: new version of the SDK
- Users can now authorize future payments with PayPal.
- Reorganize API, for both single-payment and future-payment use cases:
- Use the
PayPalMobile
class to initialize the SDK with Client IDs for Production and Sandbox. - Use a
PayPalConfiguration
object for common configuration across both single-payment and future-payment use cases. - Allow an optional
PayPalPaymentDetails
object to specify Shipping, Subtotal, and Tax amounts. - Allow an optional Build Notation code ("BN code") for each payment.
- Add a
PayPalPaymentViewController
parameter to the methods ofPayPalPaymentDelegate
. - Introduce
PayPalFuturePaymentViewController
and associatedPayPalFuturePaymentDelegate
.
- Use the
- Single payments now include an
intent
property, to distinguish between:- immediate payment processing
- payment authorization only, with subsequent capture by your server.
- For API errors, the console log will now provide additional information, including a PayPal Debug-ID for MTS investigations.
- The SDK now uses PayPal's new REST APIs exclusively.