You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 vuotta sitten
2 vuotta sitten
2 vuotta sitten
2 vuotta sitten
2 vuotta sitten
2 vuotta sitten
2 vuotta sitten
123456789101112131415161718192021222324252627282930313233
  1. # Payments
  2. A payments app for xhiveframework.
  3. ## Installation
  4. 1. Install [bench & xhiveframework](https://xhiveframework.com/docs/v14/user/en/installation).
  5. 2. Once setup is complete, add the payments app to your bench by running
  6. ```
  7. $ bench get-app payments
  8. ```
  9. 3. Install the payments app on the required site by running
  10. ```
  11. $ bench --site <sitename> install-app payments
  12. ```
  13. ## App Structure & Details
  14. App has 2 modules - Payments and Payment Gateways.
  15. 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.
  16. App adds custom fields to Web Form for facilitating payments upon installation and removes them upon uninstallation.
  17. All general utils are stored in [utils](payments/utils) directory. The utils are written in [utils.py](payments/utils/utils.py) and then imported into the [`__init__.py`](payments/utils/__init__.py) file for easier importing/namespacing.
  18. [overrides](payments/overrides) directory has all the overrides for overriding standard xhiveframework code. Currently it overrides WebForm DocType controller as well as a WebForm whitelisted method.
  19. [templates](payments/templates) directory has all the payment gateways' custom checkout pages.
  20. #
  21. ## License
  22. MIT ([license.txt](license.txt))