I am working on a Ride Sharing app and I am choosing Stripe as the payment procedure. What happens in the application that the rider can overturn the driver. To do this, I used this approach, which Rider will pay in the App Stripe account, and then the application will save its percentage, and then transfer the remaining amount to the driver account.
So far, everything is going well. App successfully charged the rider, but a little confused transferring the amount to the driver's account. I looked at the documentation on the strip saying that I need an account with CONNECTED_STRIPE_ACCOUNT_ID drivers, which I cannot find and cannot understand what it is. What is a strip account? How can I add a user to the bandwidth connection from android to my platform?
This is the code snippet provided by stripe
Stripe.apiKey = PLATFORM_SECRET_KEY; Map<String, Object> transferParams = new HashMap<String, Object>(); transferParams.put("amount", 1000); transferParams.put("currency", "gbp"); transferParams.put("destination", {CONNECTED_STRIPE_ACCOUNT_ID}); Transfer.create(transferParams);
It would be nice if someone explained this to me. Thanks to Ps, I don't want to use webview in my application anyway. I am not allowed to use it.
source share