diff --git a/app/components/SeriesPassPurchase.vue b/app/components/SeriesPassPurchase.vue index 8d3e7f1..ef293af 100644 --- a/app/components/SeriesPassPurchase.vue +++ b/app/components/SeriesPassPurchase.vue @@ -144,6 +144,7 @@

By registering, you'll be automatically registered for all {{ seriesInfo.totalEvents }} events in this series. + We'll create a free guest account so you can access your pass.

@@ -182,7 +183,7 @@ const props = defineProps({ const emit = defineEmits(["purchase-success", "purchase-error"]); const toast = useToast(); -const { initializeTicketPayment, verifyPayment } = useHelcimPay(); +const { initializeSeriesTicketPayment, verifyPayment } = useHelcimPay(); // State const loading = ref(true); @@ -264,10 +265,9 @@ const handleSubmit = async () => { paymentProcessing.value = true; // Initialize Helcim payment for series pass - await initializeTicketPayment( + await initializeSeriesTicketPayment( props.seriesId, form.value.email, - passInfo.value.ticket.price, props.seriesInfo.title, ); @@ -298,6 +298,11 @@ const handleSubmit = async () => { } ); + // Refresh client auth state if server signed us in (guest upgrade) + if (purchaseResponse?.signedIn) { + await useAuth().checkMemberStatus(); + } + // Show success message toast.add({ title: "Series Pass Purchased!", diff --git a/app/components/SignupFlowOverlay.vue b/app/components/SignupFlowOverlay.vue index f29559f..6ad3321 100644 --- a/app/components/SignupFlowOverlay.vue +++ b/app/components/SignupFlowOverlay.vue @@ -33,14 +33,9 @@

- We've sent a confirmation email to {{ summary?.email }}. Redirecting - you to your dashboard... + Check {{ summary?.email }} for a sign-in link to finish setting up + your account. The link expires in 15 minutes.

-
- - Go to Dashboard Now - -