-
Notifications
You must be signed in to change notification settings - Fork 3
RECURRING_SALE
Basil Miller edited this page Dec 10, 2020
·
5 revisions
This page describes the Akurateco Android SDK RECURRING_SALE Adapter.
Recurring payments are commonly used to create new transactions based on already stored cardholder information from previous operations.
RECURRING_SALE request has same logic as SALE request, the only difference is that you need to provide primary transaction id, and this request will create a secondary transaction with previously used cardholder data from primary transaction.
- 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:
- 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.