[albatross-users] Trying to Integrate with PayPal

Andrew McNamara andrewm at object-craft.com.au
Fri Jan 24 11:15:26 EST 2003


>I am working with PayPal (using their Instant Payment Notification
>service), and it sends a POST request back to my application.  This
>request contains a field whose name is of zero-length.
>
>This causes albatross to barf in context.set_value(), line 323.  I tried
>putting in the following check and it seems to work:
>
>	if len(name) == 0:
>	    return
>
>Does anyone know if there is any harm in doing this?

That seems reasonable (although I can't imagine how PayPal's behaviour
in this regard could be called reasonable... 8-).

-- 
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/



More information about the Albatross-users mailing list