ROIIM Paysafe Assignment
git clone https://github.com/Riya5915/paysafe.git
cd paysafe/
Step 2: Run the following commands to get started (make sure that python3 is installed on your computer/laptop)
pip3 install virtualenv
virtualenv -p python3 env
source env/Scripts/activate
cd paysafe/
pip install -r requirements.txt
python manage.py runserver
Open a browser such as Chrome/Microsoft Edge/Firefox and make sure that the CORS (Cross-Origin Resource Sharing) is enabled in your browser
In a new tab type the given url and press enter: http://localhost:8000/payments
Fill the given form with the given details or you can enter your own. If you are a new user you will be registered and then will be redirected to the next page. If you are an old user you will be logged in and then redirected to the checkouts page.
Enter the message you want to give and then press "Pay Now" button to proceed. Then in the popup enter the card details and press "Withdraw" button.
Make sure you do not use your real card details rather enter the dummy card details from the below link: https://developer.paysafe.com/en/rest-apis/cards/test-and-go-live/test-cards/