|
|
@@ -167,7 +167,7 @@ Header `token` is required. The explicit JSON DTO contains only:
|
|
|
{"orderId":"991786433092835","paymentMethod":"APPLE_PAY"}
|
|
|
```
|
|
|
|
|
|
-The endpoint is used after the App has destroyed the original payment WebView and the user explicitly starts payment again. The server never returns or replays the old form. It first executes the same authenticated, signed gateway query as `/query`:
|
|
|
+The endpoint is used after the App has destroyed the original payment WebView and the user explicitly starts payment again. The server never returns or replays the old form. If no local attempt is currently queryable (a terminal `FAILED`/`SUPERSEDED` attempt has released its active pointer), skip the gateway query and create a fresh attempt directly; an already-paid order is still rejected by the create-side validation with `ORDER_ALREADY_PAID`. Otherwise it first executes the same authenticated, signed gateway query as `/query`:
|
|
|
|
|
|
- `PAID`: return `ORDER_ALREADY_PAID` and do not create a payment.
|
|
|
- `FAILED`: create a fresh attempt and form.
|