Press on the image to return to the main documentation page.
PayPalWrapper
List of types:
PayPal
PayPal
This is an 'Activity Object', it cannot be declared under Sub Process_Globals.
Permissions:
android.permission.INTERNET
android.permission.READ_PHONE_STATE
android.permission.ACCESS_WIFI_STATE
Events:
Ready (Success As Boolean)
Result (Success As Boolean, Extra As String)
Click
Members:
GetPayPalButton
(
Donate
As
Boolean
)
As
android
.
view
.
View
Initialize
(
AppId
As
String
,
Sandbox
As
Boolean
,
EventName
As
String
)
PAYMENT_TYPE_GOODS
As
Int
PAYMENT_TYPE_NONE
As
Int
PAYMENT_TYPE_PERSONAL
As
Int
PAYMENT_TYPE_SERVICE
As
Int
RequestPayment
(
Currency
As
String
,
Total
As
String
,
Recipient
As
String
,
MerchantName
As
String
,
PaymentType
As
Int
)
Members description:
GetPayPalButton
(
Donate
As
Boolean
)
As
android
.
view
.
View
Gets the PayPal button.
Donate - Whether to show a Donate button or Pay button.
Initialize
(
AppId
As
String
,
Sandbox
As
Boolean
,
EventName
As
String
)
Initializes the PayPal object. The Ready event will be raised when the service is ready.
AppId - PayPal app id.
Sandbox - Whether to run in sandbox mode.
EventName - Sets the subs that will handle the events.
PAYMENT_TYPE_GOODS
As
Int
PAYMENT_TYPE_NONE
As
Int
PAYMENT_TYPE_PERSONAL
As
Int
PAYMENT_TYPE_SERVICE
As
Int
RequestPayment
(
Currency
As
String
,
Total
As
String
,
Recipient
As
String
,
MerchantName
As
String
,
PaymentType
As
Int
)
Makes a payment request.
The Result event will be raised after the payment is processed.
Currency - 3 characters currency code.
Total - Payment amount.
Recipient - Recipient email address.
MerchantName - Merchant name.
PaymentType - One of the PAYMENT_TYPE constants.
Top