Support: Help screen, public /support page, ticket link and chat hand-off on InstantAdPay's shared desk
helpdesk.js proxies to InstantAdPay's partner API (/api/partner/support/*), signed with the same LS_SYNC_SECRET + X-LS-Ts/X-LS-Sig as iapsync.js, IAP_URL as the base. No tickets are stored here. - /help: Control Room screen (list, new ticket with the desk's categories, thread, reply); Help on the rail with an unread badge when Marty has replied (/api/my/support/unread, 60 s cache) - /support and /support/t/<token>: public form + private ticket link, behind the sign-up guard's walls (honeypot, form age, IP/email limits, icon check) on their own counters; these pages, their API and their files pass the curtain for anonymous visitors - chat bubble: "Send this to support" hand-off, greeting points to Help and /support; chatbot flags hand-off on support questions and unsure answers; CANNED + FACTS updated, KNOWLEDGE_DATE 2026-10-16 - Support in the home nav, common.js nav/footer and every public footer; copy that said "message support" now points at Help - cache tags bumped (common.js, cr-shell.js, chat.js, my.js, credits-screen.js) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -85,7 +85,7 @@
|
||||
if (sp.sponsorBlocked === 'claim' && sp.claim) return (sp.claim.nobody ? 'Nobody above you on LinkSpin has a wallet yet, so there is no one for the contract to pay. ' : who + ' has not linked a wallet on LinkSpin yet. ') + 'Your first purchase waits until ' + (sp.claim.deadline ? new Date(sp.claim.deadline).toLocaleDateString() : 'they do') + ', then it goes ahead with the nearest member above who has one. Nothing was charged.';
|
||||
if (sp.sponsorBlocked === 'notActivated') return who + ' has not switched on payouts yet, so this purchase would credit the company instead of them. Ask them to switch on payouts first (one free transaction).';
|
||||
if (sp.sponsorBlocked === 'rpc') return 'Could not confirm your sponsor on the chain just now. Try again in a minute; nothing was charged.';
|
||||
return 'Your sponsor link could not be matched to a member. Message support before buying so ' + who + ' gets credit.';
|
||||
return 'Your sponsor link could not be matched to a member. Send a ticket from Help (/help) before buying so ' + who + ' gets credit.';
|
||||
}
|
||||
async function linkWallet() { CR.toast('Check your wallet for the free link signature…'); await IAPWallet.signIn(); CR.toast('Wallet linked. Earnings pay there from now on.'); await load(); }
|
||||
async function activate() {
|
||||
|
||||
Reference in New Issue
Block a user