I donβt know why payment_gross empty (or should it be), but I always used mc_gross to check the amount of payment, and I never had any problems. In fact, if the memory serves, I originally copied this from a sample PHP code from Paypal developer docs.
Clive source share