Commit graph

3063 commits

Author SHA1 Message Date
PCoder
38168e8f8f Allow use of previous cards in hosting flow 2017-10-27 00:45:26 +02:00
PCoder
bd7db30633 Add card hidden field to BillingAddressForm 2017-10-27 00:43:07 +02:00
PCoder
1374eaf1a2 Rename id to stripe_api_cus_id 2017-10-27 00:41:49 +02:00
PCoder
a6d28bff86 Add set_default_card and set_default_card_from_stripe methods 2017-10-27 00:40:38 +02:00
M.Ravi
4dd407da67 Use card_id as session variable instead of token and customer 2017-10-26 17:57:11 +02:00
M.Ravi
780fa6cb60 Add get_or_create_user_card_detail method 2017-10-26 17:56:12 +02:00
M.Ravi
85d19c004b Remove redundant code in check_customer 2017-10-26 15:21:29 +02:00
M.Ravi
692f82cba4 Code rearrange 2017-10-26 15:15:27 +02:00
M.Ravi
ef9dc446db Use hasattr to check if a user already has a stripecustomer object 2017-10-26 15:00:54 +02:00
M.Ravi
8d2c120b43 Associate newly added card with customer from hosting 2017-10-26 12:29:16 +02:00
PCoder
de5035d12e Add id_card input element 2017-10-22 00:21:08 +02:00
PCoder
21bb336166 Add js code to submit id_card 2017-10-22 00:20:40 +02:00
PCoder
8351b1bf8b Use refactored get_all_cards_list function 2017-10-21 23:14:55 +02:00
PCoder
bf91bf3822 Change text: delete card to remove card 2017-10-21 23:14:05 +02:00
PCoder
7f4993c3f0 Update hosting payment template to use added cards 2017-10-21 23:12:53 +02:00
PCoder
303eb4112d Add doc. and return empty list for get_all_cards_list function 2017-10-21 21:34:54 +02:00
PCoder
14c7d6ac0e Refactor getting all cards to UserCardDetail.get_all_cards_list() 2017-10-21 21:27:21 +02:00
PCoder
8df72620d6 Add 'billing address updated' message in that case 2017-10-21 20:58:54 +02:00
PCoder
1e08ae5426 Stripe API: Use list() instead of all() as the former is deprecated 2017-10-21 20:46:29 +02:00
PCoder
fb2056bf95 Update stripe_id for a missing case 2017-10-21 20:45:00 +02:00
PCoder
600b549704 Handle case where a Stripe account may have been deleted via dashboard 2017-10-21 20:39:00 +02:00
PCoder
75e90dbacd Refactor and add messages 2017-10-21 20:37:50 +02:00
PCoder
be8181ec42 Add _messages template to hosting/settings.html 2017-10-21 17:02:24 +02:00
PCoder
70b6bbdf2f Save card id as a parameter and use it to delete a source 2017-10-21 13:27:35 +02:00
PCoder
76b3785adc Merge branch 'master' into task/3747/multiple_cards_support 2017-10-21 12:04:15 +02:00
PCoder
7359431b9c Update Changelog 2017-10-21 11:44:55 +02:00
PCoder
12278fc5af Fetch page_title and meta_description dynamically in glasfaser CMS template 2017-10-21 11:42:56 +02:00
Nico Schottelius
ed87762ff0 Update changelog as well 2017-10-21 08:36:17 +02:00
Nico Schottelius
3d192ed59f Replace alplora.ch with .hack4glarus.ch 2017-10-21 08:33:37 +02:00
PCoder
c664b44f2c Add functionality to delete user card 2017-10-21 00:02:35 +02:00
PCoder
255c8a1d80 Add UserCardDetail create method that assigns appropriate object permission 2017-10-21 00:00:21 +02:00
PCoder
51039a5cb3 Merge branch 'master' into task/3747/multiple_cards_support 2017-10-20 21:45:39 +02:00
M.Ravi
725606ff98 Use correct glasfaser template name 2017-10-20 12:31:12 +02:00
M.Ravi
e807ad7834 Bugfix: Limit glasfaser menu to Glasfaser template only 2017-10-20 12:12:13 +02:00
pcoder
cfc289d09d Update Changelog for 1.2.7 2017-10-20 09:49:38 +02:00
pcoder
e282b2ae01 Update Changelog 2017-10-20 09:07:53 +02:00
Pcoder
333b7a99fb Merge pull request #525 from pcoder/feature/glasfaser_cms_template
Feature/glasfaser cms template
2017-10-20 09:05:19 +02:00
pcoder
c4975f0f9b Add link url to AboutItem 2017-10-20 08:50:30 +02:00
pcoder
c20e9372f9 SectionWithImage: Open link in a new window 2017-10-20 08:49:21 +02:00
M.Ravi
60cfc24319 Merge branch task/3766/credit_card_options from tiwariav into task/3747/multiple_cards_support 2017-10-19 20:24:28 +02:00
M.Ravi
68a34762b9 Merge branch 'master' into task/3747/multiple_cards_support 2017-10-19 20:17:39 +02:00
M.Ravi
824e0758e2 Rename TestMenu to GlasfaserMenu 2017-10-19 19:47:53 +02:00
M.Ravi
39ca45cfb9 Make fields of contact section customizable 2017-10-19 17:23:19 +02:00
M.Ravi
e7c7f6f73a Show background image and link only if specified 2017-10-19 16:23:28 +02:00
M.Ravi
c448562384 Remove empty items from menu 2017-10-19 16:04:18 +02:00
M.Ravi
55dd96570c Add custom padding bottom for services section 2017-10-19 15:24:00 +02:00
M.Ravi
6322140813 Add section id from cms for about 2017-10-19 14:22:02 +02:00
M.Ravi
46baaaf621 Add section id from cms for services 2017-10-19 14:14:29 +02:00
M.Ravi
502d822a02 Add section id from cms in the contact us section 2017-10-19 14:05:17 +02:00
M.Ravi
428d329d99 Add migrations 2017-10-19 13:49:30 +02:00