fix(editor): 🐛 Custom currency payment input
This commit is contained in:
@ -74,7 +74,9 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) => {
|
||||
isPreview && stripeKeys.test?.publicKey
|
||||
? stripeKeys.test.publicKey
|
||||
: stripeKeys.live.publicKey,
|
||||
amountLabel: `${amount / 100}${currencySymbols[inputOptions.currency]}`,
|
||||
amountLabel: `${amount / 100}${
|
||||
currencySymbols[inputOptions.currency] ?? inputOptions.currency
|
||||
}`,
|
||||
})
|
||||
}
|
||||
return methodNotAllowed(res)
|
||||
|
Reference in New Issue
Block a user