iBO for .NET

Custom CC provider

 

Hello,

I am creating a custom CC gateway provider in 15.2.15. The custom provider works fine in a vs project using ibo.net

                    var response = order.Payment.ProcessPayment(billingAddress);
                    if (response.IsSuccess)

Displaying a members profile picture using the ibo.net API

How can I display a profile Picture on the web using the IBO.net API?  I'm not using iParts.

 

Tom

SOAP error when using ibo to update login

We are using iMIS 15.2.15.4667. The ibo code that updates a users login that used to work is now throwing a SOAP Null Exception:

I am have tried :
contact.UserSecurity.ChangeWebLogin(login,password);

and

contact.UserSecurity.ResetWebLogin(login, sLogin, sPassword);

Both functions are now throwing this error.

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.ArgumentNullException: Value cannot be null. Parameter name: password at Asi.Providers.AsiMembershipProvider.GetOrResetUserPassword(MembershipUser mu, String& password) at Asi.Providers.AsiMembershipProvider.ChangeUsername(String oldUsername, String newUsername, Boolean sendChangeEmail) at Asi.Providers.AsiMembershipProvider.ChangeUsername(String oldUsername, String newUsername) at Asi.Web.Services.Membership.MembershipWebService.ChangeUsernameForUser(String oldUsername, String newUsername)

Problem with ibo.net registration code, 15.2.15

I'm having trouble with a simple registration using a newly upgraded site. The actual error that I'm working through is with legacy IBO.COM code, but in an effort to try something different I'm trying iBO.net, without much luck. Is there anything in the code below that may be generating the error code below? It's failing on the "testRegistration.NewLineItem(FUNCTION, 1);" line, so the registrant class item (and the payment detail) aren't involved (I don't think). I don't pretend to be a .NET programmer but this seems simple enough.

Not able to retrieve field from Gen_tables with CContact.GetContacts method.

When using the method "CContact.GetContacts((IiMISUser)user, addlFrom, where.ToString(), sqlParam)", is it acceptable to add the "Gen_Tables" in the following manner?

String addlFrom = String.Empty;
addlFrom = " INNER JOIN GHP_Company on Name.ID = GHP_Company.ID";
addlFrom = addlFrom + " INNER JOIN Gen_Tables ON GHP_Company.NAICS_1 = Gen_Tables.CODE";

StringBuilder where = new StringBuilder();
where.Append(" AND Name.ID = @ContactId");
where.Append(" AND Gen_Tables.TABLE_NAME = 'NAICS_DESCRIP'");


T don't get an error but, I'm not able to find the field "DESCRIPTION" from "Gen_Tables" in the results. I've tested this in sql to be sure that the field has a value.


Any suggestions?

Tom

 

Registration.Payment Error

When attempting to set the either the credit card #, security code, or expiration date of the "Payment" object under CRegistration an exception is thrown - "Could not load file or assembly 'Asi.Lexicon' or one of its dependencies. The system cannot find the file specified."

Code snippet:

var reg = new Asi.iBO.Events.CRegistration(IBOSystem.SystemUser, obj.EventCode, obj.RegistrantContactId, false, false)

IBO.net API and retrieving contact info from multiple tables.

I just want to retrieve some member company information from the imis database which would also include a couple user defined tables. I'm using C# and the ibo.net api. How do I perform this task? I tried CContacts.getcontacts(), but I am unable to join the user-defined table to get all of the info returned. Is there a way to use a view that would include all the necessary tables.

I can do this in sql but I'm trying to stay with ibo.net so that we don't have any upgrade problems in the future. We are just getting started and want to re-write many of our online functions. I've looked at iParts, but they are just not flexible enough for now.

CFunction Max Registrants

I am currently trying to use the CFunction iBO to get all the functions for a specific event : CFunction eventFunction = new CFunction(user,eventCode, functionCode); It pulls all the correct Product_Codes however I am trying to access the WEB_MULTI_REG field and although there are quantities in these fields it is returning 0. Any thoughts as to why? 

 

iPart and Master Products

Currently we are using the public views for our eCommerce solution and our company wants to move away from public views and replace it with the WCM. We have some shirts that we sell and would like to remove all the duplicate shirt types and replace them with a master product but I haven't been able to find any SDK information on working with master products.

So my questions are is there a way to pull a list of the master products from iBO?

Enabling iMIS Security When Validating User Credentials Against Another Database.

Introduction to Problem:

We had a client who moved to another CRM provider but wanted to manage their website’s content with iMIS WCM. The challenges were 1) validating user credentials against the 3rd party CRM when they log in through iMIS, 2) after validation is successful, activate the iMIS website security and 3) add a record in iMIS when the user exists in the 3rd party CRM but not iMIS.