BixPay card integration, phase 1 (Marty approved the copy 2026-10-29; docs/BIXPAY-INTEGRATION.md): gated by site config bixpayLive (off by default). Profile > BixPay card field (partner link validated: bix.ibportal.io/auth/register, e= token, a=1; the appId=3 card-customer link is refused with a message), bixpay.js resolver own > sponsor chain (10 levels) > company link (bixCompanyLink, seeded with Marty's partner link), every surface says whose link it is. Wallet tab card, one-week Overview announcement (24 h snooze), one sentence in TierPaid payout emails and the games' wallet nudges, Promo tools > BixPay tab (3 posts, email swipe, 4 text-only banners on the Spaces CDN, tracked link + per-member clicks), public guide /bixpay with masked app screenshots, chatbot canned answers + facts gated to 'coming soon' while off (KNOWLEDGE_DATE 2026-10-29). Clicks per surface via /go/bixpay in the admin Traffic tab; admin Overview counts members with a link; member card shows it; signed /api/partner/bixpay and the lssync profile row carry it for LinkSpin/CTB. accounts.bix_partner_link column (db.js alterSafe). Tests: qa/bixpay.test.cjs (17) + walk.mjs BixPay block; my.js/promo.js/admin.js ?v=20261029bx.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
+32
-2
@@ -185,6 +185,7 @@
|
||||
<div class="card" id="fdfCard" hidden></div>
|
||||
<div class="card" id="wwCard" hidden></div>
|
||||
<div class="card" id="rfCard" hidden aria-live="polite"></div>
|
||||
<div class="card" id="bixCard" hidden></div>
|
||||
<div class="card" id="gpNudge" hidden></div>
|
||||
<div class="card gs" id="gsCard" hidden>
|
||||
<div class="card-head"><h3>Getting started</h3><span class="sub" id="gsSub"></span></div>
|
||||
@@ -832,6 +833,21 @@
|
||||
<button class="chip-t" data-promo="videos" type="button" role="tab">Videos</button>
|
||||
<button class="chip-t" data-promo="viral" type="button" role="tab">Viral links</button>
|
||||
<button class="chip-t" data-promo="games" type="button" role="tab">🎮 Games</button>
|
||||
<button class="chip-t" data-promo="bixpay" type="button" role="tab" hidden>💳 BixPay</button>
|
||||
</div>
|
||||
<!-- BixPay partner kit (2026-10-29): the member's resolved partner link, posts, an email swipe and four text-only banners; promo.js fillBix -->
|
||||
<div class="card promo-sec" id="promo-bixpay" hidden>
|
||||
<div class="card-head"><h3>💳 BixPay: a Visa card for your POL</h3><span class="sub" id="bixPromoSub">every link and banner here carries your partner link</span></div>
|
||||
<p class="muted small" style="margin:0 0 10px">BixPay is a self-custody wallet with a Visa card, spent from USDT or USDC. Anyone who signs up through your link is credited to you in your BIX portal, up to ten levels deep. 3% per purchase, no load fee. See BIX's terms for other charges. <a href="/bixpay" target="_blank" rel="noopener">Read the guide</a>.</p>
|
||||
<div class="promo-strip" style="padding:0 0 12px"><div><span class="eyebrow" style="margin:0 0 4px">Your BixPay partner link</span><div class="mono small" id="bixPromoLink" style="overflow-wrap:anywhere">…</div><div class="small muted" id="bixPromoUsing" style="margin-top:4px"></div></div><span><button class="btn small" id="bixPromoCopy" type="button">Copy link</button> <button class="btn small sec" id="bixPromoShare" type="button" hidden>Share</button></span></div>
|
||||
<div class="promo-strip" style="padding:0 0 12px"><div><span class="eyebrow" style="margin:0 0 4px">Your tracked link</span><div class="mono small" id="bixPromoGo" style="overflow-wrap:anywhere">…</div><div class="small muted" style="margin-top:4px">The posts and banners below use this one. It counts the click here, then opens your partner link. <span id="bixPromoClicks"></span></div></div><span><button class="btn small sec" id="bixPromoGoCopy" type="button">Copy tracked link</button></span></div>
|
||||
<div class="card-head"><h3>Posts</h3><span class="sub">your link is already in them</span></div>
|
||||
<div id="bixPromoPosts"></div>
|
||||
<div class="card-head" style="margin-top:14px"><h3>Email swipe</h3><span class="sub">plain text, paste it into any mailer</span></div>
|
||||
<div id="bixPromoSwipe"></div>
|
||||
<div class="card-head" style="margin-top:14px"><h3>Banners</h3><span class="sub">text only, no BIX logo; each embed carries your tracked link</span></div>
|
||||
<div id="bixPromoBanners"></div>
|
||||
<p class="small muted" style="margin:12px 0 0">BixPay is a separate company. BIX issues the wallet and the card through its banking partners and sets its own fees, limits, eligibility and terms. InstantAdPay is not the card issuer and earns a referral commission when you sign up through a partner link. Card availability varies by country. Crypto assets can lose value.</p>
|
||||
</div>
|
||||
<div class="card promo-sec" id="promo-games" hidden>
|
||||
<div class="card-head"><h3>🎮 Our games</h3><span class="sub">free to play, every link carries your username</span></div>
|
||||
@@ -1082,6 +1098,18 @@
|
||||
</div>
|
||||
<p><button class="btn" id="woSaveBtn">Save wall positions</button></p>
|
||||
</div>
|
||||
<!-- BixPay partner link (2026-10-29): one field, validated server-side (/api/my/bixpay); shown while bixpayLive is on -->
|
||||
<div class="card" id="pfBixCard" hidden>
|
||||
<h3>BixPay card</h3>
|
||||
<p class="muted small">Join BixPay as a partner, then paste your Partner link here. Members and visitors who get a card through
|
||||
your pages are credited to you in your BIX portal, up to ten levels deep.</p>
|
||||
<p><label class="small muted" for="pfBixLink" style="display:block;margin-bottom:4px">Your BixPay partner link</label>
|
||||
<input id="pfBixLink" maxlength="300" placeholder="https://bix.ibportal.io/auth/register?e=...&a=1" style="width:100%" autocomplete="off" spellcheck="false"></p>
|
||||
<p class="small muted" style="margin:0 0 10px">Where to find it: BIX portal > Profile > Partner (the second box). Copy the link.</p>
|
||||
<p style="display:flex;gap:8px;flex-wrap:wrap;align-items:center"><button class="btn" id="pfBixSave" type="button">Save partner link</button>
|
||||
<a class="btn small sec" href="/bixpay" target="_blank" rel="noopener">Not a BixPay partner yet? How it works</a></p>
|
||||
<p class="small" id="pfBixStatus" style="margin:10px 0 0"></p>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h3>Sponsor chat</h3>
|
||||
<p class="muted small">Your line can message you one-to-one for help, and you can message anyone
|
||||
@@ -1186,6 +1214,8 @@
|
||||
and it unlocks the full flow. Buying any package does this automatically.</p>
|
||||
<button class="btn sec" id="activateBtn">Activate payouts</button>
|
||||
</div>
|
||||
<!-- BixPay Visa card (2026-10-29, docs/BIXPAY-INTEGRATION.md): shown while site config bixpayLive is on; copy in my.js renderBixWallet -->
|
||||
<div class="card" id="bixWalletCard" hidden></div>
|
||||
<div class="card ad-foot" id="adSlotPane-wallet" hidden></div>
|
||||
</div>
|
||||
|
||||
@@ -1221,9 +1251,9 @@
|
||||
</div>
|
||||
<script src="/assets/common.js?v=20261023ov"></script><script src="/assets/welcome.js?v=20260923b"></script>
|
||||
<script src="/assets/wallet.js?v=20260911a"></script>
|
||||
<script src="/assets/promo.js?v=20261028q"></script>
|
||||
<script src="/assets/promo.js?v=20261029bx"></script>
|
||||
<script src="/assets/support.js?v=20261016a"></script>
|
||||
<script src="/assets/my.js?v=20261028pp"></script>
|
||||
<script src="/assets/my.js?v=20261029bx"></script>
|
||||
<script src="/assets/fuel.js?v=20261025ff"></script>
|
||||
<script src="/assets/engine-room.js?v=20261025ff"></script>
|
||||
<script src="/assets/chat.js?v=20261016n"></script>
|
||||
|
||||
Reference in New Issue
Block a user