mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-08-14 06:47:28 +00:00
Use configured CoinPay USDC chain
This commit is contained in:
parent
a0314eb774
commit
1a87c2f26d
3 changed files with 3 additions and 3 deletions
|
|
@ -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" });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue