I want to make my site can be accessed only through redirect from paypal django

Viewed 16

I want to make my site can be accessed only through redirect from paypal in django and cannot be accessed through url i tried

if request.META.get('HTTP_REFERER') == 'paypal'

but not work because it returns none value i'm using ajax is there any working alternative that i can use please help me.

0 Answers
Related