merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 3bf674a7cf1fa192072a5c3de781115629be9629
parent 52cf4207e69c591d0c60f9a3c22c7c26667c90fe
Author: Florian Dold <florian@dold.me>
Date:   Thu,  7 May 2026 23:08:42 +0200

fix format of paivana ID in test

Needs to be base64 encoding of a sha256 hash according to the current
spec.

Diffstat:
Msrc/testing/test_merchant_templates.sh | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/testing/test_merchant_templates.sh b/src/testing/test_merchant_templates.sh @@ -151,8 +151,10 @@ then fi echo " OK" +set -x + echo -n "Creating order using template..." -PAIVANA_ID="4321-4ZAXW7M5WW09QNZDF4MRAXBKS1321QQEBFVSWD68FCXHXS1G04A4ZAXW7M5WW09QNZDF4MRAXBKS1321QQEBFVSWD68FCXHXS1G04A0" +PAIVANA_ID="4321-6hvIP7UnmNDVjp5Intuf9jFK7MzW0ycEyxf5Mszl3xs=" STATUS=$(curl 'http://localhost:9966/templates/'"$TID" \ -d '{"template_type":"paivana","tip":"TESTKUDOS:0.1","website":"https://example.com/","paivana_id":"'"${PAIVANA_ID}"'"}' \ -w "%{http_code}" -s -o "$LAST_RESPONSE")