PGU • OVERVIEW + EXAMPLE

Planetary Geo Unit (PGU)

This page is public-facing and stays stable. The example certificate is served from the portal path so there’s only one “truth” to maintain.

Quick access
Open the right things
Open PGU Page Buy 1 PGU (Test)
PayPal hosted checkout. After payment, PayPal returns to:
/portal/uts/console/paypal-return.php
Watch only: orders.ndjson, captures.ndjson, wallet.json, receipts.ndjson, ledger.ndjson
View Print Certificate
Canonical certificate URL:
/portal/wst/certificates/pgu_example.html
If the preview image ever disappears, just re-copy your PNG to: /public_html/library/_assets/pgu-certificate-sample.png
Test lane
Buy PGU (PayPal)
Ready for a single clean transaction.
Quantity (1–20)
Holder Type
Holder WST ID
This is who receives the PGU in wallet.json.
Optional Note
Stored only if your API supports it.
Tomorrow’s “watch only these” file list:
orders.ndjson
captures.ndjson
wallet.json
receipts.ndjson
ledger.ndjson
Status log will appear here.
Return flow: PayPal will redirect back to this page. If the URL includes ?token= or ?order_id=, the Capture button will light up.
Integrity
No more drift
Common fail case: someone links to /public_html/... in the browser (that will 404). Public URLs must start with /portal/ or /library/.
If you want the “View Example” to open a PNG instead of the HTML certificate, point it to:
/library/_assets/pgu-certificate-sample.png
Hint
One PGU ignition
Run 1 PGU end-to-end first. After capture succeeds, bind coordinates, then materialize. That first true certificate is the spark.
If you later allow up to 20, make sure your capture guard matches the storefront.