Closed. This question is opinion-based . It is not currently accepting answers.
**Want to improve this question?**Update the question so it can be answered with facts and citations by editing this post .
Closed 18 hours ago.
Improve this question
I am building an e-commerce website with a cart system that uses a session to store products and their prices, the cart stores the final cost of all products as well, which I fetch in a stripe controller to make the payment. the amount of stripe payment intent depends on the session that I have just explained.
my question here is, is it secure to use this method?
1条答案
按热度按时间sh7euo9m1#
Yes, it's safe if you re-validate the payment amount at the time of payment process.