Skip to content

mrPauwHaan/payments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

212d003 · Feb 10, 2024
Oct 18, 2023
Feb 10, 2024
Sep 20, 2022
Sep 25, 2023
Sep 13, 2023
Jul 29, 2022
Aug 1, 2022
Jul 26, 2022
Feb 6, 2024

Repository files navigation

Payments

A payments app for frappe.

Installation

  1. Install bench & frappe.

  2. Once setup is complete, add the payments app to your bench by running

    $ bench get-app payments
    
  3. Install the payments app on the required site by running

    $ bench --site <sitename> install-app payments
    

App Structure & Details

App has 2 modules - Payments and Payment Gateways.

Payment Module contains the Payment Gateway DocType which creates links for the payment gateways and Payment Gateways Module contain all the Payment Gateway (Razorpay, Stripe, Braintree, Paypal, PayTM) DocTypes.

App adds custom fields to Web Form for facilitating payments upon installation and removes them upon uninstallation.

All general utils are stored in utils directory. The utils are written in utils.py and then imported into the __init__.py file for easier importing/namespacing.

overrides directory has all the overrides for overriding standard frappe code. Currently it overrides WebForm DocType controller as well as a WebForm whitelisted method.

templates directory has all the payment gateways' custom checkout pages.

License

MIT (license.txt)

About

A payments app for frappe

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 83.1%
  • JavaScript 8.9%
  • HTML 5.6%
  • CSS 2.4%