It seems like you don't really need the redirect, no?  Couldn't you just render an HTML form with method=GET and action=the SaferPay endpoint and all these form elements, and then when the user pushes "BUY" it sends the GET request. 

I'm not quite comfortable with the fact that you're using requests.get below.  Is that necessary, or can that get request be generated from the user's browser?