Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Matt Taylor 873 posts 2086 karma points
    Jan 18, 2012 @ 15:16
    Matt Taylor
    0

    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

  • Matt Taylor 873 posts 2086 karma points
    Jan 18, 2012 @ 15:43
    Matt Taylor
    0

    Hmmm, it doesn't seem to fire for a PayPal payment method either when the status gets set to captured.

  • Matt Taylor 873 posts 2086 karma points
    Jan 18, 2012 @ 16:03
    Matt Taylor
    0

    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.

     

     

     

  • Anders Burla 2560 posts 8256 karma points
    Jan 18, 2012 @ 17:08
    Anders Burla
    0

    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

  • Matt Taylor 873 posts 2086 karma points
    Jan 18, 2012 @ 17:58
    Matt Taylor
    0

    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

  • Matt Taylor 873 posts 2086 karma points
    Jan 18, 2012 @ 18:05
    Matt Taylor
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft