Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
Anoop cea117f539 Rebranded vor 2 Jahren
payments Rebranded vor 2 Jahren
.gitignore Rebranded vor 2 Jahren
.pre-commit-config.yaml Rebranded vor 2 Jahren
MANIFEST.in Rebranded vor 2 Jahren
README.md Rebranded vor 2 Jahren
commitlint.config.js Rebranded vor 2 Jahren
license.txt Rebranded vor 2 Jahren
requirements.txt Rebranded vor 2 Jahren
setup.py Rebranded vor 2 Jahren

README.md

Payments

A payments app for influxframework.

Installation

  1. Install bench & influxframework.

  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 influxframework 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)