So, a long time ago, I took your course, and just now I've been adding improvements. One of them is adding stripe. But a roadblock comes in the PlaceOrderScreen & its routes.
So basically, stripe has the successURL, and the failedURL, field.
I've contacted stripe to see how to make the stripe checkout function + also how to invoke a function. They basically told me to make a webhook, but I don't know how to do that.
Is there a way to do the same thing as: but as a webhook?
Also, I need a form to target the items in the cart property so that I can add them here:
lineItems: [ { price: "price_1LNBmkImEZowwqFqh0t23phS", // replace with a price ID in your account quantity: 1, // directly set it to 1 }, ],
So, a long time ago, I took your course, and just now I've been adding improvements. One of them is adding stripe. But a roadblock comes in the PlaceOrderScreen & its routes.
So basically, stripe has the successURL, and the failedURL, field. I've contacted stripe to see how to make the stripe checkout function + also how to invoke a function. They basically told me to make a webhook, but I don't know how to do that.
Is there a way to do the same thing as: but as a webhook?
Also, I need a form to target the items in the cart property so that I can add them here: lineItems: [ { price: "price_1LNBmkImEZowwqFqh0t23phS", // replace with a price ID in your account quantity: 1, // directly set it to 1 }, ],