I want to use PayPal in android application, but because I think chained payments are too complex for PayPal android API I think better solution is to implement paypal in the web application and open that webpage in android webview. I'm using java as backend.
here is the scenario:
From android application user can buy some product. User complete the form and pay. The buyer is charged immediately, but seller doens't receive money until the buyer confirm that he receive the product. In the android application the seller receive notification that someone buy his product and send to the buyer. When buyer receive the product, he should confirm and call a web service from the backend and 95% of the money are released to the seller and 5% stay in my account.
I'm little confused how everything in paypal works. Can someone explain me the best solution for this scenario? I cannot find good examples of java chained delayed payment.
Thanks