From d2ad1c4092648af8e50c6591a287c703afed2506 Mon Sep 17 00:00:00 2001
From: Noctis Linden <173088017+noctis-linden@users.noreply.github.com>
Date: Tue, 29 Sep 2026 19:02:32 -0400
Subject: Check payment info before opening the L$ packs floater
Until the floater can add a payment method, residents without one are sent to the LindeX payment page instead of the floater. A second login probe of BuyCurrencyAddPaymentURL skips the check when it answers 200.
---
indra/newview/app_settings/settings.xml | 11 ++++
indra/newview/llbuycurrencyhtml.cpp | 101 +++++++++++++++++++++++++++-----
indra/newview/llbuycurrencyhtml.h | 19 +++++-
indra/newview/llfloaterbuycurrency.cpp | 40 +++++++++++--
indra/newview/llfloaterbuycurrency.h | 16 +++++
5 files changed, 165 insertions(+), 22 deletions(-)
diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index ba44b68307..f6f11f9578 100644
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -1194,6 +1194,17 @@
Value
https://accounts.secondlife.com/packs/floater?lang=[LANGUAGE]&shortfall=[SHORTFALL]
+ BuyCurrencyAddPaymentURL
+
PaymentMethodURL