feat: Add new payment completion and failure routes, update donation handling in DonationForm and related components

This commit is contained in:
2025-04-24 13:55:26 -04:00
parent af80f30f7a
commit 3a6ee307cd
9 changed files with 120 additions and 164 deletions

View File

@@ -35,6 +35,16 @@ const routes = [
path: '',
name: 'creator',
component: CreatorHome,
},
{
path: 'tip-completed',
name: 'PaymentCompleted',
component: PaymentCompleted,
},
{
path: 'tip-cancelled',
name: 'PaymentFailed',
component: PaymentFailed,
}
],
},
@@ -85,16 +95,6 @@ const routes = [
component: LoginView,
meta: { notAuthenticated: true },
},
{
path: '/paymentcompleted/:creatorId',
name: 'PaymentCompleted',
component: PaymentCompleted,
},
{
path: '/paymentfailed/:creatorId',
name: 'PaymentFailed',
component: PaymentFailed,
},
{
path: '/profile',
name: 'profile',