[email protected] Posted March 5, 2013 Share Posted March 5, 2013 Hi all, I'm making a third party payment module. I get direct en delayed callbacks from a third party payment system. So i cannot depend on the context object. What is the most correct way to get my order back to change the status of the order? Which data should i pass trough the payment provider en with which method should i get the order back? I found something based upon the order reference. $oOrders = new Order(); $aOrdersFound = $oOrders->getByReference("REFERENCE"); $oCurrentOrder = $aOrders->getFirst()); I found something like this. But "getFirst()" does not feel okay. With this solution in send the order reference trough the payment provider What is the most correct way to get my order back to change the status of the order? Which data should i pass trough the payment provider en with which method should i get te order back? Thnx for the advice Link to comment Share on other sites More sharing options...
PascalVG Posted March 5, 2013 Share Posted March 5, 2013 Hi Jochem, No experience with building payment modules, but to get an idea maybe look at the various modules available and see which one comes close to what you are trying to do, and look what they do to communicate back and forth... My 2 cents, Pascal. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now