Commit graph

51 commits

Author SHA1 Message Date
phot0n
34a256ac29 chore: remove payment gateway template pages 2022-07-26 15:11:56 +05:30
Ankush Menat
29c855b028
fix: db.get_value -> db.get_single_value (#17531)
db.get_value for singles returns string type always, this is confusing
behaviour, db.get_single_value should be used instead.

semgrep rule: https://github.com/frappe/semgrep-rules/pull/16
2022-07-18 15:10:49 +05:30
Jannat Patel
7fa451333a fix: formatting 2022-05-31 14:16:16 +05:30
Jannat Patel
fdff13cb29 fix: pass currency to razorpay checkout 2022-05-31 12:51:02 +05:30
Suraj Shetty
c0c5b2ebdd
style: format all python files using black (#16453)
Co-authored-by: Frappe Bot <developers@frappe.io>
2022-04-12 10:59:25 +05:30
ChillarAnand
b2fc959307 refactor: Clean up whitespace & add CI check 2022-02-25 20:01:29 +05:30
Gavin D'souza
3446026555 chore: Update header: license.txt => LICENSE
The license.txt file has been replaced with LICENSE for quite a while
now. INAL but it didn't seem accurate to say "hey, checkout license.txt
although there's no such file". Apart from this, there were
inconsistencies in the headers altogether...this change brings
consistency.
2021-09-03 12:02:59 +05:30
Gavin D'souza
65864c027f chore: Update module license header
These modules were imported from the ERPNext codebase into Frappe.
License header was overlooked at that point. These were contributed
initially by Frappe Technologies Pvt Ltd under GPLv3 (ERPNext's license) and now
we, as Frappe Technologies Pvt Ltd converting them to MIT to comply with
Frappe's license.
2021-09-03 11:51:01 +05:30
Gavin D'souza
e407b78506 chore: Drop dead and deprecated code
* Remove six for PY2 compatability since our dependencies are not, PY2
  is legacy.
* Removed usages of utils from future/past libraries since they are
  deprecated. This includes 'from __future__ ...' and 'from past...'
  statements.
* Removed compatibility imports for PY2, switched from six imports to
  standard library imports.
* Removed utils code blocks that handle operations depending on PY2/3
  versions.
* Removed 'from __future__ ...' lines from templates/code generators
* Used PY3 syntaxes in place of PY2 compatible blocks. eg: metaclass
2021-05-26 15:31:29 +05:30
Mohammad Hasnain Mohsin Rajan
3a7823ef76
fix: Webform checkout (#12756)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-04-08 10:16:47 +05:30
Rushabh Mehta
75fe8a615a feat(app): move /desk to /app 2020-11-11 16:31:47 +05:30
Mangesh-Khairnar
bc56a59671 fix(paytm-integration): simplify code and remove additional loop 2020-07-24 20:19:35 +05:30
Mangesh-Khairnar
158da07c6a fix: make the checkout page responsive for mobile view 2020-07-21 00:12:06 +05:30
Mangesh-Khairnar
25c9ac0022 chore: remove initial validation check 2020-04-22 16:12:49 +05:30
Mangesh-Khairnar
6eaefb35c7 fix: add finalize request to complete the transaction 2020-04-22 11:40:08 +05:30
Mangesh-Khairnar
cf5da1c787 fix: check for transaction success in the final stage 2020-04-17 10:02:54 +05:30
Mangesh-Khairnar
b0a34c602d fix: initiate payment via standard checkout 2020-04-16 15:51:11 +05:30
Mangesh-Khairnar
72e88b3440 feat: create transaction token 2020-04-10 12:50:54 +05:30
Faris Ansari
efa87c6a37
fix: Use Bootstrap 4 class names 2019-09-13 15:14:04 +05:30
Rohit Waghchaure
01041e105e fix: strip checkout page not showing options correctly 2019-09-11 16:59:51 +05:30
Faris Ansari
467bd8a8ad fix: Remove no_sitemap flag 2019-03-19 20:34:19 +05:30
Saurabh
087e401c78 Customize payment success message (#6460)
* Provision to set custom payment success message

* typo fix

* Fix formatting
2018-11-29 09:07:38 +05:30
Saurabh
4f4706ae12 [fix] do not cache payment success page 2018-10-25 14:11:32 +05:30
Charles-Henri Decultot
278dfe44f5 Improve checkout UX (#6248) 2018-10-15 09:27:08 +05:30
Saurabh
4eedf52560 [fix] if redirect uri exists then automatically redirect the user 2018-10-11 17:49:37 +05:30
Saurabh
54e575b824 [fix] minor-fixes 2018-10-01 11:35:13 +05:30
Saurabh
05b4f21016 setup addons on razorpay 2018-10-01 11:35:13 +05:30
Saurabh
2749f0ebbf Support for razorpay subscription and addons 2018-10-01 11:35:13 +05:30
Rushabh Mehta
aae580a53d [style] make page-card self contained 2018-07-10 18:36:58 +05:30
Rushabh Mehta
a4dd9ec91b [test] [style] 2018-07-10 16:10:08 +05:30
Charles-Henri Decultot
27b4b86b27 Stripe corrections (#5700) 2018-06-21 09:09:05 +05:30
Charles-Henri Decultot
959784b744 Subscriptions + Elements for Stripe payments (#5602)
* Stripe Payments Improvements

* Automatically create a new stripe customer

* Charge arguments correction

* Move Stripe to ERPNext

* Revert "Move Stripe to ERPNext"

This reverts commit f71f9952997ea0fcdccafc2410abafb6185a6a1f.

* Stripe Settings correction

* Payment plan moved to ERPNext

* Remove Reference to payment plan in Frappe

* Remove references to payment plan in Frappe

* Modify Stripe Checkout Pages to allow usage without ERPNext
2018-06-11 15:13:29 +05:30
Charles-Henri Decultot
85bd024b12 Allow several Stripe accounts (#5573)
* Allow several Stripe accounts

* Addition of a sync patch

* Remove unused dependancy
2018-05-23 11:16:21 +05:30
Charles-Henri Decultot
68720c2a4f [New Feature] Google Calendar Connector (#5266)
* Addition of a filter for last sync timestamp

* Google calendar connector wip

* Google calendar integration

* Add test for account creation

* Codacy corrections

* Remove unused import

* New section Google Services

* Add no_copy to migration custom field
2018-04-06 10:43:49 +05:30
Achilles Rasquinha
0fc518ace4 python 3 fixes 2018-03-31 18:15:43 +05:30
Charles-Henri Decultot
41598d22f0 Braintree integration (#4971)
* Braintree Integration WIP

* Braintree integration

* Link in config + settings after save

* Code cleanup

* Code cleanup

* JS beautify issue

* Codacy corrections

* Spaces to tabs
2018-02-16 15:16:23 +05:30
Britlog
07c0f4fd99 Stripe translations (#4892) 2018-01-23 14:34:11 +05:30
Saurabh
52d1e7300b [fix] generate token while initiating razorpay payment and accept payment against the token. do not pass payment arguments in url, user can modify payment parameters (#4269) 2017-10-06 17:23:12 +05:30
Aditya Hase
769338f136 Replaced all instances of basestring with six.string_types 2017-08-11 00:10:11 +05:30
Rushabh Mehta
b6ac024576 [style] make payment pages standard (#3655) 2017-07-11 10:56:01 +05:30
Nabin Hait
d6654f4fe3 Fixed merge conflict 2017-05-18 14:03:14 +05:30
Alchez
47321e4821 [Minor] Fixed unclosed h2 tag (#3267) 2017-05-11 15:39:25 +05:30
Saurabh
286b79bd90 Stripe payment integration (#2867)
* [fix] setting page for stripe

* checkout flow for stripe payment

* controller to handle stripe checkout and authorization
2017-04-06 17:27:23 +05:30
Saurabh
3952338b73 [urgent][fix] convert use_sandbox param to integer to avoid false data sandboxing (#2384) 2016-11-28 12:37:33 +05:30
Saurabh
9ff094d8de [fix] paypal sandboxing to test dummy payments (#2281)
* [fix] paypal sandboxing to test dummy payments

* [fix] sandbox testing for razorpay
2016-11-10 09:58:56 +05:30
Saurabh
205ae26751 [fix] refactor integration services (#2087)
* [fix] refactor integration services

* [fix] patch fix

* [fix] added redirect url.

* [fix] custom redirect to and reditect message for paypal and service setup information

* [minor][fix] remove ldap dependancy from requirements
2016-10-10 17:16:21 +05:30
Rushabh Mehta
9d7ee83c5e [refactor] scheduler log is now error log and as MyISAM (commit not required) (#2152)
* [refactor] scheduler log is now error log

* [minor] new naming series

* [fix] engine

* [fix] saved by tests
2016-10-06 17:17:55 +05:30
Rushabh Mehta
290897f849 [minor] wait for razorpay to complete the payment 2016-10-06 11:07:06 +05:30
Rushabh Mehta
7101066f1f [fixes] for razorpay 2016-10-04 16:11:16 +05:30
Saurabh
25015aba96 [minor][fix] erpnext-logo on rzorpay dialogue 2016-09-30 18:23:33 +05:30