I have to develop a "modest" website with support for bank card payment and payment from paypal (for buying event tickets from the website), but I've no idea about e-commerce developing, and I would like to know if there's, in the jungle of Internet, any website with any free software license, with support for such types of payment (or at least, for one of them), for exploring the source code and seen how it works.

Prefered language: PHP. Another possible alternative: Ruby.

Its behaviour is not complicated: the user selects an event he want go; then he selects the method of payment (paypal or using a credit/debit card), introduces the data (card number, security code --if any--, e-mail, and so on), the system connects to the bank or with the responsible entity for making the payment, and that's all.

There's thousand of websites with such behaviour (hotels, transport companies, etc), but I'm asking for a site with public source code.

3 Answers 3


You can use PrestaShop:

  • free and open source
  • mostly written in PHP
  • support for bank card payment and payment from paypal
  • tons of other e-commerce features

Here's a link to most commom of them:


OpenCart & PrestaShop are one of the easiest to set-up. Magento has the biggest community. And Well, these are called Content Management Systems (CMS).



  1. OpenCart
  2. Prestashop
  3. Magento
  4. WooCommerce


  1. Spree
  2. Ror_ecommerce
  3. Shoppe

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.