Commit graph

  • d46deaa23a Do not use UserCardDetail to save card PCoder 2021-02-07 15:58:03 +0530
  • a5c83dd589 Update order confirmation text to better prepared for payment dispute PCoder 2021-02-07 15:55:47 +0530
  • af09b343c0 Update Changelog for 3.1 3.1 PCoder 2021-01-12 13:56:58 +0530
  • 3b874901bc Update using correct card details PCoder 2021-01-12 13:40:03 +0530
  • 640807eb62 Don't get card from local db PCoder 2021-01-12 13:39:11 +0530
  • 21f762d6b8 Update Changelog for 3.0 3.0 PCoder 2021-01-07 16:39:00 +0530
  • 9e640d0802 Merge branch '8691/check_vm_templates' into 'master' Mondi Ravi 2021-01-07 12:06:02 +0100
  • c58302d90e Log error messages PCoder 2021-01-07 16:30:48 +0530
  • 1e67bef4f5 Remove unwanted code/comments PCoder 2021-01-07 16:30:33 +0530
  • ec13a71866 Reformat code PCoder 2021-01-07 16:29:34 +0530
  • 6c968fdbb8 Redirect to dcl payment PCoder 2021-01-02 09:02:58 +0530
  • 44ebb71916 Also clear id_payment_method from session PCoder 2021-01-02 09:02:37 +0530
  • 1d7c3f424c Don't send admin email if IncompletePaymentIntent lookup doesn't contain a value PCoder 2021-01-01 11:17:07 +0530
  • 8deed169ca Fix redirect url PCoder 2021-01-01 11:12:56 +0530
  • 7cd485bc6d Fix issues on settings/card save/delete methods PCoder 2021-01-01 02:37:52 +0530
  • 31c5336e18 Show cards directly from Stripe and dissociate using PaymentMethod PCoder 2021-01-01 01:59:41 +0530
  • 36505db5a2 set default_payment_method PCoder 2021-01-01 01:35:59 +0530
  • e7462289f6 Just log IncompleteSubscription does not exist error PCoder 2021-01-01 01:03:05 +0530
  • 9b84461a29 Add logger messages PCoder 2021-01-01 00:58:11 +0530
  • 04003757dc Move log block to correct case PCoder 2021-01-01 00:43:28 +0530
  • e024a3a7a6 Do not create paymentintent for subscription PCoder 2021-01-01 00:34:35 +0530
  • ba3c5ddd1d Use different js code for one-time and subscriptions PCoder 2021-01-01 00:09:47 +0530
  • 2c3d00f03f Pass correct stripe_customer_id PCoder 2021-01-01 00:09:20 +0530
  • d8a674da3d Remove unwanted code + doc PCoder 2021-01-01 00:08:58 +0530
  • 9524e03762 Pass user param with request dict PCoder 2021-01-01 00:08:33 +0530
  • a32a5af5a3 Add code to differentiate between subscription and non-subscription in js PCoder 2021-01-01 00:07:23 +0530
  • 9faf897818 Formatting and documentation PCoder 2020-12-31 22:46:15 +0530
  • 6e6a57b304 Refactor price to charge => amount_to_charge PCoder 2020-12-31 22:45:02 +0530
  • 7b71ba55f2 Rename token to id_payment_method PCoder 2020-12-31 22:43:50 +0530
  • 8c72b56f6c Use setup_future_usage='off_session' PCoder 2020-12-31 21:03:24 +0530
  • d2ebd3c473 Do card association PCoder 2020-12-31 20:53:02 +0530
  • b36afcb828 Simplify code for logged in one-time payments with SCA PCoder 2020-12-31 20:35:31 +0530
  • a823efd8e2 Add get_available_payment_methods PCoder 2020-12-31 20:01:52 +0530
  • 13f5f576b5 Fix getting cc details from payment_methods PCoder 2020-12-31 17:23:43 +0530
  • 2f98294eab Store dicts as json in db PCoder 2020-12-31 17:12:17 +0530
  • 213b9a068e Fix attribute name PCoder 2020-12-31 17:07:51 +0530
  • 33f741424d See inner values of incomplete_pm PCoder 2020-12-31 17:05:01 +0530
  • 7309b8416c Handle any exception PCoder 2020-12-31 17:02:03 +0530
  • ff7b20b0dc Stripe id is not a dict PCoder 2020-12-31 16:59:22 +0530
  • 37f82a48d5 More loggers PCoder 2020-12-31 16:55:05 +0530
  • 8827bd15ba More loggers PCoder 2020-12-31 16:47:45 +0530
  • 8e4b3ce96b Store charge id from payement intent result PCoder 2020-12-31 16:39:25 +0530
  • 85757e01c9 Save charge id PCoder 2020-12-31 16:37:25 +0530
  • f48a5cfe71 Set completed_at value PCoder 2020-12-31 16:29:18 +0530
  • 52d1fb6a0e Add logger + return 200 on success of webhook PCoder 2020-12-31 16:27:12 +0530
  • 12c9140b3a Fix using correct payment intent id PCoder 2020-12-31 16:23:44 +0530
  • 7db0594778 Update IncompletePaymentIntents to allow null subscription id and charge id PCoder 2020-12-31 16:12:22 +0530
  • 87b85c43b4 More logger PCoder 2020-12-31 15:59:09 +0530
  • b2f0a45679 Add logger message PCoder 2020-12-31 15:56:08 +0530
  • 9ae4b96968 Add hosting/migrations/0064_incompletepaymentintents.py PCoder 2020-12-31 15:43:46 +0530
  • 9077eb0cf2 Implement webhook PCoder 2020-12-31 15:41:43 +0530
  • 98b5d03d0b Refactor code for do_provisioning_generic PCoder 2020-12-31 15:40:46 +0530
  • f628046417 Add IncompletePaymentIntents model PCoder 2020-12-31 15:25:14 +0530
  • 41de724904 Handle PaymentMethod type in set_default_card PCoder 2020-12-31 15:24:47 +0530
  • ba92c8e416 Do not pop billing address data from session in case of a payment failure PCoder 2020-12-31 11:05:32 +0530
  • 42c9ec6f28 Handle js success/error messages PCoder 2020-12-31 10:32:25 +0530
  • c3286a68a5 Use payment method instead of token and PaymentIntent all over PCoder 2020-12-31 10:04:21 +0530
  • 35cc9d4229 Log client secret PCoder 2020-12-24 20:07:31 +0530
  • e9c596de66 Test PaymentIntent for payment of generic onetime products PCoder 2020-12-24 20:03:46 +0530
  • ec1da8fbdf Use cents price for Stripe PCoder 2020-12-24 19:40:39 +0530
  • 1c4f297775 Begin migrating to PaymentIntent PCoder 2020-12-24 19:34:06 +0530
  • acba77976d Add missing formatting identifier PCoder 2020-12-24 06:55:19 +0530
  • 624cc45c12 Log error dict PCoder 2020-12-24 06:51:29 +0530
  • 82359064cd Handle creation of correctly PCoder 2020-12-24 06:47:33 +0530
  • 98628596f0 Add params to docstring PCoder 2020-12-24 06:25:37 +0530
  • 39c8e35eca Add logger messages PCoder 2020-12-24 06:25:22 +0530
  • eefabe45b6 Login new users only for non-SCA generic subscription payments only PCoder 2020-12-23 20:41:31 +0530
  • 968eaaf6a4 For generic payments, take users to invoice page after purchase PCoder 2020-12-23 20:40:20 +0530
  • 6a7373523e Set default card before making payments PCoder 2020-12-23 20:39:41 +0530
  • 080a45f39c Pop up stale card_id/token or billing_address_data in the paymentorder page PCoder 2020-12-23 20:38:42 +0530
  • c8519058c4 Fix new_user_hosting_key_id PCoder 2020-12-23 18:31:45 +0530
  • a03e2dc006 Return provisioning if set in do_provisioning PCoder 2020-12-23 18:10:17 +0530
  • c28bd9091a Add more logger PCoder 2020-12-23 17:53:19 +0530
  • c0aeac4dc7 Add some logger messages PCoder 2020-12-23 17:47:50 +0530
  • 377d12b5a5 Create IncompleteSubscriptions only for SCA case PCoder 2020-12-23 17:47:37 +0530
  • d447f8d9e6 Add logging message PCoder 2020-12-23 17:26:40 +0530
  • 799194152e Remove todo PCoder 2020-12-23 17:16:19 +0530
  • 78b8191165 Implement invoice.payment_failed case PCoder 2020-12-23 17:10:23 +0530
  • a9778076d6 Clean session variables using real_request PCoder 2020-12-23 17:10:06 +0530
  • a99924b94c Rename do_create_vm to do_provisioning; and pass real_request PCoder 2020-12-23 17:09:27 +0530
  • 41e993a3d9 Log variable value PCoder 2020-12-23 16:34:26 +0530
  • 0c1b7b1885 Do clear session vars at the end PCoder 2020-12-23 14:33:32 +0530
  • 480e38fbc9 Attempt fix for local variable 'card_details_dict' referenced before assignment PCoder 2020-12-23 14:19:52 +0530
  • 4962b72d1a Add logging message PCoder 2020-12-23 14:19:22 +0530
  • 70c8ed6825 Add debugging messages PCoder 2020-12-23 14:12:30 +0530
  • 259c509113 Don't handle generic exception for the moment PCoder 2020-12-23 14:02:27 +0530
  • 981e68aa4f Fix getting card_id and compare PCoder 2020-12-23 13:56:08 +0530
  • a4a5acd0e7 Fix string formatting issues PCoder 2020-12-23 13:46:34 +0530
  • 812157b6c6 Move login code out of the refactored do_create_vm PCoder 2020-12-23 13:40:19 +0530
  • 9d765fcb6e Fix wrong variable name billing_address PCoder 2020-12-23 13:10:29 +0530
  • f6f6482ce0 Add missing billing_address_data PCoder 2020-12-23 13:07:28 +0530
  • 2baa77a7d4 Fix json loads issue PCoder 2020-12-23 13:00:05 +0530
  • de6bc06eaf Fix json loads for none PCoder 2020-12-23 12:50:21 +0530
  • a5f49cf8be Add debug messages PCoder 2020-12-23 12:41:46 +0530
  • c70753767f Load request object correctly and pass correct subscription object PCoder 2020-12-23 12:32:42 +0530
  • 92bafed3b3 Fix getting stripe_subscription_obj PCoder 2020-12-23 12:09:19 +0530
  • b1dd9988ce Add missing subscription_id param PCoder 2020-12-23 12:03:17 +0530
  • 95a1b8fa20 Make complete_at allow null PCoder 2020-12-23 11:52:41 +0530
  • 50d9eb1c50 Fix UnboundLocalError: local variable 'stripe_onetime_charge' referenced before assignment PCoder 2020-12-23 11:26:52 +0530
  • 1ed42e608c Add incompletesubscriptions migration file PCoder 2020-12-23 11:07:20 +0530