I’m currently working on a project that requires me to get patron data and display it on a webpage.
I haven’t had any problems getting the name or profile pic. Right now i’m having trouble accessing the pledge_cap_cents data. I’m using php and I would usually use
echo $current_member->get('data.attributes.full_name'); to get info.
I have tried
echo $current_member->get('data.attributes.pledge_cap_cents data.'); and
echo $current_member->get('attributes.pledge_cap_cents data.');