I am creating a site in PHP in which I take Credit card info from user and now I want to process that.also some recurring payment
.
My use case is that I will deduct some money say $100
from user account and escrow them and on confirmation transfer 10%
to another account and and remaining 90%
to another account.
I know about paypal and different payment gateways but I want to make sure what I am doing is right or not.
My understanding is
for Escrow
I will deduct money from users account and transfer that to my (admin) account and on confirmation I will transfer the other amounts to respective accounts.
Not sure this is the best way or not . Also I see paypal allows you recurring payment, but what about if I only have users credit card info. how can I do that?
I see similar question for escrow but not helpful
Also important to know how my site database will be helpful, will I rely on my db for recurring payments and escrow or some third party?
For escrow I would recommend using Balanced.
They have a built-in support for Escrow and PHP libraries + tutorials.
It's supposed to be quite easy to set up.