Updated checkout to wait for backend confirmation before advancing, added a “Processing payment…” state with retry/ refresh fallback, and now use Paddle totals/currency for purchase records + confirmation emails (with new email translations).

This commit is contained in:
Codex Agent
2025-12-22 09:06:48 +01:00
parent 41d29eb7d3
commit 84234bfb8e
36 changed files with 1742 additions and 187 deletions

View File

@@ -574,7 +574,13 @@
"status_ready_title": "Checkout opened",
"status_error_title": "Payment failed",
"status_success_title": "Payment completed",
"status_retry": "Retry"
"status_retry": "Retry",
"processing_title": "Processing payment...",
"processing_body": "We have received your payment and are activating your package. This can take a minute.",
"processing_manual_hint": "If this takes too long, try again or refresh the page.",
"processing_retry": "Retry status check",
"processing_refresh": "Refresh page",
"processing_confirmation": "Payment received. Finalising your order..."
},
"confirmation_step": {
"title": "Confirmation",
@@ -1012,4 +1018,4 @@
"privacy": "Privacy",
"terms": "Terms & Conditions"
}
}
}