BWALKER's blog

Problem with Multiple custom payment gateways in 15.2.15.

Our customer requires multiple custom payment gateways. Our test system has 5.

The problem is that the first gateway listed in the Web.Config file is always used when a custom gateway is required.

If the stock PayFlowPro gateway is used there is no problem.

Anyone else experience this issue?

Dispose method for Asi.Business.BusinessController is this enough?

There has been some discussion where iMIS Business Objects must be disposed.

Should the  Asi.Business.BusinessContainer  be released as welll?

Asi.Business.BusinessContainer container1 = new Asi.Business.BusinessContainer();
           Asi.Business.BusinessController contactController = Asi.Business.BusinessController.NewBusinessController("BSCIBOPayResponseResult");
            try
            {
                Asi.Business.BusinessFilter[] filters1 = new Asi.Business.BusinessFilter[]
                            {                          
                              new Asi.Business.BusinessFilter("Result", ComparisonType.Equal, mResult),
                              new Asi.Business.BusinessFilter("CCAuthAcctCode", ComparisonType.Equal, mPaymentAuthorizationAccountAccountCode),                                  
                            };

Asi.Membership.MembershipService.MembershipWebService ws = new Asi.Membership.MembershipService.MembershipWebService();

We need to generate a password based on the iMIS Businesss rules from the Webconfig file.

Is there another iBO method to generate a password in 15.2.1?

 

Asi.Membership.MembershipService.

MembershipWebService ws = new Asi.Membership.MembershipService.MembershipWebService();string password = ws.GeneratePassword(); //failed with 404 error

Event Type: Information
Event Source: ASI
Event Category: None
Event ID: 0
Date:  5/31/2012
Time:  6:21:39 PM
User:  N/A
Computer: IMIS152TEST
Description:
iPart: The request failed with HTTP status 404: Not Found.

Problem with OCX and ASIUTIL for decryption.

Has anyone else had issues with VB6 calls to ASIUTIL.DLL?

 

We are experiencing a problem on a specific machine that fails to call the ASIUTIL.DLL

Here is the code snipit

Business Object only returns column names.

The SQL returns 3 rows and the rows shows an array of 4 rows including the field names.

Normally the ds would be filled with a data adapter.

 

private DataSet getCommitteeCodesObject(Guid transactionID, string credentials, string error)
            {

                DataSet ds = null;
                Asi.iBO.ContentManagement.CWebUser user = null;
                try
                {

Method to Set LookupCodeDescription

This was an easy function to use GetLookupCodeDescription.

 

Is there a method to write to the gen_tables?

Is there a BO like

 Asi.Business.BusinessContainer container = new Asi.Business.BusinessContainer();
     Guid groupTypeKey = Asi.Business.Common.GroupType.iMISModuleUsers;         
     Asi.Business.Common.GroupController controller = Asi.Business.Common.GroupController.NewGroupController(container);
     Asi.Business.Common.Group newGroup = controller.Add(groupTypeKey);
     Asi.Business.Common.Group newCommitteeGroup = controller.Add(groupTypeKey);
     newGroup.Name = "My New Group";
     newGroup.Description = "Group for managing contacts";
     newGroup.Commit();

TransactionType.Sale vs TransactionType.DelayedCapture.

Does the TransactionType.DelayedCapture method propogate the Qty_Shipped and the method TransactionType.Sale does not?

//public PaymentGatewayResponse ProcessPayment(TransactionType transactionType, CAddressBasic billingAddress);

payment.ProcessPayment(Asi.iBO.Commerce.TransactionType.DelayedCapture, myOrder.ShipToContact.PreferredShipAddress);

payment.ProcessPayment(Asi.iBO.Commerce.TransactionType.Sale, myOrder.ShipToContact.PreferredShipAddress);

Is there a method to resend order confirmations via email?

Could only find email addresses in the API and nothing about how to resend the confirmations.

There is a 3rd party application that needs to commit a form post to iMIS.

This seems like it should work but it is not working.

WebUserLoginID = "any valid loginID"
IiMISUser login_user = Asi.iBO.ContactManagement.CContactUser.LoginByWebLogin(WebUserLoginID);
user = Asi.iBO.ContentManagement.CWebUser.LoginByPrincipal(login_user);
 

CStandardOrder _order = new CStandardOrder(_user)

The Order and payment collections are created and populated but the batch is not properly propogated.

The batch is created. It can not be viewed in iMIS desk Top.

 

 CStandardOrder _order = new CStandardOrder(_user);CPayment payment = _order.Payment;CBatch batch2 = new CBatch(cWebUser); "";"ID " + _imisID + " Paid " + cPayRes.AuthorizationCode + "_" + System.DateTime.Today.ToString("ddMMyy");EnumPaymentType.CreditCard;

Syndicate content