process()
process(checkoutSessionId): Promise<{
status: "completed" | "expired" | "failed" | "pending" | "unpaid";
success: boolean;
}>;Reconciles a session and grants the product when it was paid. An open session returns
pending; a completed checkout awaiting payment returns unpaid.
Parameters
checkoutSessionId
string
Last updated on