I have flask website, Inside it course (paid) I read and already created button for the course I saw the html code for button and I added it on my site, I have 2 questions 1- How I can get the user who bought the course to update the database and give him permission to access the course I read their is redirect url and I should process it but I have no idea how to do it in secure way or how to do it at all 2- how to test the button without send real money, I'm noob developer that's mean the button will not be ideal how to test it without pay money and get the user or the redirect url and test it before try it with money, please can some one share steps if I did this steps I will have way to get the user who clicked my button also I saw something like that https://github.com/paypal/Checkout-Python-SDKhttps://www.paypal.com/support I full understand the code written and that's what I need, able to send the request by my self and check if this request accepted change that user in the database and thank you paypal, but unfortunately this API closed , Please I need help I finished the website for the client and only the payment what I can't do or test easy can you help
... View more