Affiliate program

you can easily enable/disable the affiliate-program related sections from the config file (/lib/config/main.ts)

   [...,
   affiliateProgram: {
        enabled: true,
        paymentMethods: [
            {
                name: "PAYPAL",
                label: "Paypal",
                icon: Icons.paypal,
            },
            {
                name: "PAYONEER",
                label: "Payoneer",
                icon: Icons.payoneer,
            },
            {
                name: "WISE",
                label: "Wise",
                icon: Icons.wise,
            },
        ],
    },
    ...etc]

PS: Your affiliate program payment methods should be determined at both the config object level (/lib/config/main.ts) and the Prisma schema level.

enum SelectedPaymentMethod {
  PAYONEER
  PAYPAL
  WISE
}

Last updated