feat(#1): use stripe session to populate checkout success

This commit is contained in:
OllyNicholass
2024-05-15 01:26:57 +01:00
parent c4bd0d78bc
commit f5a6733698
6 changed files with 83 additions and 20 deletions
+6
View File
@@ -0,0 +1,6 @@
export function formatCurrency(amount: number, currency: string): string {
return new Intl.NumberFormat('en-GB', {
style: 'currency',
currency: currency,
}).format(amount);
}