예제 #1
0
    public void ShowManageAccountFlow(CSGConfig csgConfig)
    {
        this.csgConfig = csgConfig;
        planId         = "";
        string url = this.csgConfig.BaseUrl + "?config={0}&planId={1}&pageType=manageAccount";

        ShowFlow(url, "Membership.ManageAccount.CSG.WebviewerTitle");
    }
예제 #2
0
    public void ShowPurchaseFlow(CSGConfig csgConfig, string planId)
    {
        this.csgConfig = csgConfig;
        this.planId    = planId;
        string url = this.csgConfig.BaseUrl + "?config={0}&planId={1}&pageType=checkout";

        ShowFlow(url, "Membership.Purchase.CSG.WebviewerTitle");
    }
예제 #3
0
    public void ReloadPurchaseFlow(CSGConfig csgConfig, string planId)
    {
        this.csgConfig = csgConfig;
        string text = this.csgConfig.BaseUrl + "?config={0}&planId={1}&pageType=checkout";

        if (webViewController != null)
        {
            IContentInterruption gate = new ParentGate();
            webViewController.Show(text, gate, "Membership.Purchase.CSG.WebviewerTitle", AllowPopups: true, openPopupInNewBrowser: false, 1.8f, 3f);
        }
        else
        {
            ShowFlow(text, "Membership.Purchase.CSG.WebviewerTitle");
        }
    }