diff --git a/packages/taler-util/src/taleruri.ts b/packages/taler-util/src/taleruri.ts index fb7175e74..13cdde9a9 100644 --- a/packages/taler-util/src/taleruri.ts +++ b/packages/taler-util/src/taleruri.ts @@ -94,7 +94,6 @@ export enum TalerUriType { TalerWithdraw = "taler-withdraw", TalerTip = "taler-tip", TalerRefund = "taler-refund", - TalerNotifyReserve = "taler-notify-reserve", TalerPayPush = "taler-pay-push", TalerPayPull = "taler-pay-pull", TalerRecovery = "taler-recovery", @@ -152,9 +151,6 @@ export function classifyTalerUri(s: string): TalerUriType { if (sl.startsWith(`taler+http://${talerActionPayPull}/`)) { return TalerUriType.TalerPayPull; } - if (sl.startsWith("taler://notify-reserve/")) { - return TalerUriType.TalerNotifyReserve; - } if (sl.startsWith("taler://dev-experiment/")) { return TalerUriType.TalerDevExperiment; } diff --git a/packages/taler-wallet-webextension/src/platform/chrome.ts b/packages/taler-wallet-webextension/src/platform/chrome.ts index 701d14dfa..288119f98 100644 --- a/packages/taler-wallet-webextension/src/platform/chrome.ts +++ b/packages/taler-wallet-webextension/src/platform/chrome.ts @@ -266,11 +266,6 @@ function openWalletURIFromPopup(talerUri: string): void { `static/wallet.html#/cta/transfer/pickup?talerPayPushUri=${talerUri}`, ); break; - case TalerUriType.TalerNotifyReserve: - logger.warn( - `Response with HTTP 402 the Taler header but it is deprecated ${talerUri}`, - ); - break; case TalerUriType.Unknown: logger.warn( `Response with HTTP 402 the Taler header but could not classify ${talerUri}`, diff --git a/packages/taler-wallet-webextension/src/popup/TalerActionFound.tsx b/packages/taler-wallet-webextension/src/popup/TalerActionFound.tsx index 3eccad93e..dc2b8bfae 100644 --- a/packages/taler-wallet-webextension/src/popup/TalerActionFound.tsx +++ b/packages/taler-wallet-webextension/src/popup/TalerActionFound.tsx @@ -87,22 +87,6 @@ export function TalerActionFound({ url, onDismiss }: Props): VNode { )} - {uriType === TalerUriType.TalerNotifyReserve && ( -
-

- - This page has a notify reserve action. - -

- -
- )} {uriType === TalerUriType.TalerRefund && (

diff --git a/packages/taler-wallet-webextension/src/wallet/AddNewActionView.tsx b/packages/taler-wallet-webextension/src/wallet/AddNewActionView.tsx index d9cb8aac5..c704c8085 100644 --- a/packages/taler-wallet-webextension/src/wallet/AddNewActionView.tsx +++ b/packages/taler-wallet-webextension/src/wallet/AddNewActionView.tsx @@ -64,8 +64,6 @@ export function AddNewActionView({ onCancel }: Props): VNode { > {(() => { switch (uriType) { - case TalerUriType.TalerNotifyReserve: - return Open reserve page; case TalerUriType.TalerPay: return Open pay page; case TalerUriType.TalerRefund: diff --git a/packages/taler-wallet-webextension/src/wxBackend.ts b/packages/taler-wallet-webextension/src/wxBackend.ts index 7528457c3..28adfa037 100644 --- a/packages/taler-wallet-webextension/src/wxBackend.ts +++ b/packages/taler-wallet-webextension/src/wxBackend.ts @@ -296,13 +296,6 @@ function parseTalerUriAndRedirect(tabId: number, talerUri: string): void { tabId, `/cta/transfer/recovery?talerBackupUri=${talerUri}`, ); - case TalerUriType.TalerNotifyReserve: - // FIXME: Is this still useful? - // handleNotifyReserve(w); - logger.warn( - `Response with HTTP 402 the Taler header but it is deprecated ${talerUri}`, - ); - break; case TalerUriType.Unknown: logger.warn( `Response with HTTP 402 the Taler header but could not classify ${talerUri}`,