stripe promo code
This commit is contained in:
@@ -53,6 +53,7 @@ export async function POST(request: NextRequest) {
|
||||
customer: customerId,
|
||||
mode: 'subscription',
|
||||
payment_method_types: ['card'],
|
||||
allow_promotion_codes: true,
|
||||
line_items: [
|
||||
{
|
||||
price: priceId,
|
||||
|
||||
@@ -108,6 +108,7 @@ export async function POST(request: NextRequest) {
|
||||
customer: customerId,
|
||||
mode: 'subscription',
|
||||
payment_method_types: ['card'],
|
||||
allow_promotion_codes: true,
|
||||
line_items: [
|
||||
{
|
||||
price: priceId,
|
||||
|
||||
Reference in New Issue
Block a user