team-1-month-free:前 5 个标准席位首月免费,到期 $25/席/月。
前提:目标地区 IP(美/日等)、能过 KYC 的虚拟卡。
F12大法:
(async () => {
"use strict";
const O = "https://chatgpt.com";
const AUTO_OPEN = false;
const qs = new URLSearchParams(location.search);
const CODE = (qs.get("promoCode") || "").trim();
const COUPON = CODE || "team-1-month-free";
const SEATS = [5, 2, 1];
const CUR = {US:"USD",JP:"JPY",GB:"GBP",AU:"AUD",CA:"CAD",SG:"SGD",MY:"MYR",TH:"THB",PH:"PHP",ID:"IDR",IN:"INR",BR:"BRL",MX:"MXN",NZ:"NZD",ZA:"ZAR",KR:"KRW",TW:"TWD",HK:"HKD",AE:"AED",TR:"TRY",PL:"PLN",CZ:"CZK",HU:"HUF",RO:"RON",BG:"BGN",DK:"DKK",SE:"SEK",NO:"NOK",CH:"CHF",IL:"ILS",DE:"EUR",FR:"EUR",IT:"EUR",ES:"EUR",NL:"EUR",IE:"EUR",AT:"EUR",BE:"EUR",PT:"EUR",FI:"EUR",GR:"EUR",SK:"EUR",SI:"EUR",LT:"EUR",LV:"EUR",EE:"EUR",LU:"EUR",MT:"EUR",CY:"EUR",HR:"EUR"};
const log=(...a)=>console.log("%c[Business]","color:#10a37f;font-weight:700",...a);
const warn=(...a)=>console.warn("%c[Business]","color:#d97706;font-weight:700",...a);
const err=(...a)=>console.error("%c[Business]","color:#dc2626;font-weight:700",...a);
const entry = CODE ? `${O}/?promoCode=${encodeURIComponent(CODE)}#pricing` : `${O}/?promo_campaign=${COUPON}#pricing`;
if (location.origin !== O) { location.href = entry; return; }
let token;
try { token = (await fetch("/api/auth/session",{credentials:"include"}).then(r=>r.json())).accessToken; } catch(e){}
if (!token) { warn("未登录,先登录再粘。"); return; }
const H = {"Content-Type":"application/json","oai-language":navigator.language||"en-US",Authorization:"Bearer "+token};
let me = {};
try { me = await fetch("/backend-api/me",{headers:H}).then(r=>r.json()); } catch(e){}
let country = "";
try { const t = await fetch("/cdn-cgi/trace").then(r=>r.text()); country = (t.match(/\nloc=([A-Z]{2})/)||[])[1] || ""; } catch(e){}
if (!country) country = me.country || "";
country = (country || "US").toUpperCase();
const currencies = Array.from(new Set(["USD", CUR[country] || "USD"]));
log(`账号 ${me.email||"?"} | 出口地区 ${country} | 币种 ${currencies.join(" → ")}`);
if (!CODE) {
try {
const s = await fetch(`/backend-api/promo_campaign/check_coupon?coupon=${encodeURIComponent(COUPON)}&is_coupon_from_query_param=true`, {headers:H}).then(r=>r.json());
log("券状态:", s.state);
if (s.state !== "eligible") warn("未命中该活动:多半是原价,换号或换地区。");
} catch(e) {}
}
const build = (seats, currency) => ({
entry_point: "team_workspace_purchase_modal", plan_name: "chatgptteamplan",
team_plan_data: {workspace_name:"Team "+Math.random().toString(36).slice(2,6).toUpperCase(), price_interval:"month", seat_quantity:seats, seat_quantities:[{seat_type:"default",quantity:seats},{seat_type:"prolite",quantity:0}]},
billing_details: {country, currency},
supports_saved_payment_link: true, checkout_ui_mode: "custom", checkout_source: "chatgpt_web_merged",
checkout_appearance: "dark", purchase_attempt_id: crypto.randomUUID(), cancel_url: entry,
...(CODE ? {promo_code: CODE} : {promo_campaign: {promo_campaign_id: COUPON, is_coupon_from_query_param: true}}),
});
let ok = null, last = "";
outer: for (const seats of SEATS) {
for (const currency of currencies) {
log(`尝试 ${seats} 席 / ${currency} …`);
let r, j = {};
try { r = await fetch(`${O}/backend-api/payments/checkout`, {method:"POST", credentials:"include", headers:H, body: JSON.stringify(build(seats, currency))}); j = await r.json().catch(()=>({})); }
catch(e){ last = e.message; continue; }
if (r.ok && j.checkout_session_id) { ok = {seats, currency, id: j.checkout_session_id}; break outer; }
last = `${r.status} ${j.detail || JSON.stringify(j).slice(0,80)}`;
warn(" ↳", last);
if (r.status === 401) { warn("token 失效,刷新重来。"); return; }
if (/seat/i.test(last)) break;
}
}
if (!ok) { err("全部失败:", last); return; }
const url = `${O}/checkout/openai_llc/${ok.id}?source=chatgpt_web_merged&price_interval=month&${CODE?`promo_code=${encodeURIComponent(CODE)}`:`promo_campaign=${encodeURIComponent(COUPON)}`}`;
let d = {};
try { d = await fetch(`${O}/backend-api/payments/checkout/openai_llc/${ok.id}?supports_business_seat_offer=true`, {headers:H}).then(r=>r.json()); } catch(e){}
const applied = !!(d.promo_campaign || d.promo_code || d.immediate_discount_settings || d.scheduled_discount_preview);
if (applied) log("✅ 券已挂上,金额应为 0");
else warn(`⚠️ 未带券(${d.status||"?"}),原价,别付`);
try { await navigator.clipboard.writeText(url); } catch(e){}
log(`结果 ${applied?"APPLIED":"NOT_APPLIED"} | ${ok.seats} 席 | ${ok.currency} | ${country}`);
log("链接已复制:\n", url);
if (AUTO_OPEN) location.href = url;
})();
用法:挂目标地区 IP 打开 https://chatgpt.com/?promo_campaign=team-1-month-free#pricing 登录 → 粘贴 → 看最后一行。APPLIED 就开链接,账单地址填该地区(美国填免税州免服务税),确认 Due today 0 再 Subscribe,NOT_APPLIED 就是没资格。
资格是投放制,成功后记得取消订阅,否则下月续费 125刀。
带 ?promoCode= 链接会走 promo_code 通道,有有效码可直接用。
有 eligible 欢迎回帖贴结果 + 出口地区。
1
4
快银 VPN,一键连接全球节点,线路稳定、延迟低。支持 Windows、macOS 等多平台,TUN 全局模式覆盖全部应用流量。无需复杂配置,下载即用。
4 条回复
排序