refactor(support): replace mock data with real costs and simplify stats
Updated support page to use real data instead of mock values, including monthly costs
This commit is contained in:
1 parent
01e97eb078
commit
00501e6699
8 files changed
+235
-150
No files matched your search
@@ -52,7 +52,11 @@ export function DonationCard({
|
||||
|
||||
const data: DonationResponse = await response.json();
|
||||
|
||||
if (data.success && data.pixCode && data.pixQrCode) {
|
||||
if (data.success && data.paymentUrl) {
|
||||
// Redirecionar para página de pagamento do AbacatePay
|
||||
window.location.href = data.paymentUrl;
|
||||
} else if (data.success && data.pixCode && data.pixQrCode) {
|
||||
// Fallback: mostrar modal com QR Code se disponível
|
||||
setPixData({
|
||||
code: data.pixCode,
|
||||
qrCode: data.pixQrCode,
|
||||
|
||||
Reference in new issue
Block a user