Is there an easy solution for taking payments online?

I’m creating a web application using PHP and MySQL. I’m looking for a simple solution to be able to accept online payments. If I was using a CMS like WordPress or Joomla I know for WordPress there’s WooCommerce, I could just use a Plugin, But I’m not. Again, if I were using Magento or Presta Shop or something but again I’m not, I’ve coded everything from scratch. What’s unique about my clients situation is that he will only be selling one product, so it’s not like a big E-commerce store with thousands or tens of thousands of products.
From what I’m learning I believe I’m going to need to use either PayPal or Stripe and I might have to create my own checkout and cart pages but I’m not really sure. Anyone know of a simple solution?
Ryan SacksGraphic and Web Designer / DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
Because of the nature and dangers of electronic transactions, roll your own is not a good idea.

PayPal is a very good alternative for small businesses and I suggest you give it a try. I use PayPal myself.

I cannot comment on Stripe as I do not use it.
Ryan SacksGraphic and Web Designer / DeveloperAuthor Commented:
Thanks John that’s what I was thinking.
JohnBusiness Consultant (Owner)Commented:
Yes PayPal should be a good choice
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

David FavorLinux/LXD/WordPress/Hosting SavantCommented:
My guess is what you're looking for is a layer on top of PayPal + Stripe + Friends, to do things like provide a shopping cart + up/down/cross sells + simple recurring subscriptions + possibly affiliate payouts.

Check out ThriveCart + see if this accomplishes all your objectives.
Lucas BishopMarketing TechnologistCommented:
As you've mentioned Paypal, I'd add a +1 that Paypal is almost an expected payment option for many people today. I know with smaller eCommerce companies, I prefer to pay via Paypal so there's no risk of my CC info being compromised through poor security on their side. Paypal also offers the ability for people to pay with credit card, so a buyer having a paypal account isn't a requirement, which is also good since not everyone has (or wants) a paypal account.

Another option that can work well is a standalone checkout system (not a full blown ecommerce catalog/shopping cart). With this you would build the entire shopping catalog/shopping cart (as it sounds like you've already done), then you just hand off the shopping cart data to the checkout system. The industry leader in this is generally considered to be:

Since your client only has 1 product for sale, you could probably just send a customer straight into the checkout after they've clicked the "add to cart" button on your site. That way you don't actually have to build a shopping cart on your side. The user-experience would look similar to the first screenshot you see in this help article:

I do hightly recommend using Opencart this is very easy to set and have all the major online payment interface plus other option like COD, prepaid ..
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.