diff --git a/make_post_sell/templates/shop_settings.j2 b/make_post_sell/templates/shop_settings.j2 index f2ee35b..fa941c2 100644 --- a/make_post_sell/templates/shop_settings.j2 +++ b/make_post_sell/templates/shop_settings.j2 @@ -133,7 +133,7 @@
- +
@@ -261,7 +261,23 @@
+ + + + +
+
+ + + Note: We cannot verify you control these addresses. Please double-check they're correct! + Consider sending a small test amount from another wallet to verify. + + +
+
+
+

Monero (XMR) Configuration

@@ -289,11 +305,6 @@

✓ Monero wallet configured and ready to accept payments -
- - Note: We cannot verify you control this address. Please double-check it's correct! - Consider sending a small test amount from another wallet to verify. - {% else %}

@@ -324,17 +335,8 @@
- - - - -
-
-{% endif %} - -{% if request.dogecoin_enabled %} -
-
+ +

Dogecoin (DOGE) Configuration 🐕

@@ -362,12 +364,6 @@

✓ Dogecoin wallet configured and ready to accept payments -
-
- - Your shop can now accept Dogecoin payments! Funds will be automatically swept to:
- {{ doge_processor.sweep_to_address }} -
{% else %}

@@ -403,6 +399,8 @@
+ +
@@ -410,8 +408,6 @@

{% endif %} - -

@@ -603,4 +599,38 @@ Existing sales honored for download buy purchasers.
+ + {%- endblock -%} diff --git a/make_post_sell/views/shop.py b/make_post_sell/views/shop.py index a4aaf49..1241be2 100644 --- a/make_post_sell/views/shop.py +++ b/make_post_sell/views/shop.py @@ -558,6 +558,11 @@ def shop_settings(request): shop.stripe_enabled = False request.session.flash(("Stripe payments disabled", "success")) + # Handle re-enable action - if stripe is disabled and we're submitting stripe settings + elif not shop.stripe_enabled: + shop.stripe_enabled = True + request.session.flash(("Stripe payments re-enabled", "success")) + elif stripe_public_api_key != shop.stripe_public_api_key: if stripe_public_api_key.startswith("pk_"): if not stripe_test_mode and "_test_" in stripe_public_api_key: