diff --git a/packages/admin-ui/src/lib/order/src/components/order-detail/order-detail.component.ts b/packages/admin-ui/src/lib/order/src/components/order-detail/order-detail.component.ts index a392b0ea10..ae6b8b3573 100644 --- a/packages/admin-ui/src/lib/order/src/components/order-detail/order-detail.component.ts +++ b/packages/admin-ui/src/lib/order/src/components/order-detail/order-detail.component.ts @@ -337,9 +337,7 @@ export class OrderDetailComponent order.nextStates, ); } else { - return this.dataService.order - .transitionToState(this.id, 'PaymentSettled') - .pipe(mapTo('PaymentSettled')); + return of('PaymentSettled'); } case 'ManualPaymentStateError': this.notificationService.error(addManualPaymentToOrder.message);