My line: how pay it forward actually works here, and a confirmation before every PIF

Wallet-to-wallet gift in good faith, unlike platforms that buy the position
out of an account balance. The site holds nothing, cannot reverse or recover
it, and nothing obliges the recipient to buy. Same wording in the chatbot.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-09-27 15:14:51 -05:00
parent 30f84c6aa2
commit d562d61cbc
3 changed files with 9 additions and 3 deletions
+4
View File
@@ -1458,6 +1458,10 @@
// ── coaching: every direct's rung, stalled flag, one-click nudge ──
// ── pay it forward: send POL from the sponsor's own wallet to a downline's linked address ──
async function pif(email, name, address) {
// Marty, 2026-09-27: the member must see the risk before every PIF. The platform holds no funds; this is a
// wallet-to-wallet gift in good faith, and nothing the site does can recover it.
const ok = await IAP.confirmBox('You are about to send POL from your own wallet directly to ' + name + '\'s wallet, in good faith, so they can buy their first package.\n\nInstantAdPay never holds or moves these funds and cannot reverse or recover them. Nothing obliges ' + name + ' to make a purchase. Only send what you are willing to give.', { title: 'Before you pay it forward', ok: 'I understand, continue', cancel: 'Cancel' });
if (!ok) return;
let suggest = 25;
try { const { products } = await (await fetch('/api/catalog')).json(); const p20 = (products || []).find(p => p.priceCents === 2000); if (p20 && p20.costWei) suggest = Math.ceil(Number(p20.costWei) / 1e18) + 3; } catch (e) {}
const amt = await IAP.ask({ title: 'Pay it forward', text: 'Send POL from your wallet to ' + name + ' (' + address.slice(0, 6) + '…' + address.slice(-4) + ') for their first package.\nSuggested: the $20 package plus fees. Amount in POL:', type: 'number', value: String(suggest), ok: 'Send POL' });