Able 7 & Stone Edge

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
kastnerd
Commodore (COMO)
Commodore (COMO)
Posts: 474
Joined: Wed Oct 22, 2008 9:17 am

Able 7 & Stone Edge

Post by kastnerd » Fri Jun 05, 2009 9:24 am

I use Stone Edge on my current site. I am setting up a test Stone Edge to connect to my site Able site. I am trying to test status updates. Like Tracking number, Payment status, Shipping Status, Payment Total.
I am trying to follow this page from Stone Edge http://www.stoneedge.com/help/OM_DOC/Sh ... tatus.html
But im not sure why its not updating.
Last edited by kastnerd on Fri Jun 05, 2009 9:31 am, edited 1 time in total.

kastnerd
Commodore (COMO)
Commodore (COMO)
Posts: 474
Joined: Wed Oct 22, 2008 9:17 am

Re: Able 7 & Stone Edge

Post by kastnerd » Fri Jun 05, 2009 9:30 am

I think i might of found it, But im not sure if this applies to 7.0.2
AbleCommerce only supports status changes at the order level. The Status Labels entered into Order Manager must match the labels below for Able Commerce to change the order’s status. The following five status levels are supported:

Pending
Paid
Shipped
Canceled
Chargeback

kastnerd
Commodore (COMO)
Commodore (COMO)
Posts: 474
Joined: Wed Oct 22, 2008 9:17 am

Re: Able 7 & Stone Edge

Post by kastnerd » Tue Jun 09, 2009 8:00 am

I have found out how to update some of the status, But on the user's account page they get this error.

I am thinking it might have to due with the payment status shows "unprocessed payment" and payment status "pending"

I talked with Stone Edge, and they are not sure what code would need to be uploaded to change the payment status.

kastnerd
Commodore (COMO)
Commodore (COMO)
Posts: 474
Joined: Wed Oct 22, 2008 9:17 am

Re: Able 7 & Stone Edge

Post by kastnerd » Thu Jun 18, 2009 8:04 am

I have talked to Stone Edge, and they say they do not upload payment information to able and wont. They can send an "order status change" So when in Stone Edge I run the credit card it can send a order status of "order paid" then when i ship the order it would change the status to "order shipped"

What would be the best way to make it so able assume if an order is shipped its been paid for.

Or at lest hide the part of the order status from the customer that says "payments $0.00 and Balance xxx"

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Able 7 & Stone Edge

Post by mazhar » Thu Jun 18, 2009 8:56 am

You need to manually adjust the payment status depnding upon order status. For example when paid order status is sent to ablecommerce via stone edge and you know that payment that needs to be update is in authorized status then you can do something like below.

Code: Select all

public void ProcessPayment(Payment payment,OrderStatus orderStatus)
        { 
            if(orderStatus.OrderStatusId == 2) //WHERE 2 is the Order Paid Status Id
            {
                Transaction transaction = payment.Transactions.LastAuthorization;
                if (transaction != null)
                {
                    transaction.TransactionStatus = TransactionStatus.Successful;
                    PaymentEngine.ProcessAuthorizePending(payment, transaction);
                 }
            }
        }
Also check the merchant order manager code to get an overview how things are handled there via manual capture etc.

Post Reply