Give Live TV passes a front door: /iptv, and the pitch where a reader has no line - #210
Merged
Conversation
… has no line The argontv line has been for sale since January, and the only way to find it was the IPTV tab inside account settings. The Live TV page linked to /account, which opens on the Account tab, so even the one link there landed a click short. Nothing on /pricing mentioned it. /iptv is the page that sells a pass and reports on the one held, readable signed out the way /pricing is. Every price on it comes from the same table the checkout charges, so the page can never advertise one number and the account take another. Buying still happens on the account's IPTV tab, where the crypto picker and the CoinPay handoff already live; /iptv chooses the term and sends the reader there with it preselected, through login if need be, and the choice survives the round trip. The same card is pitched on Live TV to a signed-in reader with no playlist at all, and nowhere to somebody who already has channels, which is the rule tipoffwatch applies on its event page. /pricing carries it between the plans and the payment methods. /account now honours ?tab= and ?package=, which it never did. Not touched: the reseller call itself. The stored argontv key is refused by distributors.argontv.nl and prod has no IPTV_ARGON_TEMPLATE_ID, so a purchase would pay and then fail to provision until both are fixed in the reseller dashboard and Doppler. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SKAohrRkqLKVQL2cGCAkR5
ThreatCrush Security Scan99 finding(s) HIGH/CRITICAL: 11 | MEDIUM: 29 | LOW: 59
…and 49 more. Full results in the Security tab. Snippets are redacted; ThreatCrush never prints matched credential material. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The argontv line has been for sale since January and the only way to find it was the IPTV tab inside account settings. The Live TV page linked to
/account, which opens on the Account tab, so even that link landed a click short./pricingnever mentioned it. tipoffwatch sells its live pass from a page of its own and pitches it on the event page to a reader with no line; this does the same here.What
/iptv, the page that sells a pass and reports on the one held. Readable signed out like/pricing. Every price comes fromgetAllPackagePrices, the same table the checkout charges, so the page can never advertise one number and the account take another. The four real terms only; the test packages stay off sales surfaces./iptvchooses the term and sends the reader to/account?tab=iptv&package=<key>, through/login?redirect=when signed out, and the choice survives the round trip./accountnow honours?tab=and?package=, which it never did.IptvOfferCard, one component for the pitch: the hero on/iptv, a compact card on Live TV for a signed-in reader with no playlist at all (and nowhere for somebody who already has channels), and a section on/pricingbetween the plans and the payment methods.Not touched, and worth knowing before this ships
The reseller call itself. The stored
IPTV_ARGON_API_KEYis refused bydistributors.argontv.nl(Unauthorizedon/api/v1/templateswith every auth shape I tried), and prod has noIPTV_ARGON_TEMPLATE_ID, so today a purchase would settle and then fail to provision a line. Both need fixing in the argontv reseller dashboard and Doppler before this page is worth promoting. The page is honest either way: it sells nothing itself.Tests
src/app/iptv/page.test.tsx: the four terms and prices, every button's destination, the signed-out login round trip with the term kept, an unknown?package=ignored, a held pass reported, and no API call when signed out. Pre-commit ran the full suite green;tsc --noEmitclean; no lint errors in the new files.🤖 Generated with Claude Code
https://claude.ai/code/session_01SKAohrRkqLKVQL2cGCAkR5