enable tax id collection
This commit is contained in:
parent
f42a3a9c20
commit
d9fe4b1591
|
@ -47,6 +47,7 @@ export default async (req, res) => {
|
||||||
customer: customer.id,
|
customer: customer.id,
|
||||||
client_reference_id: user.sub,
|
client_reference_id: user.sub,
|
||||||
allow_promotion_codes: true,
|
allow_promotion_codes: true,
|
||||||
|
tax_id_collection: { enabled: true },
|
||||||
success_url: `${process.env.SKYNET_DASHBOARD_URL}/payments?session_id={CHECKOUT_SESSION_ID}`,
|
success_url: `${process.env.SKYNET_DASHBOARD_URL}/payments?session_id={CHECKOUT_SESSION_ID}`,
|
||||||
cancel_url: `${process.env.SKYNET_DASHBOARD_URL}/payments`,
|
cancel_url: `${process.env.SKYNET_DASHBOARD_URL}/payments`,
|
||||||
});
|
});
|
||||||
|
|
Reference in New Issue