1,节点:用英国节点,(我用的贝贝云,非广告,我看有佬友找英国节点)
2,点击优惠链接:https://chatgpt.com/?promoCode=geccogb
3,支付:我直接支付不上,用的长链接:(在优惠链接界面按F12,console光标闪烁处粘贴下面代码,回车)
(async function generateTeamHostedLink() {console.log(“⏳ [team-link] 正在获取 Session Token…”);
let accessToken;try {const session = await fetch(“/api/auth/session”).then((r) => r.json());accessToken = session?.accessToken;if (!accessToken) throw new Error(“accessToken 为空”);} catch (e) {console.error(“❌ [team-link] 获取 Token 失败,请确保已登录 ChatGPT:”, e.message);return;}
console.log(“✅ [team-link] Token 获取成功”);
const payload = {plan_name: “chatgptteamplan”,team_plan_data: {workspace_name: “MyTeam”,price_interval: “month”,seat_quantity: 2,},billing_details: {country: “GB”,currency: “GBP”, // ← 关键修改},cancel_url: “https://chatgpt.com/#team-pricing”,promo_code: “codestonegb”,checkout_ui_mode: “hosted”,};
console.log(“⏳ [team-link] 正在请求 Stripe 长链接…”);let data;try {const response = await fetch(“https://chatgpt.com/backend-api/payments/checkout”,{method: “POST”,headers: {Authorization: Bearer ${accessToken},“Content-Type”: “application/json”,},body: JSON.stringify(payload),});
data = await response.json();
if (!response.ok) {
console.error("❌ [team-link] 请求失败,HTTP", response.status);
console.error(data);
return;
}
} catch (e) {console.error(“❌ [team-link] 网络请求异常:”, e.message);return;}
const hostedUrl = data?.url || data?.stripe_hosted_url || data?.checkout_url;
if (!hostedUrl) {console.warn(“⚠️ [team-link] 未找到长链接,原始响应如下:”);console.log(data);return;}
console.log(“─”.repeat(60));console.log(“✅ [team-link] 生成成功!codestonegb promo 已生效”);console.log(“📋 Checkout Session ID :”, data.checkout_session_id);console.log(“🏢 Plan : ChatGPT Team(codestonegb)”);console.log(“👥 Seats :”, payload.team_plan_data.seat_quantity);console.log(“”);console.log(“🔗 Stripe 长链接:”);console.log(hostedUrl);console.log(“─”.repeat(60));console.log(“💡 提示:打开后检查优惠是否生效”);})();
在此处键入或粘贴代码
4,卡:我用的U卡,有个虚拟币交易所手机软件叫bybit(网页版可能也行自测),首先注册实名,首页点card,进去申请一张用日本节点,选日本地区秒下卡(其余节点其余国家自测),这个交易所不能买币,一般通过币安/欧易买币提现过去。
5,免税:账单地址让gemini生成美国免税州的地址就可以了


https://linux.do/t/topic/2144280
1 个帖子 - 1 位参与者