feat(back-end front-end): upgrade to the order componen instead of payment and order-confirmed
This commit is contained in:
@@ -193,8 +193,7 @@ export class CheckoutComponent implements OnInit {
|
||||
|
||||
this.quoteService.createOrder(this.sessionId, orderRequest).subscribe({
|
||||
next: (order) => {
|
||||
console.log('Order created', order);
|
||||
this.router.navigate(['/payment', order.id]);
|
||||
this.router.navigate(['/order', order.id]);
|
||||
},
|
||||
error: (err) => {
|
||||
console.error('Order creation failed', err);
|
||||
|
||||
Reference in New Issue
Block a user