How to update my table when payment was done

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
ALD
Ensign (ENS)
Ensign (ENS)
Posts: 12
Joined: Fri Aug 08, 2008 2:46 pm

How to update my table when payment was done

Post by ALD » Fri Aug 22, 2008 4:41 pm

Hi all, I'm using the ablecommerce API to pay some service in my system.
I accomplish do the payment using the Payment class of the library CommerceBuilder.Payments.Payment, but I dont know how to update the table ac_orders and ac_payments when the payment was done.

I read in other posts that I can create a method to do this, but I'm no sure how to do it.
I want my system can detect when a payment was done (I mean when the bank take the money of the client) and then update the ablecommerce tables in the server.
Then when a user review its purchase can detect if the payment was done.

All comments will be very appreciated, thanks!

Aldo

Post Reply