use Shopware\Core\System\StateMachine\Aggregation\StateMachineTransition\StateMachineTransitionActions; use Shopware\Core\System\StateMachine\Transition;
/**
* @internal only for use by the app-system
*/ #[Package('core')]
classAppSyncPaymentHandlerextends AppPaymentHandler implements SynchronousPaymentHandlerInterface { publicfunctionpay(SyncPaymentTransactionStruct $transaction, RequestDataBag $dataBag, SalesChannelContext $salesChannelContext): void { $payUrl = $this->getAppPaymentMethod($transaction->getOrderTransaction())->getPayUrl(); if(empty($payUrl)){ return; }