On Mon, Jul 14, 2008 at 2:05 PM, Bobby Roberts <[EMAIL PROTECTED]> wrote:
> > I'm getting a response back from my ongoing saga with https posting: > The response is as follows: > > > UMversion=2.9&UMstatus=Declined&UMauthCode=&UMrefNum=70994924&UMavsResult=No > %20AVS%20response%20%28Typically%20no%20AVS%20data%20sent%20or%20swiped > %20transaction%29&UMavsResultCode=&UMcvv2Result=No%20CVV2%2FCVC%20data > %20available%20for > > %20transaction.&UMcvv2ResultCode=&UMvpasResultCode=&UMresult=D&UMerror=Credit > %20card%20has > %20expired.&UMerrorcode=00017&UMbatch=2080&UMfiller=filled > > > Can someone point me in the right direction to get useful information > from this... How can i parse out the returns. > Take a look at the cgi parsing functions: http://docs.python.org/lib/node562.html cgi.parse_qs, for example, would turn this into a dictionary with keys UMversion, UMstatus, etc. Karen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---