IRemoteDCCService interface to check DCC eligibility, request the cardholder choice screen, and record transaction results.
Before you start
To complete this setup, you need the following:- Android 9 or later on the target device. The app has been tested on Android versions 9 through 14.
- The DCC Container App installed on the device. Contact Fexco to obtain the download.
- The
dccPublicApianddcc-aidllibrary files (.aarformat), provided by Fexco on request.
1
2
3
4
Initialize the SDK
In the same class, callinit() with the DHS base URL before calling
any other method. See Environments
for the correct URL for your environment.onSuccess is called when the SDK initializes correctly. If
onFailure is called, check that the DHS base URL is correct for
your environment and that the device has network connectivity.onSuccess is called, the DCC library is fully integrated
and initialized. Your payment application can now call
IRemoteDCCService methods to check DCC eligibility, request the
cardholder choice screen, and record transaction results. See
DCC service methods
for the full method reference.Next steps
With the library integrated, the following pages will help you build out the DCC transaction flow.- DCC service methods:
reference for all methods available through the
IRemoteDCCServiceinterface. - Environments: base URLs for all
DCC environments to pass to
init().
