Commit graph

82 commits

Author SHA1 Message Date
M.Ravi
5fe6007ad2 Refactored code and added app as a parameter in get_stripe_plan_id 2017-08-17 18:21:53 +02:00
M.Ravi
b0b1b6091a Refactored code and added app as a parameter in get_stripe_plan_id 2017-08-17 18:17:52 +02:00
M.Ravi
5c92e47ffe Added card that fails and a new test case to test failed payment 2017-08-17 16:42:32 +02:00
M.Ravi
0bc1766e4a Refactored tests and added test_subscribe_customer_to_plan 2017-08-17 15:32:13 +02:00
M.Ravi
ffd0d24f1a Refactored code 2017-08-17 13:23:49 +02:00
M.Ravi
3ef34d84a8 Added some comments and improved the test code 2017-08-17 13:02:39 +02:00
M.Ravi
1073b25a94 Refactored and added test_delete_unexisting_plan_should_fail 2017-08-17 12:43:42 +02:00
M.Ravi
2a348c40d1 Refactored code and added delete_stripe_plan method 2017-08-17 12:42:34 +02:00
M.Ravi
bba82e95d1 Cleaned up some unused code 2017-08-17 11:04:22 +02:00
PCoder
08c5485352 Added test_create_duplicate_plans_error_handling 2017-08-17 13:01:48 +05:30
PCoder
783ab5714c Improved get_or_create_plan and subscribe_customer_to_plan 2017-08-17 13:01:05 +05:30
PCoder
9d4085138a Added StripePlanTestCase 2017-08-17 04:25:07 +05:30
PCoder
974617badb Added get_or_create_plan and subscribe_customer_to_plan and get_stripe_plan_id_string functions to StripeUtils class 2017-08-17 04:23:38 +05:30
PCoder
999f5d8e2d Cleaned up a comment 2017-08-15 18:48:29 +05:30
PCoder
492f7553d8 Added test TestStripeCustomerDescription 2017-08-15 16:12:08 +05:30
PCoder
3be7fbe2ee Added name parameter for creating StripeCustomer and set description to this 2017-08-15 16:05:52 +05:30
PCoder
debfafaf26 Added migration file for missing card holder's name in utils_billing_address 2017-08-10 23:14:51 +05:30
PCoder
e33df8f1e9 Added card holders name in UserBillingAddress to_dict function 2017-07-16 22:34:49 +05:30
PCoder
ed52e396d9 Formatted utils/models.py 2017-07-16 16:36:38 +05:30
PCoder
083b870b33 Formatted utils/forms.py 2017-07-16 16:35:55 +05:30
PCoder
a37464f8b3 Removed some unreachable code from utils/forms.py 2017-07-16 16:35:02 +05:30
PCoder
ba72527f2f Added validations for credit card inputs. Made credit card holder's name default value empty in the model. 2017-07-16 15:23:18 +05:30
PCoder
9d4cbb2be5 Introduced credit card holder's name in BaseBillingAddress model 2017-07-16 03:40:30 +05:30
PCoder
30058efa41 Inroduced credit card holder's name in Billing Address 2017-07-16 03:39:42 +05:30
M.Ravi
f419ce784f Fixed some flake8 warnings 2017-07-03 23:53:37 +02:00
M.Ravi
f9c3c80864 Merged the latest master into siarheipuhach-feature/flake8 2017-07-03 23:47:56 +02:00
Andrii Marynets
303d99d70d Merge branch 'master' into feature/add_google_analytics
# Conflicts:
#	datacenterlight/templates/datacenterlight/order_detail.html
2017-07-02 17:56:07 +03:00
M.Ravi
c8cf166571 Merged code from siarheipuhach/dynamicweb 2017-07-01 15:18:44 +02:00
Andrii Marynets
9431e9846c Add middleware for fix "get_host() method fails when the host is behind multiple proxies" 2017-06-30 08:44:39 +03:00
PCoder
d161a285b8 Added get_card_details function to stripe_utils 2017-06-30 11:08:00 +05:30
Andrii Marynets
ebf8b0646d Fix not add analytics if DEBUG=True 2017-06-30 01:33:12 +03:00
Andrii Marynets
2ad984504c Add GOOGLE_ANALYTICS_PROPERTY_IDS for dynamic set ID 2017-06-30 01:23:35 +03:00
Siarhei Puhach
edcfd3e9f4 Added Flake8 lib and fixed PEP8 violations 2017-06-29 17:34:40 +03:00
Pcoder
d4876cdecb Fixed the username for the from_email address 2017-06-16 00:09:11 +05:30
Levi Velázquez
657e93862d Merge branch 'master' into bug/3313/pwd_reset_email_from_dcl_support 2017-06-15 01:17:14 -05:00
Levi
c7d29be24c Merge branch 'master' into develop 2017-06-12 23:51:03 -05:00
M.Ravi
d84496b0de Added 'site' parameter to PasswordResetViewMixin so that we can differentiate from which site we have requested a password reset. 2017-06-12 20:42:17 +05:30
Levi
d43855adda fixed #3350, #3328, #3316, #3339 2017-06-09 15:36:14 -05:00
M.Ravi
a60ef7cf7a Changed BaseEmail to accept from_address to modify the from header accordingly 2017-06-07 11:35:16 +05:30
Levi
8adcb75b8c Merge branch 'develop' of github.com:ungleich/dynamicweb into develop 2017-06-04 17:08:09 -05:00
Levi
8598c540b9 removed pdb 2017-06-04 17:05:48 -05:00
Levi
ab4d1cf9c9 Changes stripe v2 to stripe v3 and added localization support 2017-06-04 17:04:38 -05:00
modulos
37a9629408 Add more translations 2017-05-30 15:57:36 +02:00
Levi
47be413298 fixed redirect link 2017-05-28 15:01:18 -05:00
Levi
9a93a3e315 fixed vm pricing error 2017-05-25 13:04:29 -05:00
modulos
15259e59f2 Add support for sign up redirection 2017-05-23 19:18:51 +02:00
Levi
1f10f04a9d Fixed ssh key error, Now an existing user is not ask for his credit card again 2017-05-11 00:11:33 -05:00
M.Ravi
d537fcb118 Manual merge of ungleich/master into opennebula-integration 2017-04-24 03:01:05 +05:30
Levi
3da05e8025 Finished responsive issues 2016-12-19 09:33:15 -05:00
Levi
a84a88479f Fixed #2789 #2788 #2790 #2812 #2811 2016-12-13 10:54:05 -05:00