-
Notifications
You must be signed in to change notification settings - Fork 0
Architecture
Stash! Android SDK is made of the following components:
Currently, Stash! SDK provides the ability to exchange credit card data, SEPA data, or PayPal account for an alias that can be used by the merchant backend to trigger payments. This is exposed through RegistrationManager
class, and CreditCardData
, SepaData
, and BillingData
models.
Data collection UI components are ready to use, PSP-aware components, that require only the appropriate date from the user to use a specific payment method. By using UI components, developers completely remove code coupling to the different PSPs and receive a ready-to-use payment alias from the UI component. Each Integration
supplies its own set of Data collection UI components.
The core component of the Stash! SDK contains logic that is responsible for communicating with Stash! SDK backend to request alias creation, update alias and provide PSP specific data that is then handed over to PSP Module
PSP Modules contain the logic to communicate with a specific PSP, and also provide UI components that collect necessary data from the user. PSP Modules (Integrations) also facilitate the last step of communication flow which is delivering the PSP Alias to the backend.