diff --git a/chatbot.js b/chatbot.js index 9f09ec2..db3f165 100644 --- a/chatbot.js +++ b/chatbot.js @@ -53,7 +53,7 @@ const CANNED = [ a: 'The BixPay card spends USDT or USDC, so the step is POL to USDT or USDC first. Three ways: (1) swap your POL for USDT or USDC on any exchange or on-ramp you already use, then send it to your BixPay wallet on the Polygon network (open the BIX app, Wallet > Receive, pick USDT or USDC, and use the Polygon address); (2) in the US, Cash App can send crypto straight to the BixPay wallet; (3) BIX has said an in-app swap is coming, and we will add it here when it ships. Once the USDT or USDC is in the wallet, tap TOPUP on the card. No load fee; 3% per purchase; see BIX’s terms for other charges. The full walk-through with screenshots is at https://instantadpay.com/bixpay.' }, { id: 'bixpay-card', title: 'How to get the BixPay card', q: ['How do I get the BixPay card?', 'How do I sign up for BixPay?', 'Is BixPay available in my state?'], tags: ['bixpay', 'bix', 'visa card', 'virtual card', 'sign up', 'states'], re: /(bix|bixpay).*(get|sign ?up|join|order|apply|virtual|plastic|metal|state|country|available|how much|cost|price|\$9)|(get|sign ?up for|order).*(bix|bixpay)/i, - a: 'Open the BixPay card in your Wallet tab (Members > Wallet) and tap Get your BixPay card. That opens a partner sign-up link, so you join as a partner and the card and the referral plan come with it: 1) register in the BIX portal through the link, 2) download the BIX app and create your wallet, 3) in the app open Settings > Scan QR and scan the code in your portal profile to link the two, 4) Cards > Create Card for the $9.99 virtual Visa (plastic, metal and gold cards cost more). KYC is required for the card. In the US it is open in 31 states so far; not in your state yet? You can still get the wallet and build. Elsewhere availability varies by country. Guide: https://instantadpay.com/bixpay.' }, + a: 'Open the BixPay card in your Wallet tab (Members > Wallet) and tap Get your BixPay card. That opens a partner sign-up link, so you join as a partner and the card and the referral plan come with it: 1) register in the BIX portal ON THE PAGE THE LINK OPENS (if you are reading this inside Gmail or Telegram, open the page in Chrome or Safari first; do not install the app first and do not use the portal’s own Sign Up menu, or your sponsor is lost and BIX shows the referrer as N/A), 2) download the BIX app and create your wallet, 3) in the app open Settings > Scan QR and scan the code in your portal profile to link the two, 4) Cards > Create Card for the $9.99 virtual Visa (plastic, metal and gold cards cost more). KYC is required for the card. In the US it is open in 31 states so far; not in your state yet? You can still get the wallet and build. Elsewhere availability varies by country. Guide: https://instantadpay.com/bixpay.' }, { id: 'bixpay', title: 'What BixPay is', q: ['What is BixPay?', 'What is the BIX card?', 'Can I spend my POL with a Visa card?'], tags: ['bixpay', 'bix', 'visa', 'card', 'spend pol', 'wallet'], re: /(bix|bixpay|bix card|visa card|debit card|spend (my )?(pol|crypto|earnings)|crypto card)/i, a: 'BixPay is a self-custody wallet with a Visa card, made by BIX, a separate company. You send USDT or USDC to it on Polygon, load the card, and spend wherever Visa is accepted, including Apple Pay and Google Pay. Virtual cards from $9.99. 3% per purchase, no load fee; see BIX’s terms for other charges. InstantAdPay is not the card issuer; members who join BixPay as partners get their own partner link, and anyone who gets a card through their pages is credited to them in the BIX portal, up to ten levels deep. Where to find it: Members > Wallet (the card), Members > Profile (your partner link), Promo tools > BixPay (posts and banners), and the guide at https://instantadpay.com/bixpay. Crypto assets can lose value.' }, diff --git a/public/assets/bixpay-guide.js b/public/assets/bixpay-guide.js index 6cc7e1b..4069674 100644 --- a/public/assets/bixpay-guide.js +++ b/public/assets/bixpay-guide.js @@ -1,14 +1,33 @@ // BixPay guide (/bixpay, 2026-10-29): the CTA carries the viewer's resolved partner link (their own when signed in, else the // member whose ?ref brought them here or whose sponsor cookie they carry, else the network link), always through the counted // /go/bixpay link. The server already folded ?ref into the sponsor cookie; the ref is passed along too so the first view resolves. +// In-app browsers (Gmail, Telegram, Facebook webviews): BIX's register page runs a Cloudflare check that often fails there, and +// the invite token lives only in the URL, so a member who then reopens BIX elsewhere registers with no sponsor (bizventures, +// 2026-10-29: referrer N/A). Those viewers get a notice with the link to copy into a real browser. (function () { var cta = document.getElementById('bixCta'), using = document.getElementById('bixUsing'), soon = document.getElementById('bixSoon'); + var box = document.getElementById('bixInApp'), boxLink = document.getElementById('bixInAppLink'), boxCopy = document.getElementById('bixInAppCopy'); if (!cta) return; + function inApp() { + var u = navigator.userAgent || ''; + if (/FBAN|FBAV|FB_IAB|Instagram|Line\/|Twitter|Snapchat|GSA\/|Telegram|\bwv\b|WebView/i.test(u)) return true; + return /iPhone|iPad|iPod/.test(u) && !/Safari\//.test(u); // an iOS web view: no Safari token + } var ref = ''; try { ref = new URLSearchParams(location.search).get('ref') || ''; } catch (e) { ref = ''; } fetch('/api/public/bixpay' + (ref ? '?ref=' + encodeURIComponent(ref) : ''), { credentials: 'same-origin' }).then(function (r) { return r.json(); }).then(function (d) { if (!d || !d.live) { if (soon) soon.hidden = false; cta.href = '/my#wallet'; if (using) using.textContent = 'Sign in to your dashboard and open the Wallet tab.'; return; } cta.href = d.go; if (using) using.textContent = d.whose === 'you' ? 'The button opens your own BixPay partner link.' : d.whose === 'sponsor' ? 'The button opens ' + d.name + "'s BixPay partner link." + (d.signedIn ? ' Add yours in Members > Profile.' : '') : 'The button opens the network’s BixPay partner link.' + (d.signedIn ? ' Add yours in Members > Profile.' : ''); + if (box && inApp()) { + box.hidden = false; + if (boxLink) boxLink.textContent = d.go; + if (boxCopy) boxCopy.addEventListener('click', function () { + var done = function () { boxCopy.textContent = 'Copied'; setTimeout(function () { boxCopy.textContent = 'Copy link'; }, 2000); }; + var select = function () { try { var r = document.createRange(); r.selectNodeContents(boxLink); var s = window.getSelection(); s.removeAllRanges(); s.addRange(r); boxCopy.textContent = 'Selected: copy it'; } catch (e) {} }; // no native dialogs + if (navigator.clipboard && navigator.clipboard.writeText) navigator.clipboard.writeText(d.go).then(done, select); + else select(); + }); + } }).catch(function () {}); })(); diff --git a/public/assets/my.js b/public/assets/my.js index ce16b28..00747bd 100644 --- a/public/assets/my.js +++ b/public/assets/my.js @@ -1965,6 +1965,11 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str loadWednesdayCard(); setInterval(loadWednesdayCard, 120000); // ── BixPay Visa card (2026-10-29, docs/BIXPAY-INTEGRATION.md). me.bix comes from /api/me: { live, own, link, whose, name, using, go, announce, clicks }. // Copy is Marty's approved wording; no in-app swap claim, "3% per purchase, no load fee", the 31-states line. No em dashes. + // sign-up warning (2026-10-29, bizventures registered with referrer N/A): the BIX invite token lives only in the URL and their + // security check often fails inside app webviews, so members who reopen BIX elsewhere lose their sponsor + const BIX_SIGNUP_NOTE = 'Sign up on the page the button opens. Don’t install the BIX app first and don’t use the portal’s own Sign Up menu: your sponsor is lost and BIX shows the referrer as N/A.'; + const bixInApp = () => { const u = navigator.userAgent || ''; return /FBAN|FBAV|FB_IAB|Instagram|Line\/|Twitter|Snapchat|GSA\/|Telegram|\bwv\b|WebView/i.test(u) || (/iPhone|iPad|iPod/.test(u) && !/Safari\//.test(u)); }; + const BIX_INAPP_NOTE = 'You’re in an app’s built-in browser. BIX’s security check often fails here and your sponsor gets dropped: open instantadpay.com in Chrome or Safari first, then tap the button there.'; const BIX_BODY = 'BixPay is a self-custody wallet with a Visa card. Send USDT or USDC to it on Polygon, load the card, and spend it wherever Visa is accepted, including Apple Pay and Google Pay. Virtual cards from $9.99.'; const BIX_COMPLIANCE = '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.'; function renderBix(me) { @@ -1982,6 +1987,8 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str + '
3% per purchase, no load fee. See BIX\'s terms for other charges. Available in 31 US states so far. Not in your state yet? You can still get the wallet and build.
' + 'Get your BixPay card How it works
' + '' + esc(b.whose === 'you' ? b.using : b.using.replace(/\s*Add yours in Profile\.$/, '')) + (b.whose !== 'you' ? ' Add yours in Profile' : '') + '
' + + '' + esc(BIX_SIGNUP_NOTE.split('. ')[0]) + '. ' + esc(BIX_SIGNUP_NOTE.slice(BIX_SIGNUP_NOTE.indexOf('. ') + 2)) + '
' + + (bixInApp() ? '' + esc(BIX_INAPP_NOTE) + '
' : '') + '' + esc(BIX_COMPLIANCE) + '
' + esc(BIX_BODY) + ' 3% per purchase, no load fee.
' - + 'Get your BixPay card How it works ' + esc(b.using) + '
'; + + 'Get your BixPay card How it works ' + esc(b.using) + '
' + + '' + esc(BIX_SIGNUP_NOTE) + '
'; cardDismiss(oc, 'bix'); } } diff --git a/public/bixpay.html b/public/bixpay.html index 4c6f9fc..d34e2ae 100644 --- a/public/bixpay.html +++ b/public/bixpay.html @@ -69,6 +69,8 @@ Not a member yet? Join free by emailThe button opens a BixPay partner sign-up link.
+Sign up on the page the button opens. Don’t install the BIX app first and don’t use the portal’s own Sign Up menu: your sponsor is lost and BIX shows the referrer as N/A.
+The BixPay card is not switched on for InstantAdPay members yet. Check back soon.
Available in 31 US states so far. Not in your state yet? You can still get the wallet and build. Elsewhere, availability varies by country.
@@ -110,7 +112,7 @@Get the card
Tap Get your BixPay card above (or on your Wallet tab). It opens a BixPay partner sign-up, not the plain card-customer one, so the referral plan comes with the card.
Tap Get your BixPay card above (or on your Wallet tab). It opens a BixPay partner sign-up, not the plain card-customer one, so the referral plan comes with the card. Register on that page. If you opened this from Gmail or Telegram, open it in Chrome or Safari first; don’t install the app first and don’t use the portal’s own Sign Up menu, or your sponsor is lost (BIX then shows the referrer as N/A, and only BIX support can fix it).
Register on the page that opens (bix.ibportal.io). This is your partner back office: it shows your directs and levels and, under Profile, your own two links. The second one, labelled Partner, is the one you will paste into InstantAdPay later.
Install BixPay from your phone's app store and create the wallet in the app. Write the recovery phrase down and keep it offline: self-custody means nobody can reset it for you.
In the app open Settings > Scan QR and scan the QR code shown in your portal profile. That ties the wallet and card to your partner account so your activity counts.