Commit Graph

111 Commits

Author SHA1 Message Date
Marcello Stanisci
b84ba7074b
New error code for a unknown reserve public key.
Specific to the /reserve/status API.
2018-05-22 12:42:02 +02:00
Marcello Stanisci
8ec523afbb
Triggering 409 Conflict for /refresh/reveal 2018-05-16 13:18:23 +02:00
Christian Grothoff
cb55c1a3af
Changing configuration structure to enable multiple accounts.
This change enables using multiple wire plugins at the same time.
Also, we now distinguish between the wire plugin (i.e. EBICS or
taler_bank) and the wire method (i.e. SEPA or x-taler-bank) that
the wire plugin is implementing.  The "taler-bank" wire method
was renamed from "test" to "x-taler-bank".

This also changes the format of the /wire response of the exchange,
as we now need to return multiple accounts.  Note that wire fees
are specified per wire method, not per wire account.

taler-exchange-keyup now automatically signs all of the /wire
responses in the location specified by the configuration.

Account identification in wire plugins was changed to use
payto://-URLs instead of method-specific JSON fields.  Signing
and validation of /wire responses was moved from each wire
plugin to a generic validation method in libtalerutil (crypto)
or libtalerjson (for JSON-formatted inputs).
Convenience methods were added to generate JSON for wire accounts
(salting, signing).

Various section and option names were adjusted to streamline the
configuration and make it more consistent overall.  Documentation
was updated as well.
2018-04-02 14:29:44 +02:00
Christian Grothoff
afe945167a
new error code for #5262 2018-01-22 21:59:14 +01:00
Florian Dold
9f15044d5f
error codes for merchant /check-payment 2018-01-22 13:41:32 +01:00
Christian Grothoff
cd0f9e8f8d
Florian is right, this should be a 409, not 500 2018-01-19 02:29:27 +01:00
Christian Grothoff
c300b88af2
remove dead error code 2018-01-16 11:46:05 +01:00
Christian Grothoff
4f2ad1051b
change 'f' to 'contribution' in /deposit 2018-01-01 22:28:49 +01:00
Marcello Stanisci
346c351e5f
redefining/adding bank error codes 2017-12-22 21:22:57 +01:00
Marcello Stanisci
8021e7064d
adding more bank's error codes 2017-12-15 16:17:00 +01:00
Christian Grothoff
0f5ef01dd3
nicer error reporting 2017-12-14 13:36:59 +01:00
Christian Grothoff
2d658cef65
need a few more error codes 2017-12-09 23:58:57 +01:00
Christian Grothoff
042616899f
largely fix #5077 2017-12-06 19:24:00 +01:00
Christian Grothoff
499247a480
fixing #5178 2017-11-29 20:23:08 +01:00
Florian Dold
aa79aca12f
Add error code TIP_QUERY_TIP_ID_UNKNOWN 2017-11-27 15:25:02 +01:00
Christian Grothoff
8440de1333
work on #5077: reserve_pub vs. wtid issue, add reject functionality to wire plugin API (with stub implementations for now) 2017-11-12 15:46:52 +01:00
Christian Grothoff
b6907bb6bf
clarify soft DB error code - they now could be returned 2017-11-02 14:19:38 +01:00
Christian Grothoff
f3939081d3
define more error codes 2017-11-02 14:03:18 +01:00
Christian Grothoff
0b580d8f68
helps to keep enum values distinct 2017-11-01 12:42:24 +01:00
Christian Grothoff
4f212a11ce
add status code 2017-11-01 12:36:32 +01:00
Christian Grothoff
288c7160d7
more error codes for tipping 2017-10-24 00:21:07 +02:00
Christian Grothoff
2cb6c5b9fe
starting with error codes for tipping API 2017-10-22 19:07:07 +02:00
Christian Grothoff
332a37292c
handle (most) TEH_KS_acquire errors 2017-10-06 21:54:55 +02:00
Marcello Stanisci
26486e6f21
error code for merchant /pay db transaction 2017-07-25 11:56:15 +02:00
Christian Grothoff
3e111f4263
introducting error code for merchant detecting wire fee inconsistency 2017-07-21 15:18:59 +02:00
Christian Grothoff
1e8d0eb462
implement #5114 2017-07-20 10:00:42 +02:00
Christian Grothoff
f048de9782
preparations for #4840 2017-06-29 20:46:52 +02:00
Christian Grothoff
0ba88250a9
expand set of EC codes to better cover merchant /refund (likely still not perfect) 2017-06-29 14:21:49 +02:00
Christian Grothoff
87e16541af
incomplete work on fixing #5010 for /refresh/melt 2017-06-20 23:17:57 +02:00
Marcello Stanisci
274ec6191f
error code for merchant's /refund 2017-06-14 18:44:44 +02:00
Marcello Stanisci
d7e7cf517a
error code for merchant's /refund 2017-06-14 15:13:13 +02:00
Marcello Stanisci
19633bedbb
error code for merchant's /refund 2017-06-14 11:41:23 +02:00
Marcello Stanisci
5176b25085
error code for merchant's /refund 2017-06-14 11:24:53 +02:00
Florian Dold
85350ced32
rename proposal_data to contract_terms (see #4879) 2017-05-29 01:15:41 +02:00
Christian Grothoff
e6d09d2568
handle error code returned by TALER_amount_subtract in new error case TALER_EC_PAYBACK_COIN_BALANCE_NEGATIVE 2017-05-09 13:33:26 +02:00
Christian Grothoff
21d2613287
first sketch at db module implementation for #3887 2017-03-29 16:42:38 +02:00
Christian Grothoff
b38134ea4a
implement /payback parsing and signature verification 2017-03-29 14:43:54 +02:00
Marcello Stanisci
b06e314dbb
Adding new error code. 2017-03-10 17:43:27 +01:00
Christian Grothoff
0214e426a6
add amount division API and test case 2017-03-06 16:35:30 +01:00
Christian Grothoff
326f3b2a43
add EC codes for merchant 2017-03-05 18:51:47 +01:00
Christian Grothoff
6ab67a3a76
implementing #4929 2017-03-04 16:49:33 +01:00
Marcello Stanisci
1c08e3dcb1
error code for instance unknown 2017-02-27 11:55:37 +01:00
Florian Dold
92246c3e88
remove transaction_id, only one payment per proposal allowed 2017-02-07 15:09:10 +01:00
Florian Dold
8c820b6916
contract terminology renaming (#4877) 2017-02-06 15:43:06 +01:00
Marcello Stanisci
a60c5e9c97
Renaming's first steps. 2017-02-03 18:26:47 +01:00
Marcello Stanisci
21df5cb161
Error codes for /map/out 2016-12-12 15:05:05 +01:00
Marcello Stanisci
67fdaaef84
db error code for /map/in 2016-12-09 14:55:36 +01:00
Marcello Stanisci
b536d82f90
Syntax error 2016-12-09 14:40:24 +01:00
Marcello Stanisci
c328d745a3
Error code for /map/in (imported by merchant backend) 2016-12-09 14:39:06 +01:00
Christian Grothoff
7d6b8d53d5
addressing #4803: nicer error messages for invalid wire formats 2016-11-18 18:29:18 +01:00
Christian Grothoff
bb7c58921e
if reserve history computation reveals database inconsistency, do not abort but return proper error code 2016-11-17 15:33:31 +01:00
Marcello Stanisci
4f304b2745 typo 2016-11-04 14:23:44 +01:00
Marcello Stanisci
1244bcf3a6 Adding error code for conflicting /track/transfer 2016-11-04 14:20:42 +01:00
Marcello Stanisci
88df33632f typo 2016-10-27 11:07:29 +02:00
Christian Grothoff
7341b21fa3
return taler-specific error codes from C API as well
(#4497/4705)
2016-10-20 21:00:40 +02:00
Christian Grothoff
e7875fb261
introducing error codes for the merchant backend 2016-10-20 15:11:12 +02:00
Christian Grothoff
0f4160d4a4
introducing error codes for the merchant backend 2016-10-20 15:07:42 +02:00
Christian Grothoff
70462f0b94
implement #4497/#4705 -- addition of unique numeric error codes -- for the server-side of the exchange 2016-10-18 23:05:29 +02:00
Marcello Stanisci
f03c1175df typo 2016-10-07 18:21:12 +02:00
Marcello Stanisci
59c6856284 fixing #4594 2016-07-07 17:55:25 +02:00
Christian Grothoff
389c18c18c add file for error codes 2016-06-14 09:50:59 +02:00