Are you sure that urlib2.urlopen is supposed to redirect you to some place?
When I read the doc about it, it says: "This function returns a
file-like object with two additional methods".
It doesn't seem like it is supposed to redirect you to a page. If you
want to redirect, you can use REQUEST.RESPONSE.redirect.

Lucie
--
S i x  F e e t  U p ,  I n c .  |  http://www.sixfeetup.com
Phone: +1 (317) 861-5948 x605
ANNOUNCING the first Plone Immersive Training Experience | Sept. 10-11-12, 2009
http://www.sixfeetup.com/immerse



On Fri, Mar 13, 2009 at 6:25 AM, hannesc <[email protected]> wrote:
>
> Hey guys
>
> So I am developing a new payment processor that needs to redirect the
> user to an external site that does the credit card validation.
> Everything seems to be working fine untill the redirect needs to
> happen. The problem is that, well, it doesn't.
>
> The code of vcs.py looks like so: http://paste.plone.org/26922
>
> I have highlighted the line where it should redirect. I am using
> urllib2, as I need to send the arguments as POST.
>
> Anyone have any ideas?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"getpaid-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/getpaid-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to