Reply To: %%item_name%% not populated

Forums General %%item_name%% not populated Reply To: %%item_name%% not populated


I see. Yeah, that seems to be the email being sent. It matches the one your customer received.

It seems the hack needs to be updated after all these years, if it’s not working right…

You could try seeing what the whole $vars array looks like. Try adding var_export($vars, true) at the end and do a test purchase.

This would be the return line with that added:

return “Thank you “ . $vars[“first_name”] . “

You have successfully purchased the ” . $vars[“item_name”] . “

If you have not already done so, the next step is to Register a Username for the Campus.

Please complete your registration here: ” . wp_login_url() . “

If you have any trouble, please feel free to contact us.

Once your registation is completed, you can login and access your bonuses here:“ . $vars[“cv”][1] . “

" . var_export($vars, true);