diff --git a/app/application/services/billing_service.py b/app/application/services/billing_service.py index b8768c1..ef3668b 100644 --- a/app/application/services/billing_service.py +++ b/app/application/services/billing_service.py @@ -1306,6 +1306,9 @@ def create_topup_checkout( "line_items[0][price_data][product_data][description]": "Recarga de créditos de uso sobre tu licencia actual (misma clave).", "client_reference_id": lic.id, } + img = (getattr(settings, "TOPUP_PRODUCT_IMAGE_URL", "") or "").strip() + if img.startswith("https://"): + form["line_items[0][price_data][product_data][images][0]"] = img if getattr(settings, "TOPUP_REQUIRE_TOS_CONSENT", False): form["consent_collection[terms_of_service]"] = "required" if settings.TOPUP_TAX_CODE: diff --git a/app/config.py b/app/config.py index 06d9381..5f49684 100644 --- a/app/config.py +++ b/app/config.py @@ -91,6 +91,7 @@ class Settings(BaseSettings): TOPUP_STRIPE_API_VERSION: str = "2025-03-31.basil" # managed_payments needs basil or later TOPUP_RETURN_ORIGINS: str = "https://mcp.keyflint.dev,https://keyflint.dev" TOPUP_DEFAULT_RETURN_URL: str = "https://mcp.keyflint.dev/saldo/" + TOPUP_PRODUCT_IMAGE_URL: str = "https://mcp.keyflint.dev/assets/brand/stripe-recarga-v1.png" # Checkout line-item image; "" disables ADMIN_API_KEY: str = "kf_dev_admin_key_change_in_prod" # Transactional Email Dispatch (Resend / SMTP) diff --git a/docs/apple-touch-icon.png b/docs/apple-touch-icon.png index 4d6f40b..8bf50b7 100644 Binary files a/docs/apple-touch-icon.png and b/docs/apple-touch-icon.png differ diff --git a/docs/dpa.html b/docs/dpa.html index c146729..37badf6 100644 --- a/docs/dpa.html +++ b/docs/dpa.html @@ -116,11 +116,11 @@ text-align: center; } - - - - - + + + + +
diff --git a/docs/favicon.ico b/docs/favicon.ico index f67ca47..c4409ac 100644 Binary files a/docs/favicon.ico and b/docs/favicon.ico differ diff --git a/docs/favicon.svg b/docs/favicon.svg index 988c2f7..a756ba8 100644 --- a/docs/favicon.svg +++ b/docs/favicon.svg @@ -1 +1 @@ - + diff --git a/docs/guides/migrate-from-smithery.html b/docs/guides/migrate-from-smithery.html index 6a845cb..8fda167 100644 --- a/docs/guides/migrate-from-smithery.html +++ b/docs/guides/migrate-from-smithery.html @@ -14,7 +14,7 @@ - + diff --git a/docs/guides/paid-mcp-server.html b/docs/guides/paid-mcp-server.html index 7c572d2..9914bd3 100644 --- a/docs/guides/paid-mcp-server.html +++ b/docs/guides/paid-mcp-server.html @@ -14,7 +14,7 @@ - + diff --git a/docs/icon-16.png b/docs/icon-16.png index 0a0579a..2d5d406 100644 Binary files a/docs/icon-16.png and b/docs/icon-16.png differ diff --git a/docs/icon-192.png b/docs/icon-192.png index 0ab47c0..cd61659 100644 Binary files a/docs/icon-192.png and b/docs/icon-192.png differ diff --git a/docs/icon-32.png b/docs/icon-32.png index 4bec8ab..d8cc025 100644 Binary files a/docs/icon-32.png and b/docs/icon-32.png differ diff --git a/docs/icon-48.png b/docs/icon-48.png index a126452..8e004f1 100644 Binary files a/docs/icon-48.png and b/docs/icon-48.png differ diff --git a/docs/icon-512.png b/docs/icon-512.png index 87d64f9..b4c43bf 100644 Binary files a/docs/icon-512.png and b/docs/icon-512.png differ diff --git a/docs/index.html b/docs/index.html index 969b4a3..197f9da 100644 --- a/docs/index.html +++ b/docs/index.html @@ -10,11 +10,11 @@ - - - - - + + + + + @@ -406,11 +406,7 @@