chore/visual-fidelity-fixes #2

Merged
jennie merged 26 commits from chore/visual-fidelity-fixes into main 2026-04-30 12:36:10 +00:00
Showing only changes of commit 90acc35792 - Show all commits

View file

@ -88,12 +88,11 @@ export default defineEventHandler(async (event) => {
member member
}) })
// Paid-tier signups need to complete Helcim checkout in the same tab // Signup completes (paid checkout or free activation) before the magic
// before the magic link can be clicked. Issue a short-lived, payment-only // link is clicked, so issue a short-lived, payment-only bridge cookie
// bridge cookie so /api/helcim/initialize-payment accepts the request. // that lets /api/helcim/initialize-payment and /api/helcim/subscription
if (body.contributionAmount > 0) { // identify the member without a verified auth session.
setPaymentBridgeCookie(event, member) setPaymentBridgeCookie(event, member)
}
return { return {
success: true, success: true,