gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-bank] branch stable updated (564fe1a -> c189692)


From: gnunet
Subject: [GNUnet-SVN] [taler-bank] branch stable updated (564fe1a -> c189692)
Date: Wed, 08 May 2019 01:50:18 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a change to branch stable
in repository bank.

    from 564fe1a  don't show warning if logging in from the beginning
     add c189692  use payto URIs

No new revisions were added by this update.

Summary of changes:
 talerbank/app/views.py | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index 52dbc7d..d3adf08 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -874,13 +874,12 @@ def withdraw_nojs(request):
     response = HttpResponse(status=202)
     response["X-Taler-Operation"] = "create-reserve"
     response["X-Taler-Callback-Url"] = reverse("pin-question")
-    response["X-Taler-Wt-Types"] = '["test"]'
+    response["X-Taler-Wt-Types"] = '["x-taler-bank"]'
     response["X-Taler-Amount"] = json.dumps(amount.dump())
-    response["X-Taler-Sender-Wire"] = json.dumps(dict(
-        type="test",
-        bank_url=request.build_absolute_uri(reverse("index")),
-        account_number=user_account.account_no
-    ))
+    response["X-Taler-Sender-Wire"] = "payto://x-taler-bank/{}/{}".format(
+            request.get_host(),
+            user_account.account_no,
+    )
     if settings.TALER_SUGGESTED_EXCHANGE:
         response["X-Taler-Suggested-Exchange"] = \
             settings.TALER_SUGGESTED_EXCHANGE

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]