mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor(dokploy): add promotion codes
This commit is contained in:
@@ -80,6 +80,7 @@ export const stripeRouter = createTRPCRouter({
|
|||||||
metadata: {
|
metadata: {
|
||||||
adminId: admin.adminId,
|
adminId: admin.adminId,
|
||||||
},
|
},
|
||||||
|
allow_promotion_codes: true,
|
||||||
success_url: `${WEBSITE_URL}/dashboard/settings/billing`,
|
success_url: `${WEBSITE_URL}/dashboard/settings/billing`,
|
||||||
cancel_url: `${WEBSITE_URL}/dashboard/settings/billing`,
|
cancel_url: `${WEBSITE_URL}/dashboard/settings/billing`,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user