libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit 72c86420774da33ab9bc44ea0f288116c2c63193
parent 196f7bf20acd57a530d174a4701e45933deb9b57
Author: Sebastian <sebasjm@gmail.com>
Date:   Sat,  1 Apr 2023 11:44:32 -0300

add wopid parameter into confirm_transfer

Diffstat:
Msandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt @@ -1229,8 +1229,8 @@ val sandboxApp: Application.() -> Unit = { ) } val demobank = ensureDemobank(call) - val captcha_page = demobank.config.captchaUrl - if (captcha_page == null) logger.warn("CAPTCHA URL not found") + if (demobank.config.captchaUrl == null) logger.warn("CAPTCHA URL not found") + val captcha_page = if (arg == null) demobank.config.captchaUrl else demobank.config.captchaUrl?.replace("{wopid}",arg) val ret = TalerWithdrawalStatus( selection_done = maybeWithdrawalOp.selectionDone, transfer_done = maybeWithdrawalOp.confirmationDone,