summaryrefslogtreecommitdiff
path: root/src/lib/testing_api_cmd_pay.c
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-08-26 01:28:38 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-08-26 01:28:38 +0200
commit7eba0bcd293d10e49c0e6cb4011b0eda2e65f756 (patch)
tree2d44f02d21aaabcee0a3dac39d3955686522c703 /src/lib/testing_api_cmd_pay.c
parent42d19f3b3e5269c9ce61864265e60e47c34748cf (diff)
downloadmerchant-7eba0bcd293d10e49c0e6cb4011b0eda2e65f756.tar.gz
merchant-7eba0bcd293d10e49c0e6cb4011b0eda2e65f756.tar.bz2
merchant-7eba0bcd293d10e49c0e6cb4011b0eda2e65f756.zip
do not consider an order paid if last session id does not match
Diffstat (limited to 'src/lib/testing_api_cmd_pay.c')
-rw-r--r--src/lib/testing_api_cmd_pay.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/testing_api_cmd_pay.c b/src/lib/testing_api_cmd_pay.c
index 68e8b22c..a9947a50 100644
--- a/src/lib/testing_api_cmd_pay.c
+++ b/src/lib/testing_api_cmd_pay.c
@@ -316,7 +316,7 @@ check_payment_cleanup (void *cls,
* refunded (not refunded).
* @param refund_amount the amount that was refunded to this
* contract.
- * @param payment_redirect_url URL where the payment has to be
+ * @param fallback_request_payment_url URL where the payment has to be
* addressed.
*/
static void
@@ -326,7 +326,7 @@ check_payment_cb (void *cls,
int paid,
int refunded,
struct TALER_Amount *refund_amount,
- const char *payment_redirect_url)
+ const char *fallback_request_payment_url)
{
struct CheckPaymentState *cps = cls;
@@ -341,7 +341,7 @@ check_payment_cb (void *cls,
paid);
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"check payment: url: %s\n",
- payment_redirect_url);
+ fallback_request_payment_url);
if (paid != cps->expect_paid)
TALER_TESTING_FAIL (cps->is);