I am using the PayPal gateway on my form. I have created a hidden field on the form called PaymentStatus, and have set the PayPal Last Status field to PaymentStatus.
On a successful transaction, I see VERIFIED (web_accept)
A cancelled transaction, the field is blank
On a refund, instead of saying "Refunded", it gets set to Nothing
Anyway to get it to say Refunded instead of Nothing?
I see in the log file that the PayPal response for the completed transaction is
PayPal Response: VERIFIED
Payment Status: Completed
Txn_type: web_accept.
which inserts VERIFIED (web_accept) into my field. I would prefer to see VERIFIED Completed
I see in the log file that the PayPal Response for the refund is sending the fields:
PayPal Response: VERIFIED
Payment Status: Refunded
Txn_type: Nothing
which inserts Nothing into my field. I would prefer to see VERIFIED Refunded
Kevin