MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / setEfunResult

Function setEfunResult

static/js/payment.js:1794–1801  ·  view source on GitHub ↗
(content, isError = false)

Source from the content-addressed store, hash-verified

1792}
1793
1794function setEfunResult(content, isError = false) {
1795 const box = document.getElementById("efun-result-box");
1796 if (!box) return;
1797 const text = typeof content === "string" ? content : JSON.stringify(content || {}, null, 2);
1798 box.textContent = text;
1799 box.classList.add("show");
1800 box.style.color = isError ? "#fecaca" : "#c7d2fe";
1801}
1802
1803function collectEfunConfig() {
1804 const apiUrl = String(getInputValue("efun-base-url-input") || "").trim();

Callers 6

redeemEfunAndFillFunction · 0.85
queryEfunCardFunction · 0.85
queryEfunBillingFunction · 0.85
queryEfun3dsFunction · 0.85
cancelEfunCardFunction · 0.85
createBindCardTaskFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected