commit d852630b176d9904c46d1b445b315bf9c3709aa9
parent a8cdfd0d5702f711e779b0c16ab85b9e86bfe4fb
Author: Sebastian <sebasjm@taler-systems.com>
Date: Tue, 17 Feb 2026 10:54:56 -0300
fix #11094
Diffstat:
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/packages/bank-ui/src/pages/PaytoWireTransferForm.tsx b/packages/bank-ui/src/pages/PaytoWireTransferForm.tsx
@@ -161,7 +161,7 @@ export function PaytoWireTransferForm({
} else if (account && subject) {
switch (paytoType) {
case "x-taler-bank": {
- parsedURI = Paytos.createTalerBank(url.host as HostPortPath, account);
+ parsedURI = Paytos.createTalerBank(url.href as HostPortPath, account);
break;
}
case "iban": {
@@ -331,7 +331,7 @@ export function PaytoWireTransferForm({
switch (paytoType) {
case "x-taler-bank": {
payto = Paytos.createTalerBank(
- url.host as HostPortPath,
+ url.href as HostPortPath,
account,
);
if (parsedAmount) {
diff --git a/packages/bank-ui/src/pages/QrCodeSection.stories.tsx b/packages/bank-ui/src/pages/QrCodeSection.stories.tsx
@@ -30,7 +30,7 @@ export default {
export const SimpleExample = tests.createExample(QrCodeSection, {
withdrawUri: {
- bankIntegrationApiBaseUrl: "http://asd" as HostPortPath,
+ bankIntegrationApiBaseUrl: "http://asd/" as HostPortPath,
type: TalerUriAction.Withdraw,
withdrawalOperationId: "123",
externalConfirmation: false,
diff --git a/packages/bank-ui/src/pages/admin/AccountForm.tsx b/packages/bank-ui/src/pages/admin/AccountForm.tsx
@@ -231,7 +231,7 @@ export function AccountForm<PurposeType extends keyof ChangeByPurposeType>({
switch (cashoutPaytoType) {
case "x-taler-bank": {
cashout = Paytos.createTalerBank(
- url.host as HostPortPath,
+ url.href as HostPortPath,
newForm.cashout_payto_uri,
);
break;
@@ -252,7 +252,7 @@ export function AccountForm<PurposeType extends keyof ChangeByPurposeType>({
switch (paytoType) {
case "x-taler-bank": {
internal = Paytos.createTalerBank(
- url.host as HostPortPath,
+ url.href as HostPortPath,
newForm.payto_uri,
);
break;