I'm building a component with payment plugins and I need to display the plugins fields in the account form record.
The plugin xml fields section is
<fields name="params">
<fieldset name="basic">
<field name="paypal_email" type="email" default="" label="plg_mycomponent_paypal_email" description="plg_mycomponent_paypal_email_desc" />
<field name="paypal_image" type="media" default="" label="plg_mycomponent_paypal_image" description="plg_mycomponent_paypal_image_desc" filter="safehtml" />
</fieldset>
</fields>
I need to display the paypal_email and paypal_image fields in the account form and to have the possibility to save the values in account table.
How I can do that?
I try to achieve that with a "template" php file in the plugin to display the fields but it's not working.