I've set up most parts of the IPN successfully now - it passes through all the information from the transaction successfully. However, I'm having trouble with one aspect still.
I've created a paypal button stored on the paypal server. In 'step 3' in the 'Add advanced variables', I've typed 'custom='. I was hoping this would then enable php and actually print 'custom=the_users_name'. Unfortunately, instead i get literally '' coming back to me instead.
What is the best way to resolve this? I need the IPN to pass back my users name so that I can automatically update my databases to show they've paid.
Many thanks!