PHP: Let user download purchased file ONLY

后端 未结 5 1112
天命终不由人
天命终不由人 2021-02-06 13:32

I am forseeing a problem with allowing customers who purchase some content from me via PayPal. I will offer multiple, intangible goods. When someone completes their purchase for

5条回答
  •  一向
    一向 (楼主)
    2021-02-06 14:27

    One of the simplest things you could implement is a logging system to track the user's purchases. You can cross reference the requested ID with IDs stored related to the user's purchases. If they are not related, don't serve the file.

提交回复
热议问题