Commit graph

5158 commits

Author SHA1 Message Date
PCoder
af09b343c0 Update Changelog for 3.1 2021-01-12 13:56:58 +05:30
PCoder
3b874901bc Update using correct card details 2021-01-12 13:40:03 +05:30
PCoder
640807eb62 Don't get card from local db 2021-01-12 13:39:11 +05:30
PCoder
21f762d6b8 Update Changelog for 3.0 2021-01-07 16:39:00 +05:30
9e640d0802 Merge branch '8691/check_vm_templates' into 'master'
8691/check vm templates

See merge request ungleich-public/dynamicweb!744
2021-01-07 12:06:02 +01:00
PCoder
c58302d90e Log error messages 2021-01-07 16:30:48 +05:30
PCoder
1e67bef4f5 Remove unwanted code/comments 2021-01-07 16:30:33 +05:30
PCoder
ec13a71866 Reformat code 2021-01-07 16:29:34 +05:30
PCoder
6c968fdbb8 Redirect to dcl payment
We no longer seem to use hosting payment
2021-01-02 09:03:02 +05:30
PCoder
44ebb71916 Also clear id_payment_method from session 2021-01-02 09:02:37 +05:30
PCoder
1d7c3f424c Don't send admin email if IncompletePaymentIntent lookup doesn't contain a value 2021-01-01 11:17:07 +05:30
PCoder
8deed169ca Fix redirect url
Take user to virtual_machines page if the user ordered a VM
2021-01-01 11:13:02 +05:30
PCoder
7cd485bc6d Fix issues on settings/card save/delete methods 2021-01-01 02:37:52 +05:30
PCoder
31c5336e18 Show cards directly from Stripe and dissociate using PaymentMethod 2021-01-01 01:59:41 +05:30
PCoder
36505db5a2 set default_payment_method 2021-01-01 01:35:59 +05:30
PCoder
e7462289f6 Just log IncompleteSubscription does not exist error
Do not compare with db and send admin error message
2021-01-01 01:03:08 +05:30
PCoder
9b84461a29 Add logger messages 2021-01-01 00:58:11 +05:30
PCoder
04003757dc Move log block to correct case 2021-01-01 00:43:28 +05:30
PCoder
e024a3a7a6 Do not create paymentintent for subscription 2021-01-01 00:34:35 +05:30
PCoder
ba3c5ddd1d Use different js code for one-time and subscriptions 2021-01-01 00:09:47 +05:30
PCoder
2c3d00f03f Pass correct stripe_customer_id 2021-01-01 00:09:20 +05:30
PCoder
d8a674da3d Remove unwanted code + doc 2021-01-01 00:08:58 +05:30
PCoder
9524e03762 Pass user param with request dict 2021-01-01 00:08:33 +05:30
PCoder
a32a5af5a3 Add code to differentiate between subscription and non-subscription in js 2021-01-01 00:07:23 +05:30
PCoder
9faf897818 Formatting and documentation 2020-12-31 22:46:15 +05:30
PCoder
6e6a57b304 Refactor price to charge => amount_to_charge
This is a common variable between the generic onetime and
subscription
2020-12-31 22:45:05 +05:30
PCoder
7b71ba55f2 Rename token to id_payment_method 2020-12-31 22:43:50 +05:30
PCoder
8c72b56f6c Use setup_future_usage='off_session' 2020-12-31 21:03:24 +05:30
PCoder
d2ebd3c473 Do card association 2020-12-31 20:53:02 +05:30
PCoder
b36afcb828 Simplify code for logged in one-time payments with SCA 2020-12-31 20:35:31 +05:30
PCoder
a823efd8e2 Add get_available_payment_methods 2020-12-31 20:01:52 +05:30
PCoder
13f5f576b5 Fix getting cc details from payment_methods 2020-12-31 17:23:43 +05:30
PCoder
2f98294eab Store dicts as json in db 2020-12-31 17:12:17 +05:30
PCoder
213b9a068e Fix attribute name 2020-12-31 17:07:51 +05:30
PCoder
33f741424d See inner values of incomplete_pm 2020-12-31 17:05:01 +05:30
PCoder
7309b8416c Handle any exception 2020-12-31 17:02:03 +05:30
PCoder
ff7b20b0dc Stripe id is not a dict 2020-12-31 16:59:22 +05:30
PCoder
37f82a48d5 More loggers 2020-12-31 16:55:05 +05:30
PCoder
8827bd15ba More loggers 2020-12-31 16:47:45 +05:30
PCoder
8e4b3ce96b Store charge id from payement intent result 2020-12-31 16:39:25 +05:30
PCoder
85757e01c9 Save charge id 2020-12-31 16:37:25 +05:30
PCoder
f48a5cfe71 Set completed_at value 2020-12-31 16:29:18 +05:30
PCoder
52d1fb6a0e Add logger + return 200 on success of webhook 2020-12-31 16:27:12 +05:30
PCoder
12c9140b3a Fix using correct payment intent id 2020-12-31 16:23:44 +05:30
PCoder
7db0594778 Update IncompletePaymentIntents to allow null subscription id and charge id 2020-12-31 16:12:22 +05:30
PCoder
87b85c43b4 More logger 2020-12-31 15:59:09 +05:30
PCoder
b2f0a45679 Add logger message 2020-12-31 15:56:08 +05:30
PCoder
9ae4b96968 Add hosting/migrations/0064_incompletepaymentintents.py 2020-12-31 15:43:46 +05:30
PCoder
9077eb0cf2 Implement webhook 2020-12-31 15:41:43 +05:30
PCoder
98b5d03d0b Refactor code for do_provisioning_generic 2020-12-31 15:40:46 +05:30