Example #1
0
    protected void Process_EditOptions()
    {
        SiteAPI m_refSiteApi = new SiteAPI();
        PaymentSettingsData paymentOptions = new PaymentSettingsData();

        paymentOptions.PayPal = System.Convert.ToBoolean(chk_paypal.Checked);
        //paymentOptions.GoogleCheckout = chk_google.Checked

        m_refSiteApi.UpdatePaymentOptions(paymentOptions);

        Response.Redirect(this.m_sPageName + (m_iID > 0 ? "?action=view&id=" + this.m_iID : ""), false);
    }