DropInService
Extend this service to interact with Drop-in and make the required network calls to the Adyen Checkout APIs through your backend.
Make sure you add your implementation of this service in your manifest file.
You need to implement the onSubmit and onAdditionalDetails with this service. The rest of the methods are optional.
Functions
Gets the additional data that was set when starting Drop-in using DropInConfiguration.Builder.setAdditionalDataForDropInService or null if nothing was set.
In this method you should make a network call to the /payments/details endpoint of the Checkout API through your server.
Set a callback that will be called when shopper chooses an address option that requires complete details to be provided.
Set a callback that will be called when shopper inputs a query to perform address lookup.
Only applicable for partial payments flow.
Set a callback that will be called when a bin lookup is performed.
Set a callback that will be called when the bin value changes.
Only applicable for partial payments flow.
Only applicable for partial payments flow.
Set a callback that will be called when a redirect is made.
Only applicable to removing stored payment methods. Use DropInConfiguration.Builder.setEnableRemovingStoredPaymentMethods to enable this feature.
In this method you should make a network call to the /payments endpoint of the Checkout API through your server.
Allows sending the result of Address Lookup operations.
Allows sending the result of the /paymentMethods/balance network call.
Allows sending the result of the /orders network call.
Allows sending the result of the DELETE /storedPaymentMethods network call.
Allows sending the result of the /payments and /payments/details network calls.