Learn how to receive bank transfer payments from your customers
v1.6.2
Description | |
---|---|
PAY_BY_TRANSFER_INTENT | Defines the action string for the intent, indicating the type of action to be performed. |
AMOUNT_DATA | Represents the key for passing the amount to be charged during the payment process. |
TXN_RESULT | Represents the key for extracting transaction result data from the intent. |
Description | |
---|---|
resultString | A mutable state variable initialized as an empty string, which is intended to store the transaction result received from the launched intent. |
Description | |
---|---|
val intent = Intent(PAY_BY_TRANSFER_INTENT) | Creates an instance of Intent with the specified action PAY_BY_TRANSFER_INTENT . |
intent.putExtra(AMOUNT_DATA, "300") | Adds extra data to the intent, including the amount to be charged AMOUNT_DATA . |
Description | |
---|---|
payByTransferLauncher.launch(intent) | Initiates the intent, triggering the Android system to display the payment options to the user. |
resultString
variable.