Page 1 of 1
Able 7 & Stone Edge
Posted: Fri Jun 05, 2009 9:24 am
by kastnerd
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.
Re: Able 7 & Stone Edge
Posted: Fri Jun 05, 2009 9:30 am
by kastnerd
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
Re: Able 7 & Stone Edge
Posted: Tue Jun 09, 2009 8:00 am
by kastnerd
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.
Re: Able 7 & Stone Edge
Posted: Thu Jun 18, 2009 8:04 am
by kastnerd
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"
Re: Able 7 & Stone Edge
Posted: Thu Jun 18, 2009 8:56 am
by mazhar
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.