close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

add extra payment option

Thread began 6/22/2020 12:02 pm by Jose | Last modified 6/23/2020 8:36 am by Ray Borduin | 385 views | 2 replies |

Jose

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">&nbsp;&nbsp;<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">&nbsp;&nbsp;<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.

Sign in to reply to this post

Ray BorduinWebAssist

You would have to make some changes to the payment_options.js file to accomplish that. This is something I could help with in a premier support ticket.

Sign in to reply to this post
Did this help? Tips are appreciated...

Jose

ok I will submit the ticket

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...