• Resolved cspencepratt

    (@cspencepratt)


    Hello,

    The required dropdown labeled “Payment Method” will not let anyone select any credit card options recently. I noticed payments still go through and it automatically detects the Card Type on the Authorize.Net end. How do I fix or remove the field from my form that is a required field labeled “Payment Method”? I do not see it in Form Field Settings?

    On a side note, I noticed the “Credit Card Logos” is an empty image at the bottom of the form. If I right click on it and go to “Open Image in new tab” it takes me to Intuit and spits out an error?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter cspencepratt

    (@cspencepratt)

    For the time being I fixed the “Payment Method” dropdown by removing it from “functions.php”. I removed the following:

    $fieldHtml .= '<tr><th>Payment Method<span class="required">*</span></th><td><select name="paymentmethod" id="paymentmethod" required="required" class="form-field">
    						<option value="">Select any one</option>';
    
    		if(get_option('wpspfnet_enable_check')==1){
    			$fieldHtml .='<option value="">------- Credit/Debit Cards -------</option>';
    		}
    
    		$fieldHtml .= '<option value="VISA">VISA</option>
    	                    <option value="MasterCard">MasterCard</option>
    	                    <option value="AMEX">AMEX</option>
    						<option value="Discover">Discover</option>';
    
    		if(get_option('wpspfnet_enable_check')==1){
    			$fieldHtml .='<option value="">---- Checking/Savings Account ----</option>
    						<option value="CHECKING">Checking Account</option>
    						<option value="SAVINGS">Savings Account</option>';
    		}
    		$fieldHtml .= '</select></td></tr>';

    I also fixed the Credit Card Logos by uploading my own image and replacing the following code in “functions.php”:

    $fieldHtml .='<tr><td></td><td style="text-align:right;padding: 10px;"><IMG src="https://www.mysite.com/wp-content/plugins/wp-service-payment-form-with-authorizenet/img/cclogos.png" width="235" height="40" border=0 alt="Credit Card Logos" /></td></tr>';

    If an Update is released for the plugin in the future, I assume these changes will get wiped out though, so a more permanent fix is likely needed.

    Thanks!

    Plugin Author Shiv Prakash Tiwari

    (@shivtiwari)

    Hi @cspencepratt
    Thanks for using this plugin. I have fixed all issue and add one hook for enhancement.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Payment Method Dropdown not working’ is closed to new replies.