Pre&Post Auth
Performing a pre/post auth follows the same structure at the SDK level with the payment transaction. However, there are some additional preparation steps at the Integrating application level as described in the next paragraph.
Pre Auth
If currency parameter is set null, the default currency is used for transaction. The default currecny is Naira in SDK.
Parameters:
Amount:
Description: Denotes the transaction's value as specified by the user.
Constraints:
Should be a whole number, with its length capped at 12 digits.
Exclude any separators or currency symbols.
Examples:
A payment amount of $100 should be conveyed as 10000, where the trailing two digits represent cents.
Conversely, $1.01 is represented as 101.
Description
Description: Provides contextual information detailing the purpose or reason behind the payment. It could relate to the product/service name, a brief summary, or any relevant description the merchant deems necessary.
Currency Code
Description: The currecy value of the transaction. It has be numeric code of ISO 4217 format.
Examples:
566 for Naira instead of NGN
Activity
Description: The current activity. Payment page is started as a new activity. In order to start payment activity Embed SDK needs the current acitivity of the app.
RFU Map
Description: RFUMap (Reserved for future use) object is used to transfer key value pairs between backend system and merchant application
TransactionResultListener:
Description: This interface is vital as it captures and manages transaction outcomes, be it success or failure scenarios.
Please check details for TransactionResultListener on Sale section.
The merchant to request the receipt which is generated at payment step from the customer. After getting the details from the customer, merchant searches for the transaction using transaction code. If the transaction is found, the post auth is triggered according to the customer’s request. doPostAuth method is called from the SDK.
Transaction Inquiry for PreAuth
This function is used to search the specific pre auth transaction in the system
Inquiry Listener
Inquiry Result
Post Auth
If currency parameter is set null, the default currency is used for transaction. The default currecny is Naira in SDK.
Parameters:
Amount:
Description: Denotes the transaction's value as specified by the user.
Constraints:
Should be a whole number, with its length capped at 12 digits.
Exclude any separators or currency symbols.
Examples:
A payment amount of $100 should be conveyed as 10000, where the trailing two digits represent cents.
Conversely, $1.01 is represented as 101.
Transaction Code:
Description: Transaction code value confirmed according to preAuthInqury response.
Description
Description: Provides contextual information detailing the purpose or reason behind the payment. It could relate to the product/service name, a brief summary, or any relevant description the merchant deems necessary.
Currency Code
Description: The currecy value of the transaction. It has be numeric code of ISO 4217 format.
Examples:
566 for Naira instead of NGN
Activity
Description: The current activity. Payment page is started as a new activity. In order to start payment activity Embed SDK needs the current acitivity of the app.
RFU Map
Description: RFUMap (Reserved for future use) object is used to transfer key value pairs between backend system and merchant application
TransactionResultListener:
Description: This interface is vital as it captures and manages transaction outcomes, be it success or failure scenarios.
Please check details for TransactionResultListener on Sale section.
Last updated