Subversion Repositories SmartDukaan

Rev

Rev 15569 | Rev 16283 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15569 Rev 15570
Line 127... Line 127...
127
                        try:
127
                        try:
128
                            self.parseCancelled(merchantOrder, soup)
128
                            self.parseCancelled(merchantOrder, soup)
129
                            resp['result'] = 'ORDER_CANCELLED'
129
                            resp['result'] = 'ORDER_CANCELLED'
130
                        except:
130
                        except:
131
                            try:
131
                            try:
132
                                if soup.h1.span.text=="Account":
132
                                if soup.h1.span.text=="Account" or soup.h1=="Your Account":
133
                                    resp['result'] = 'DETAIL_NOT_CREATED_KNOWN'
133
                                    resp['result'] = 'DETAIL_NOT_CREATED_KNOWN'
134
                                else:
134
                                else:
135
                                    raise
135
                                    raise
136
                            except:
136
                            except:
137
                                if soup.find(id="ap_signin_pagelet_title").h1.text.strip()=="Sign In":
137
                                if soup.find(id="ap_signin_pagelet_title").h1.text.strip()=="Sign In":