DEV Community


I'm getting into making ecommerce apps. I need help and advice on Payment forms!!

π‹π„π‘½πˆπ‘¨π“π‡π€π Programming
I am a fifteen-year-old christian Homeschooler that is crazy about coding. I've been coding for about four years now. I also use HTML, CSS, JS, Flask (Python), PHP, SQL, React, P5js, and more!
・1 min read

I have just started freelancing and before accepting any payments, I'm going to make ten free websites for people.

Someone wants me to make a basic ecommerce site for them where payments take place online.
I need some advice on this.

  1. How do you embed a checkout form in your site?
    I've looked all over the place and I couldn't really find a way. I personally don't have a credit card/bank account since I'm only fifteen.

  2. How do I transfer the payment to the owner of the website?
    The setup of a Paypal account seems super complicated. What if someone is not familliar with technology? How will I link the checkout form to their bank account?

Any advice on the subject will be appreciated. I need help fast and urgently. Thanks!

Discussion (4)

line profile image
Chaitanya Prabuddha

Go for stripe or make a neobank, it will just take want you to submit your SSN, which you can take from any of your parents. Most of the neobanks provide payment gateway. I personally use Chime bank and Open Bank. Enjoy!

ivankahl profile image
Ivan Kahl • Edited

If you need to make a basic ecommerce site, then it might be viable to look at an existing ecommerce platform such as Woocommerce on Wordpress. For a basic store it is free to set up and you can do it really quickly. You can also do stock management, integrate with third-party payment providers such as Stripe easily and the client can manage their store without you needing to add the products manually. From experience, this is definitely the easier option for a simple store that doesn't need anything fancy.

However, to answer your question about online payments: when it comes to online payment forms in your own application, it's generally best to let a third-party payment provider facilitate the payment such as Stripe, PayPal (or PayFast here in South Africa). They take care of all the security around storing card details and making the actual transaction and only take a small percentage of the total payment as commission for facilitating the process. They not only make it less work for you to integrate payments into your application, but they are also compliant with various regulations on how financial information should be stored (e.g. credit card details) and so it'll save you that trouble as well. Plus, the user will be more familiar with Stripe/PayPal interfaces so you probably won't need to add any additional instructions for the payment.

khulani1000 profile image
Khulani Mkhize

Great answer. Third party would be the best option.

ricardolmsilva profile image

Hey, I don’t have a big experience with payments but check what Stripe can do for you!