PaymentStatusChanged event not firing for Authorized 'Account' payment method
I'm tapping into the PaymentStatusChanged event as I want to perfom some tasks when a payment is set Authorized or Captured.
It works well with PayPal but I'm not seeing it get fired with the Account (Tea Commerce default) payment method when the order is set to Authorized.
I can see the event firing when the order is set to 'Initial' but at some point after that the order becomes 'Authorized' in the backend without firing the PaymentStatusChanged event.
For your information I am using the PaymentStatusChanged event because it seems to be the only way to check that money has actually been received before doing something.
Initially I thought of using AfterOrderFinalized but this event will fire once at the end of the checkout process even if the status is PendingExternalSystem because PayPal for example has put a hold on it for some reason.
With Beta 8, PaymentStatusChanged is getting fired when the Account payment method is used and the Payment Status gets set to Authorized but it is still not firing when a PayPal payment method is used and the Payment Status gets set to Captured.
PaymentStatusChanged event not firing for Authorized 'Account' payment method
I'm tapping into the PaymentStatusChanged event as I want to perfom some tasks when a payment is set Authorized or Captured.
It works well with PayPal but I'm not seeing it get fired with the Account (Tea Commerce default) payment method when the order is set to Authorized.
I can see the event firing when the order is set to 'Initial' but at some point after that the order becomes 'Authorized' in the backend without firing the PaymentStatusChanged event.
It looks like it could be a bug?
Regards,
Matt
Hmmm, it doesn't seem to fire for a PayPal payment method either when the status gets set to captured.
For your information I am using the PaymentStatusChanged event because it seems to be the only way to check that money has actually been received before doing something.
Initially I thought of using AfterOrderFinalized but this event will fire once at the end of the checkout process even if the status is PendingExternalSystem because PayPal for example has put a hold on it for some reason.
Hi Matt
Looks like you found a bug - try and grab the latest beta (8) and install it and see if that gives you the result you need.
http://our.umbraco.org/projects/website-utilities/tea-commerce
Kind regards
Anders
With Beta 8, PaymentStatusChanged is getting fired when the Account payment method is used and the Payment Status gets set to Authorized but it is still not firing when a PayPal payment method is used and the Payment Status gets set to Captured.
Cheers, Matt
Sorry, forget that last comment, it's working fine.
The permissions on the server weren't right so it didn't install properly.
Thanks, Matt
is working on a reply...