This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Stripe from 'stripe'; | |
import prisma from '@/lib/prisma.lib'; | |
import dayjs from 'dayjs'; | |
import createOrUpdateUser from '@/helpers/create-update-user'; | |
import registerEducation from '@/helpers/register-education'; | |
const stripe = new Stripe(process.env.STRIPE_SECRET_KEY, { | |
// https://github.com/stripe/stripe-node#configuration | |
apiVersion: '2022-11-15', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Stripe from 'stripe'; | |
import dayjs from 'dayjs'; | |
import prisma from '@/lib/prisma.lib'; | |
import { evaluateRegistration } from '../evaluateRegistration'; | |
import { saveInvoice } from '@/helpers/save-invoice'; | |
import { sendInvoice } from '@/helpers/send-invoice'; | |
import { createFiscalizedInvoice } from '@/helpers/create-fiscalized-invoice'; | |
import { mailTransport } from '@/lib/nodemailer.lib'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(dir -include *.php -recurse | select-string "^(\s*)//" -notMatch | select-string "^(\s*)$" -notMatch).Count |