Corrected handling of payment_success.