Blesta Addons Posted August 10, 2018 Report Share Posted August 10, 2018 the Transactions.Add event is not returning the invoice_id wish the transaction was for. the transaction info and applying payment is called after the Transactions.Add, So there are no way to know the transaction for wich invoice by the Transactions.Add . is possible to add another event that return the transaction info with amount applier to each invoice, this event should be trigger after Transactions->apply() function . we can get something with the Invoices.setClosed function, but we need this only in the transactions.Add() event . Quote Link to comment Share on other sites More sharing options...
Tyson Posted August 10, 2018 Report Share Posted August 10, 2018 It's possible we could add another event for applying a transaction. I've created CORE-2791 to look into it. Blesta Addons and activa 2 Quote Link to comment Share on other sites More sharing options...
Blesta Addons Posted August 11, 2018 Author Report Share Posted August 11, 2018 14 hours ago, Tyson said: It's possible we could add another event for applying a transaction. I've created CORE-2791 to look into it. Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.