Paypal Transaction Cancelled

Paypal Transaction Cancelled

I have observed if you cancel a paypal transaction, form data still appears in my view.

How do you verify if a paypal transaction is canceled?

I tried to use input.ZC_Payment.payment_id  =  null in form validation, but that does not work.

Cheers,
John Whitney