We’re having an issue with the customer’s “to” email not pulling through correctly into our Payment Request forms, and the field is defaulting to the email of the user who created the customer.
I have a custom field, “customer.default_email,” on the customer record, that would be useful to fetch data from. I changed the To field to default to this customer.default_email field, as described in the screenshot below, but it is not pulling forward properly into the Payment Request form. What can I do to fix this? Do I need a more robust “if” statement in the code for fetching the default_email field? Does the default_email field need to be a different datatype than it is now (data) to show up correctly here? Thank you for your help!