Trigger After Posting Transaction

Discussions related to custom development with Select.
Post Reply
tmeisinger
Posts: 75
Joined: Fri Apr 24, 2015 10:33 am

Trigger After Posting Transaction

Post by tmeisinger »

I want to check to make sure we haven't received Cash equivalent payments from a Buyer totaling over $10,000 (IRS Rule). When I add a Receipt for a Cashier's Check, my Server code is not firing on Transaction Changing or Changed for the Receipt. Shouldn't a Posted Receipt fire the Transaction events? Thanks in advance.
tmeisinger
Posts: 75
Joined: Fri Apr 24, 2015 10:33 am

Re: Trigger After Posting Transaction

Post by tmeisinger »

I should clarify, if I Post an existing Pending Receipt, the Events Fire. If I add a Receipt, and Post it, I never get an Event to Fire for the Receipt.
mikedrew
Posts: 4
Joined: Tue Feb 14, 2017 12:08 pm

Re: Trigger After Posting Transaction

Post by mikedrew »

The transaction changing/changed event will only fire for existing transactions. If you're creating a new transaction you should listen to the transaction adding/added events.

Please let me know if you have any questions.

-Mike Drew
Mike Drew, Software Developer, SoftPro
Post Reply