Skip to content

Commit

Permalink
Merge pull request #45 from square/jaw.cleaner-error
Browse files Browse the repository at this point in the history
add link to url to be clearer of what action to take
  • Loading branch information
jawspeak authored Jun 8, 2017
2 parents df409c6 + 4fec93e commit 0782fd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SquarePointOfSaleSDK/NSError+SCCAPIAdditions.m
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ + (nullable NSString *)SCC_localizedDescriptionForErrorCodeString:(nonnull NSStr
}

if ([errorCodeString isEqualToString:SCCAPIErrorStringUserNotActivated]) {
return @"User not activated. The logged-in account cannot take credit card payments. This could be because the account is from a country where Square does not process payments, because the account did not complete the initial activation flow, or because it has been deactivated for security reasons.";
return @"User not activated. Please visit https://squareup.com/activate. The logged-in account cannot take credit card payments. This could be because the account is from a country where Square does not process payments, because the account did not complete the initial activation flow, or because it has been deactivated for security reasons.";
}

if ([errorCodeString isEqualToString:SCCAPIErrorStringCurrencyMissingOrInvalid]) {
Expand Down

0 comments on commit 0782fd5

Please sign in to comment.