#Physicsbuddy
1 messages · Page 1 of 1 (latest)
Hi, it's here https://stripe.com/docs/receipts#automatically-send-receipts-when-payments-are-successful but we don't send email in Test mode, we only send in Live mode
ok, and how can i make the payment amount DYNAMIC in stripe link pls
like i want the checkout to display the total amount of the cart
so not like hardcoded from stripe
I WUD REALLY APPRECIATE UR HELP!
Hmm, before ever creating the Checkout Session in your backend, you can calculate the amount from your cart and pass it as the parameter
Look at cart in frontend -> Send to backend with the total amount -> Create a Checkout Session with that amount -> redirect customer in frontend to the created Checkout Session
No i don't want to have backend i don't know backend i want just want to link to stripe but the amount being that of the cart pls