SessionDropInService
Extend this service if you want to take over the sessions flow in Drop-in and make the required network calls to the Adyen Checkout APIs through your backend. Note that once you take over the sessions flow you have to handle the rest of the network calls yourself.
Make sure you define add your subclass of this SessionDropInService in your manifest file.
Properties
Indicates whether you already took over the sessions flow in a previous action. This field could be useful if you are only taking over the flow in certain conditions and you want to know in a subsequent call whether you did take over the flow earlier or not.
Functions
Gets the additional data that was set when starting Drop-in using DropInConfiguration.Builder.setAdditionalDataForDropInService or null if nothing was set.
Override this method if you want to take over the sessions flow and 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.
Override this method if you want to take over the sessions flow and 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.