How do I reference custom fields on the plan (those not part of the subscriber table) in the PHP script as $row->first_name, etc are the only examples and $row->osm_xxx doesnt work?
Unfortunately, the value of the extra custom fields which you created is not accessible via $row object. You can only get id of the subscription record via $row->id
Then read data from #__osmembership_field_value to get the data of the fields you want
Tuan
The following user(s) said Thank You: Alan Bennett