can we add field "name as on card" in moodle square payment plugin, on billing information from?
In the API and example, I found the only options for :
card number, cvv, exp, postal code
<form id="nonce-form" novalidate action="process-payment" method="post">
<fieldset>
<div id="sq-card-number"></div>
<div class="third">
<div id="sq-expiration-date"></div>
</div>
<div class="third">
<div id="sq-cvv"></div>
</div>
<div class="third">
<div id="sq-postal-code"></div>
</div>
</fieldset>
<button id="sq-creditcard" class="button-credit-card" onclick="onGetCardNonce(event)">Pay $1.00</button>
<!--
After a nonce is generated it will be assigned to this hidden input field.
-->
<input type="hidden" id="card-nonce" name="nonce">
</form>
I want to add a new form field "Name as on card" in the square payment form. can anybody please give some example or any help?