Android Programming Press on the image to return to the main documentation page.

MPL

List of types:

MobilePayment

MobilePayment


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Permissions:

android.permission.INTERNET
android.permission.READ_PHONE_STATE
android.permission.READ_PHONE_STATE
android.permission.ACCESS_NETWORK_STATE
android.permission.WRITE_EXTERNAL_STORAGE
android.permission.ACCESS_WIFI_STATE
android.permission.VIBRATE
android.permission.GET_ACCOUNTS

Events:

None

Members:


  AppKey As String  [write only]

  Checkout

  Initialize (EventName As String)

  Sandbox As Boolean  [write only]

  transactionDetails (amount As Double, currency As String)

  UserEmail As String  [write only]

  UserExtra As String  [write only]

  UserFirstName As String  [write only]

  UserLastName As String  [write only]

  UserPhoneNumber As String  [write only]

  UserZipCode As String  [write only]

Members description:

AppKey As String  [write only]
Sets the app key of your application.
Checkout
Starts the check out. v:
Initialize (EventName As String)
Initializes the Mobile Payment Library. EventName - Events subs prefix.
ba:
EventName:
Sandbox As Boolean  [write only]
Supply environment mode (sandbox or production). If you are working in sandbox mode, give in true. otherwise false.
transactionDetails (amount As Double, currency As String)
Gives in the transaction details. amount: the money currency: "USD", etc
amount:
currency:
UserEmail As String  [write only]
Set user's email address - optional
UserExtra As String  [write only]
Set extra user details - optional
UserFirstName As String  [write only]
Set user's first name - optional
UserLastName As String  [write only]
Set user's last name - optional
UserPhoneNumber As String  [write only]
Set user's phone number - optional
UserZipCode As String  [write only]
Set user's zip code - optional
Top