#30 changes to reflect the backend
This commit is contained in:
@@ -70,9 +70,9 @@ const fetchClientSecret = async () => {
|
|||||||
|
|
||||||
async function createCheckoutSession() {
|
async function createCheckoutSession() {
|
||||||
let clientSecret = await client.post('/api/Stripe', {
|
let clientSecret = await client.post('/api/Stripe', {
|
||||||
price: (price.value * 100).toFixed(2),
|
amount: (price.value * 100),
|
||||||
tipMessage: tipMessage.value,
|
tipMessage: tipMessage.value,
|
||||||
creatorId: "96d86c20-b7d0-4433-a7fb-42e57ad1515c"
|
creatorId: "5b122430-442a-4967-98b6-6c7787c70c91"
|
||||||
});
|
});
|
||||||
|
|
||||||
let secret = clientSecret["data"];
|
let secret = clientSecret["data"];
|
||||||
|
|||||||
Reference in New Issue
Block a user