I am working with the DPM form and want to make some of the fields required, such as CVV code, card holder name, email address and zip code. How do I do this? I presume it's some mark up in the AuhtorizeNetDPM.php file, but I don't know the code rules for requiring certain fields.
Can some one help?
09-25-2012 01:17 PM
Same as SIM, set in the merchant account.
Account - Settings - Payment Form - Form Fields
But it will get send to authorize.net before processing.
Maybe better if you can check it in javascript.
09-25-2012 01:35 PM
Thanks. That's the first clear answer I received yet.
My next questions is about the email receipt. Do I configure that in the Payment Form section too?
09-25-2012 01:49 PM
Yep. The only thing can change it the header and footer.
09-25-2012 02:08 PM
Thanks again.
SInce you are so responsive, can you also help me make the "What's This" window open as a small pop up? Here's this code I've set, but not sure how to size it in PHP.
<div>
<label>CCV <a href="https://account.authorize.net/help/Miscellaneous/Pop-up_Terms/Virtual_Terminal/Card_Code.htm" target="_blank"> <font size="-3">What is this?</font></a> </label>
<input type="text" class="text" size="4" name="x_card_code" value=""></input>
</div>
09-25-2012 02:13 PM
<a href="javascript:window.open('https://account.authorize.net/help/Miscellaneous/Pop-up_Terms/Virtual_Terminal/Card_Code.htm','Card Code','height=375,width=600,menubar=no,toolbar=no,location=no,status=no,resizable=no,scrollbars=no');">Card Code</a>
but you will get a security warning from IE, copy it the page to your own web site will probably fixes that.
09-25-2012 04:28 PM
Thanks again for the help, but the code didn't work. I get a message in Dreamweaver that there is a "syntax error on line 196" whne I place the code t\like this.
<label>CCV <a href="javascript:window.open('https://account.authorize.net/help/Miscellaneous/Pop-up_Terms/Virtual_Terminal/Card_Code.htm','Card Code','height=375,width=600,menubar=no,toolbar=no,location=no,status=no,resizable=no,scrollbars=no');">Card Code</a> <font size="-3">What is this?</font> </label>
Have I placed the code incorrectly?
09-28-2012 07:32 AM
Have no exp with Dreamweaver, but you could try removing javascript: from the href="...."
09-28-2012 07:40 AM