Payment Integrations
Paypal / Venmo
The Lucra Android SDK offers PayPal and Venmo as a payment option. This is automatically included with newer versions, and if you're configured to use PayPal with the Lucra SDK. We leverage Braintree SDK for Android version 5.8.0 to process Paypal/Venmo transacations. For full details on this SDK, you can read them from the Braintree docs.
By default, both Venmo and PayPal will appear as an option for both deposits and withdrawals. If it does not, make sure your app tenant is configured to allow Paypal/Venmo processing.
Proguard
We made it as simple as possible for you to enable processing payments/withdrawals through Paypal and Venmo in your app. You do not need to worry about managing keys or tokens. ProGuard configuration is also already provided as part of our SDK, so there is no need to add any specific rules to your ProGuard configuration.
Paypal
Deposit
When the user chooses PayPal as a deposit method, this will prompt the Lucra SDK to open a secure in-app WebView to PayPal for the requested transaction.
Withdrawal
When the user chooses to withdrawal using PayPal, this will be handled within the application as opening PayPal is not required for this step. However, they must have previously made a deposit using PayPal before being allowed to use PayPal as a withdrawal option.
Keep in mind: A user cannot withdrawal to their PayPal/Venmo account without first having made a deposit from it.
Venmo
The user must have the Venmo app installed on their phone for Venmo payment to work.
Deposit
When the user chooses Venmo as a deposit method, this will prompt the Lucra SDK to open Venmo for the requested transaction, this experience will bring the user outside of the application to finalize the request. Once completed, they will be prompted to return to the deposit screen to finish the transaction.
Withdrawal
When the user chooses to withdrawal using Venmo, this will be handled within the application as opening the Venmo app is not required for this step. However, they must have previously made a deposit using Venmo before being allowed to use Venmo as a withdrawal option.
Keep in mind: A user cannot withdrawal to their PayPal/Venmo account without first having made a deposit from it.
Usage
Launch LucraFlow.AddFunds to access depositing funds via Paypal/Venmo and LucraFlow.WithdrawFunds to access withdraw funds via Paypal/Venmo. Identity verification will launch if the user hasn't verified their identity yet.
Last updated
