Jump to content

get transaction for wich invoice via Event


Blesta Addons

Recommended Posts

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 .

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...