Use configured CoinPay USDC chain

This commit is contained in:
Anthony Ettinger 2026-06-06 18:51:46 +00:00
parent a0314eb774
commit 1a87c2f26d
3 changed files with 3 additions and 3 deletions

View file

@ -103,7 +103,7 @@ async function handleHireUsCoinPayCheckout(request, response) {
const apiKey = process.env.COINPAY_API_KEY;
const merchantId = process.env.COINPAY_MERCHANT_ID;
const apiUrl = process.env.COINPAY_API_URL || "https://coinpayportal.com";
const blockchain = process.env.COINPAY_HIRE_US_BLOCKCHAIN || "USDC_BASE";
const blockchain = process.env.COINPAY_HIRE_US_BLOCKCHAIN || "USDC_POL";
if (!apiKey) {
sendJson(response, 503, { success: false, error: "CoinPay checkout is not configured" });