Go to file
Raizaaa 3cebd9425e
Merge pull request #201 from raizasafeel/fix/mobile-ui-stripe
fix(stripe): improve mobile card input and error style
2026-03-13 15:49:07 +05:30
.github ci: bump github actions to supported versions (#169) (#171) 2025-09-15 14:35:39 +02:00
payments fix(stripe): improve mobile card input, error style 2026-03-13 15:38:45 +05:30
.eslintrc chore: use ruff, prettier & eslint 2024-10-02 02:59:55 +02:00
.git-blame-ignore-revs chore: add style commit to blame ignore 2024-10-02 03:04:59 +02:00
.gitignore chore: add tooling files to gitignore 2024-10-02 02:33:29 +02:00
.pre-commit-config.yaml chore: Update formatings 2025-05-09 12:26:22 +05:30
commitlint.config.js chore: apply pre-commit 2024-10-02 02:59:55 +02:00
license.txt docs: update readme and license 2022-07-27 02:19:36 +05:30
pyproject.toml chore: bump razorpay 2026-02-09 19:31:13 +05:30
README.md docs: mention ongoing work 2024-10-10 09:15:36 +02:00

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.

Ongoing Work

License

MIT (license.txt)