summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-06-29 19:36:47 -0400
committerJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-06-29 19:36:47 -0400
commitbd6a7e949fa07c7b4c87a694c0037e2df3903665 (patch)
tree3e4119fe3ac79103aa14d926b9838bf83c395fbf /src/lib
parente24dd4856b91c4958df7c578275f60cdc11401f2 (diff)
downloadmerchant-bd6a7e949fa07c7b4c87a694c0037e2df3903665.tar.gz
merchant-bd6a7e949fa07c7b4c87a694c0037e2df3903665.tar.bz2
merchant-bd6a7e949fa07c7b4c87a694c0037e2df3903665.zip
get pay-again and pay-abort working again
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/merchant_api_post_order_abort.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/merchant_api_post_order_abort.c b/src/lib/merchant_api_post_order_abort.c
index f1a8fc42..f3c8224d 100644
--- a/src/lib/merchant_api_post_order_abort.c
+++ b/src/lib/merchant_api_post_order_abort.c
@@ -138,7 +138,7 @@ check_abort_refund (struct TALER_MERCHANT_OrderAbortHandle *oah,
uint32_t exchange_status;
json_t *exchange_reply;
struct GNUNET_JSON_Specification spec_es[] = {
- GNUNET_JSON_spec_uint32 ("exchange_status",
+ GNUNET_JSON_spec_uint32 ("exchange_http_status",
&exchange_status),
GNUNET_JSON_spec_json ("exchange_reply",
&exchange_reply),
@@ -179,7 +179,7 @@ check_abort_refund (struct TALER_MERCHANT_OrderAbortHandle *oah,
{
struct TALER_RefundConfirmationPS rr = {
- .purpose.purpose = htonl (TALER_SIGNATURE_MERCHANT_REFUND),
+ .purpose.purpose = htonl (TALER_SIGNATURE_EXCHANGE_CONFIRM_REFUND),
.purpose.size = htonl (sizeof (rr)),
.h_contract_terms = oah->h_contract_terms,
.coin_pub = oah->coins[i].coin_pub,