|author||MS <firstname.lastname@example.org>||2020-10-01 14:59:07 +0200|
|committer||MS <email@example.com>||2020-10-01 14:59:07 +0200|
Describing the situation where a customer tries to access one resource that was paid in the past, but whose cookies were deleted.
Diffstat (limited to 'design-documents')
1 files changed, 2 insertions, 1 deletions
diff --git a/design-documents/007-payment.rst b/design-documents/007-payment.rst
index 613a9ce..8f7050d 100644
@@ -53,7 +53,8 @@ When *resource-URL* is requested, the storefront runs the following steps:
7. If the client has not (fully) obtained the granted refunds yet, show a link to the public order page
of the backend to allow the client to obtain the refund. **Terminate.**
8. If the *order-status* is paid, return to the client the resource associated with *resource name*. **Terminate.**
-9. Otherwise, the *order-status* is unpaid. Redirect the client to *client-order-status-URL*. **Terminate.**
+9. Otherwise, either the *order-status* is unpaid or the customer tried to access a paid resource after having deleted their cookies. Redirect the client to *client-order-status-URL*. **Terminate.**
+10. If the wallet detects that the resource was paid before, it will resend the same payment again, and will get the item; if not, the wallet will create a new payment and send to the merchant.