add extra payment option
Hi there, I would like to give to the customer another option to pay. So I have two radio button "Credit card and another PayPal" now I add one more button for bank wire transfer but when I select Bank wire button it call confirm.php once I click continue button and I'm using different ID so I don't why confirm.php come up. THIS IS THE BUTTON I HAVE.
<label for="payment-option-creditcard">
<input type="radio" id="payment-option-creditcard" name="payment-type" value="creditcard" onclick="wa_paymentChanged()" tabindex="0">
<span style="vertical-align:middle; padding: 3px 5px; display:inline-block; background-color:#ffffff"><img align="absmiddle" style="margin-right:5px" src="webassist/ecart/images/cc_visa.gif" alt="Visa" id="accept_cc_visa"> <img align="absmiddle" style="margin-right:5px" src="webassist/ecart/images/cc_mastercard.gif" alt="Mastercard" id="accept_cc_mastercard"> <img align="absmiddle" style="margin-right:5px" src="webassist/ecart/images/cc_amex.gif" alt="American Express" id="accept_cc_amex"> <img align="absmiddle" style="margin-right:5px" src="webassist/ecart/images/cc_discover.gif" alt="Discover" id="accept_cc_discover"></span></label>
<label for="payment-option-paypal">
<input type="radio" checked="true" id="payment-option-paypal" name="payment-type" value="paypal" onclick="wa_paymentChanged()" tabindex="0">
<span style="vertical-align:middle; padding: 3px 5px; display:inline-block; background-color:#ffffff"><img align="absmiddle" alt="paypal" src="webassist/ecart/images/checkout_paypal.gif"> <img width="206" height="17" style="margin-bottom:-4px" alt="paypal cards accepted" src="webassist/ecart/images/paypal_accepted.png"></span> </label>
<label for="payment-option-bankwire">
<input type="radio" id="payment-option-bankwire" name="payment-type" value="bankwire" onclick="wa_paymentChanged()" tabindex="0">
<span style="vertical-align:middle; padding: 3px 5px; display:inline-block; background-color:#ffffff"> <img width="206" height="37" style="margin-bottom:-4px" alt="paypal cards bankwire" src="webassist/ecart/images/bankwire.png"></span>
</label>
My plan is call a plugin bw_confirm.php when I click third button.