Skip to content

Commit

Permalink
Fixes #60, changing PSP domain to chargifypay.com
Browse files Browse the repository at this point in the history
  • Loading branch information
kfrancis committed Oct 30, 2018
1 parent dd62f9b commit 30078af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ChargifyDotNet/ChargifyConnect.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1196,7 +1196,7 @@ public string GetPrettySubscriptionUpdateURL(string firstName, string lastName,
string methodString = string.Format("{0}/{1}/{2}", UpdateShortName, prettyId, token);
// just in case?
// methodString = PCLWebUtility.WebUtility.UrlEncode(methodString);
string updateUrl = string.Format("{0}{1}{2}", URL, (URL.EndsWith("/") ? "" : "/"), methodString);
string updateUrl = string.Format("{0}{1}{2}", URL?.Replace("chargify.com", "chargifypay.com"), (URL.EndsWith(" / ") ? "" : "/"), methodString);
return updateUrl;
}

Expand Down

0 comments on commit 30078af

Please sign in to comment.