I won't tell you specific things regarding the codding part, as it depends on the architecture of your website. But the thing that needs to be covered is financial services. You're going to need an online store merchant account . It will solve all the problems getting it is quite a simple thing, here's a guide on it for for online store