chore: generate
This commit is contained in:
parent
b590bda5ed
commit
ea8d727e28
1 changed files with 1 additions and 1 deletions
|
|
@ -519,7 +519,7 @@ export async function POST(input: APIEvent) {
|
||||||
if (!workspaceID) throw new Error("Workspace ID not found")
|
if (!workspaceID) throw new Error("Workspace ID not found")
|
||||||
if (!invoiceID) throw new Error("Invoice ID not found")
|
if (!invoiceID) throw new Error("Invoice ID not found")
|
||||||
|
|
||||||
const paymentIntent = await Billing.stripe().paymentIntents.retrieve(invoiceID);
|
const paymentIntent = await Billing.stripe().paymentIntents.retrieve(invoiceID)
|
||||||
console.log(JSON.stringify(paymentIntent))
|
console.log(JSON.stringify(paymentIntent))
|
||||||
const errorMessage =
|
const errorMessage =
|
||||||
typeof paymentIntent === "object" && paymentIntent !== null
|
typeof paymentIntent === "object" && paymentIntent !== null
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue