MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / getStripePromise

Function getStripePromise

console/src/config/apiKeys.ts:46–54  ·  view source on GitHub ↗
(consoleEnv: string)

Source from the content-addressed store, hash-verified

44};
45
46export const getStripePromise = (consoleEnv: string) => {
47 if (consoleEnv === "production") {
48 // Production key
49 return loadStripe("pk_live_eILilEpJ7DCwmw9I4JHuBLEB001qSrxuw0");
50 }
51
52 // Stripe development key
53 return loadStripe("pk_test_XUB2NGLtbtzx9HQbTKlP1ZCw00FZqUgrXf");
54};

Callers 1

CloudAppConfigClass · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected