#30 changes to reflect the backend

This commit is contained in:
Dominic Villemure
2024-04-24 19:38:25 -04:00
parent d5cadd713d
commit e0894766d7

View File

@@ -70,9 +70,9 @@ const fetchClientSecret = async () => {
async function createCheckoutSession() {
let clientSecret = await client.post('/api/Stripe', {
price: (price.value * 100).toFixed(2),
amount: (price.value * 100),
tipMessage: tipMessage.value,
creatorId: "96d86c20-b7d0-4433-a7fb-42e57ad1515c"
creatorId: "5b122430-442a-4967-98b6-6c7787c70c91"
});
let secret = clientSecret["data"];