I'm creating a notification with template params "button0_surface, button0_label, button0_params". Button0_params is a json encoded set of params to direct users to a specific experience which matches the notification.
Unfortunately, it appears that the actual link that the user gets sent to when clicking the button is maleformed. I get:
But the template params I used was:
'templateParams' => array(
'button0_surface' => 'canvas',
'button0_label' => _('Check it out'),
'button0_params' => json_encode(array(
'z_page' => 'inbox',
'from' => 'flirt-self-notification'
It looks like our button params are stripped out, and replaced with maleformed json.