-
Notifications
You must be signed in to change notification settings - Fork 3
SALE
This page describes the Akurateco Android SDK SALE Adapter.
Payment Platform supports two main operation type: Single Message System (SMS) and Dual Message System (DMS).
- SMS is represented by SALE transaction. It is used for authorization and capture at a time. This operation is commonly used for immediate payments.
- DMS is represented by AUTH and CAPTURE transactions. AUTH is used for authorization only, without capture. This operation used to hold the funds on card account (for example to check card validity).
SALE request is used to make both SALE and AUTH transactions.
If you want to make AUTH transaction, you need to use parameter auth with value Y.
If you want to send a payment for the specific sub-account (channel), you need to use channel_id, that specified in your Payment Platform account settings.
- The SALE Adapter operation method:
/**
* @param termUrl3ds URL to which Customer should be returned after 3D-Secure. String up to 1024 characters.
* @param auth indicates that transaction must be only authenticated, but not captured (AUTH or SALE).
* @param callback the [AkuratecoSaleCallback].
*/
fun execute(
@NonNull
order: AkuratecoSaleOrder,
@NonNull
card: AkuratecoCard,
@NonNull
payer: AkuratecoPayer,
@NonNull
termUrl3ds: String,
@Nullable
options: AkuratecoSaleOptions? = null,
@NonNull
auth: Boolean,
@NonNull
callback: AkuratecoSaleCallback
)
If your account supports 3D-Secure, transaction result will be sent to your Notification URL.
- The
AkuratecoSaleCallback
results:
Result | Description |
---|---|
AkuratecoSaleResult.Success |
success result. |
AkuratecoSaleResult.Decline |
result with the decline reason. |
AkuratecoSaleResult.Recurring |
result with the recurring parameters. |
AkuratecoSaleResult.Secure3D |
result with the redirect parameters. |
Website: https://akurateco.com
Phone: +31-638-7642-70
Email: [email protected]
Address: Akurateco BV, Kingsfordweg 151, 1043 GR Amsterdam, The Netherlands
© 2014 - 2020 Akurateco. All rights reserved.