Prevent payment_was_successful listener from being call multiple times