is the session in laravel secure to store amount to make a payment? [closed]

6yoyoihd  于 2022-10-22  发布在  PHP
关注(0)|答案(1)|浏览(160)

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?

sh7euo9m

sh7euo9m1#

Yes, it's safe if you re-validate the payment amount at the time of payment process.

相关问题