diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-10-13 12:32:09 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-10-13 12:32:17 +0200 |
commit | 60092876f45ad3b0657adab1e07eb3364c5b4709 (patch) | |
tree | 4b62349d90859ce73f72b379eb331f09f37737e9 /src/backenddb | |
parent | d1642d0fd0937d87a56914263361dc5985da0247 (diff) | |
download | merchant-60092876f45ad3b0657adab1e07eb3364c5b4709.tar.gz merchant-60092876f45ad3b0657adab1e07eb3364c5b4709.tar.bz2 merchant-60092876f45ad3b0657adab1e07eb3364c5b4709.zip |
generate refund URI with http/https status based on the merchant_base_url instead of trusting the client to use the same protocol for the request (which can be wrong if the browser decides to prefer https over http)
Diffstat (limited to 'src/backenddb')
-rw-r--r-- | src/backenddb/plugin_merchantdb_postgres.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c index 2d63ad06..2c5b9e93 100644 --- a/src/backenddb/plugin_merchantdb_postgres.c +++ b/src/backenddb/plugin_merchantdb_postgres.c @@ -7506,7 +7506,7 @@ postgres_connect (void *cls, " (SELECT order_serial" " FROM merchant_contract_terms" " WHERE order_id=$2" - " AND paid=true" + " AND paid=TRUE" " AND merchant_serial=" " (SELECT merchant_serial" " FROM merchant_instances" |