feat: Add new payment completion and failure routes, update donation handling in DonationForm and related components
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user