Developer's Guide
28 July 2011 PayPal Mobile Payments Developer Guide and Reference – Android OS Edition
Enumerated Values in the Mobile Payments Library
The enumerated values supported by various methods in the library are:
PAYPAL_ENVIRONMENT
ENV_LIVE: Use the PayPal production servers
ENV_SANDBOX: Use the PayPal testing servers
ENV_NONE: Do not use any PayPal servers. Operate in demonstration mode, instead.
Demonstration mode lets you view various payment flows without requiring production or
test accounts on PayPal servers. Network calls within the library are simulated by using
demonstration data held within the library.
NOTE: ENV_LIVE does not support simulators.
PAYPAL_BUTTON_TYPE
BUTTON_152x33
BUTTON_194x37
BUTTON_278x43
BUTTON_294x45
NOTE: If the buttonTextType parameter is set to 'TEXT_DONATE,‟ the word “Pay” in the
above buttons is replaced by “Donate.” The language of the button will also change based
on the language you pass into the setLang method or the auto detected language on the
phone.
PayPalPaymentType
PAYMENT_TYPE_HARD_GOODS
PAYMENT_TYPE_SERVICE
PAYMENT_TYPE_PERSONAL
NOTE: For Personal payment types, the PayPal Checkout experience differs slightly from other
payment types. Additionally for Personal payment types, senders in some cases can