Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Promo Codes request error #214

Closed
GCApp opened this Issue Jul 23, 2012 · 10 comments

Comments

Projects
None yet
7 participants

GCApp commented Jul 23, 2012

After entering the number of promo codes, than "loading" .. and returns this:
"Error: An error occured while downloading the promo codes (could not parse license agreement page).

ddaddy commented Jul 24, 2012

Yes, i've also been getting this for about a week now. Apple changed the license agreement page layout maybe?

ddaddy commented Jul 26, 2012

Everyday I also get the error "Downloading reports from iTunes connect failed. Could not login"
Even though the reports seem to be downloading.

pupasani commented Aug 9, 2012

Yes getting both issues here as well. Reports download fine, but promo codes and payment downloads are broken.

Contributor

iosdeveloper commented Aug 11, 2012

Me too. Seems like we should finally fork and contribute to this project ;)

Collaborator

evands commented Aug 11, 2012

The glory of github. Please do :)

Owner

omz commented Aug 11, 2012

The payments should be fixed now (that is where the error message during report download came from), haven't really looked at the promo code issues yet. Volunteers are welcome. ;)

The "An error occured while downloading the promo codes" can be adjust be changing line 354-357 with this in PromoCodeOperation.m

if ([licenseAgreementScanner scanUpToString:@"" intoString:&licenseAgreementHTML])
{
licenseAgreementHTML = [licenseAgreementHTML stringByAppendingString:@""];
}

Could you paste in the code changes again please? Not visible ..

if ([licenseAgreementScanner scanUpToString:@"</html>" intoString:&licenseAgreementHTML])
{
    licenseAgreementHTML = [licenseAgreementHTML stringByAppendingString:@"</html>"];
}

Works fine thanks!

@omz omz closed this Dec 16, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment