# G6 #53 copy, business rule, admin

[Index](../index.md) | [Tree](../tree.md) | HTML version: [G6.html](G6.html)

#53 and the business rule that downloads need an account: the guest checkout-success text, the order email note, the absence of any guest download route, and the admin Customer Activity report rows for the new activity types.

<a id="a27"></a>
## A27 Checkout success page for a guest (#53)

*Language: EN | Mode: login | Status: PASS | Repo spec: none*

guest checkout/success shows both #53 sentences ("As you placed this order without logging in ..." and "You need an account to download PDFs ..."); logged-in contrast shows the unchanged customer text. Rendered by direct GET, not after a real checkout (Simple checkout cannot run on localhost)

![01. guest success page](../media/G6/A27-01-guest-success-page.png)
*01. guest success page*

![02. guest success text](../media/G6/A27-02-guest-success-text.png)
*02. guest success text*

![03. logged in text unchanged](../media/G6/A27-03-logged-in-text-unchanged.png)
*03. logged in text unchanged*

![04. logged in text close up](../media/G6/A27-04-logged-in-text-close-up.png)
*04. logged in text close up*

Video: [A27-checkout-success-guest](../media/G6/A27-checkout-success-guest.webm)

Video: [A27-checkout-success-guest-logged-in](../media/G6/A27-checkout-success-guest-logged-in.webm)

<a id="a28"></a>
## A28 Order email for a guest order with a PDF (#53)

*Language: EN | Mode: login | Status: PASS | Repo spec: none (S8 removed)*

real order email (status 0 -> 2 via api/order/history): "Once your payment has been confirmed ... You will need to log in to your account to see them; if you don't have an account yet, please create one with the email address you used for this order:" + link route=account/download; no guest_download link. Order rows, API rows and mails removed afterwards

![01. order confirmation mail download note](../media/G6/A28-01-order-confirmation-mail-download-note.png)
*01. order confirmation mail download note*

![02. order confirmation mail full](../media/G6/A28-02-order-confirmation-mail-full.png)
*02. order confirmation mail full*

Video: [A28-order-email-download-note](../media/G6/A28-order-email-download-note.webm)

<a id="a29"></a>
## A29 No guest download link exists (§0 rule)

*Language: EN | Mode: login | Status: PASS | Repo spec: none*

index.php?route=account/guest_download&order_id=1&code=abc returns HTTP 404 "The page you requested cannot be found!": no guest download link exists

![01. guest download route 404](../media/G6/A29-01-guest-download-route-404.png)
*01. guest download route 404*

Video: [A29-no-guest-download](../media/G6/A29-no-guest-download.webm)

<a id="a30"></a>
## A30 Admin Customer Activity report (EN)

*Language: EN | Mode: admin | Status: PASS | Repo spec: none*

seeded customer "E2E Issue4-<runId>" requested and confirmed the link; admin Customer Activity report, URL-scoped to that customer, shows "... was sent a link to confirm their email and add guest orders." and "... confirmed their email and added 1 guest order(s) to their account." with customer_id links (hover only). Only run rows (expectOnlyRunRows) before each shot; dashboard never recorded

![01. activity report rows](../media/G6/A30-01-activity-report-rows.png)
*01. activity report rows*

![02. activity report full page](../media/G6/A30-02-activity-report-full-page.png)
*02. activity report full page*

![03. customer link hover](../media/G6/A30-03-customer-link-hover.png)
*03. customer link hover*

Video: [A30-admin-activity-admin](../media/G6/A30-admin-activity-admin.webm)
