fix 1.26.1: public order settle uses StatusPaidResponse
This commit is contained in:
parent
39e5eccc25
commit
bc785f8466
6 changed files with 34 additions and 54 deletions
|
|
@ -228,15 +228,15 @@ Sources: `https://bank.hacktivism.ch/intro/stats.json`, exchange/merchant intro
|
|||
| **Workaround** | Create CHF:0 `stickers` template on stage.my (merchant token). Until then phase ERROR is correct. |
|
||||
| **Wanted** | Same public template as prod on stage. |
|
||||
|
||||
### 9c. TESTPAYSAN token-pay: public order JSON has no `"paid":true`
|
||||
### 9c. public GET paid = `StatusPaidResponse` (no `paid` / `order_status`)
|
||||
|
||||
| | |
|
||||
|--|--|
|
||||
| **Seen** | 2026-08-30 magikoopa e2e `mon09529`; OIDs `2026.242-0K4GJPET664XG`, `Y4T1SDEEZ5S3R`, `XWNC7P1VH21FP`; `token-pay paid1=FAIL paid2=FAIL free1=FAIL` while suite exit 0 |
|
||||
| **Area** | **cli** / **ops** |
|
||||
| **Problem** | After `handle-uri --yes --choice-index=0\|1`, `check_e2e.sh` settle polls the **public** merchant order JSON (`?token=`). That body often has `refunded:false` and **no** `"paid":true` / `"order_status":"paid"` during the poll window. Private `GET …/private/orders/OID` later shows `paid=true`; kiosque `issued=2 used=2`. Parser treats missing field as unpaid. |
|
||||
| **Workaround** | Settle against **instance private** `order_status=paid` (kiosque token), not public JSON. Keep poll ≥20×2s. Do not trust `handle-uri` exit 0 alone (expired/failed still exit 0). |
|
||||
| **Wanted** | Public order GET with `order_status` for the pay token; wallet-cli non-zero on Payment expired/failed. |
|
||||
| **Seen** | TESTPAYSAN token-pay 2026-08-30/31; e2e WARN not settled; body `{refunded:false, refund_taken:…}` |
|
||||
| **Area** | **ops** |
|
||||
| **Problem** | Suite required `paid` / `order_status` on **public** GET. Spec does not (`get-orders-ORDER_ID.rst` `StatusPaidResponse`: refund_* only). `order_status:"paid"` is **private** (`CheckPaymentPaidResponse`). |
|
||||
| **Workaround** | `merchant_order_json_is_paid`: refunded/refund_taken, no `taler_pay_uri`. Do not trust `handle-uri` exit 0. |
|
||||
| **Wanted** | wallet-cli non-zero on Payment expired/failed. |
|
||||
|
||||
### 9d. Merchant `/keys` parse fail → 2010 then recover from DB
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue