merchant

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

commit b58bdc74afa5a28ed7f3bba54d04af50b29d6efd
parent a2968b43ee450839dc918ba3f74088193f1b9112
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri, 12 Aug 2022 00:10:36 +0200

add FIXME-MS

Diffstat:
Msrc/testing/test_merchant_order_creation.sh | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/testing/test_merchant_order_creation.sh b/src/testing/test_merchant_order_creation.sh @@ -56,10 +56,16 @@ then fi # remove one account address + +# FIXME-MS: here we already need to get the TARGET_PAYTO, but this +# is impossible: libeufin-cli sandbox bankaccount list gives me some HTML (!?) +# and I have no other good way to get the (random) IBAN! +# TARGET_PAYTO="payto://iban/SANDBOXX/$IBAN?receiver-name=Forty+Three" + STATUS=$(curl -H "Content-Type: application/json" -X PATCH \ -H 'Authorization: Bearer secret-token:super_secret' \ http://localhost:9966/instances/default/private/ \ - -d '{"auth":{"method":"external"},"payto_uris":["payto://x-taler-bank/localhost:8082/43"],"id":"default","name":"default","address":{},"jurisdiction":{},"default_max_wire_fee":"TESTKUDOS:1", "default_max_deposit_fee":"TESTKUDOS:1","default_wire_fee_amortization":1,"default_wire_transfer_delay":{"d_us" : 50000000000},"default_pay_delay":{"d_us": 60000000000}}' \ + -d '{"auth":{"method":"external"},"payto_uris":["'$TARGET_PAYTO'"],"id":"default","name":"default","address":{},"jurisdiction":{},"default_max_wire_fee":"TESTKUDOS:1", "default_max_deposit_fee":"TESTKUDOS:1","default_wire_fee_amortization":1,"default_wire_transfer_delay":{"d_us" : 50000000000},"default_pay_delay":{"d_us": 60000000000}}' \ -w "%{http_code}" -s -o /dev/null) if [ "$STATUS" != "204" ]