Basic implementation of payment methods

This commit is contained in:
2026-07-28 16:09:38 +02:00
parent 6c9281516e
commit ab3d526217
13 changed files with 34 additions and 15 deletions
@@ -1,7 +1,7 @@
import { ref, reactive, computed } from 'vue'
import axios from 'axios'
export function useSignupForm(event, participantData) {
export function useSignupForm(event, participantData, paymentMethod) {
const currentStep = ref(1)
const submitting = ref(false)
const summaryLoading = ref(false)
@@ -11,6 +11,7 @@ export function useSignupForm(event, participantData) {
const formData = reactive({
eatingHabit: 'EATING_HABIT_VEGAN',
paymentMethod: paymentMethod ?? null,
userId: participantData.id,
eventId: event.id,
vorname: participantData.firstname ?? '',