close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Submit checkout form to paypal ECO only if specific button is pressed (Ecart6)

Thread began 2/15/2014 1:46 am by CraigR | Last modified 2/17/2014 1:06 pm by CraigR | 783 views | 5 replies

CraigRBeta Tester

Submit checkout form to paypal ECO only if specific button is pressed (Ecart6)

I am setting up my cart so that I can give the user the choice of using one of 2 payment gateways.
I set the cart up using the wizard to use Paypal ECO by default.
I have this working to the point that I am redirected to the paypal payment page with my cart credentials, when I press submit.
I now want to add a second button to the checkout page, so the user can pay by BACS via GoGardless API.
I have the API credentials working okay, so now I want to pass the form parameters when I click the BACS submit button.

At the moment, if I submit the form, I am redirected to paypal whichever button I press.

The submit button to connect to paypal is called 'CheckoutWizard_submit', i have tried checking areas of code in the required pages for post rather than specific button press, but I seem to be redirected to paypal on both or neither button, depending on what I edit

I only want to be redirected to paypal when I submit the paypal button

Attached Files

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





Ease of use


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...