how to redirect to another page

machinakias

No avatar

2008-02-11 14:08

hello...i need to redirect my customers after they complete the order form to a bank payment page,so they put their credit card number and so,to pay the order. does anybody know how to make this redirection in quick cart 1.4? thanks folks....

» Quick.Cart v1.x

idaryl

Avatar: idaryl

2008-02-12 10:18

Is the cart opening the page in a new window? If yes, there is a solution - If in the same page - then you're stuck with the "back" button

Which is it? (those little details count)

machinakias

No avatar

2008-02-12 14:10

hello my friend...forgot to tell that the cart is in a new window....the login of the bank.so,can you tell me how to do it? also, iwould like to add a menu like this:first you select delivery method and then if you pay by cart,then you click to "bank". if you want to pay to the courier,you click "courier".so i need one more button.the thing is that i need the "bank" button to redirect to the external page and the courier to keep on to the checjout of the quickcart......hope it's clear.....!!!

idaryl

Avatar: idaryl

2008-02-13 04:53

No I meant and I asked is the (bank page) opening in a new window from the cart - click a button open a new page.

Do I get you right that you want a menu in the page that opens - that can't be done as it is opening someone else's page. Because you are using an older version of QC (I can only assume you don't have any of the plug-ins associated with that version)

You need (from the sounds of it) the drop menus associated with couriers and payment types - I would send a note to the boys here - unless of course someone here knows this version better than I (and there are)

I would also assume that your bank's page account should have a redirect in it - if its opening in the same page - simply add the address of the store/shop whatever there - and on completion of an order you will be returned to that page - make sense?

machinakias

No avatar

2008-02-13 10:24

well,to be honest,i miss a point..i'll try to explain!first,i dont use any plug-ins exept the defaults...

the second.. i know that the bank needs these links to exist just to start the hole process.here they are:
Url Main: πχ. http://www.test.gr

Url From: πχ. http://www.test.gr/post.asp

Url Ok: πχ. http://www.test.gr/Completed.asp

Url Not Ok: πχ. http://www.test.gr/NotCompleted.asp

IP Address

they told me that then the customer will be redirected to their pages to complete the payment,but the guy from the bank doesn't know much about it....(what a service!!!).
i made a new button below the 'send' button so i 'll use it to open the bank's page..
(can send a screenshot?) after this,the hole thing is up to the bank....i dont know if they return the customer back,but i think we can fix it...thanks for your time....hope this time it was clear enough...

idaryl

Avatar: idaryl

2008-02-13 11:43

So I can guess then that the window (with the Bank's info - form or whatnot) is shown/opened on top of your cart - why not have a simple window.close() after the user has completed the transaction? The window goes away and you are still at the cart....

It doesn't look like they have that though because of http://www.test.gr/NotCompleted.asp that tells me there is a page that is either an error page or a sorry page... either way the user will probably have to dismiss it themselves.

If you need to... add a second function to the open window (the bank's window) button that redirects the cart (in the background - to a different page? Like this: onClick="self.location.href='index.php';" this goes to the index page or send it to a defined (in the cart) thank you page....

machinakias

No avatar

2008-02-13 18:06

oh god...i'm so confused....i dont want to bother anyone,but it would be very helpful some sample code to "copy-paste" somewhere....i feel realy lost....anyway,thanks for being so kind and helpful! if you could help some more,please...!

machinakias

No avatar

2008-02-13 19:26

well...back again..now i post the part of the code...to be totally clear...because i am too annoying.....here it is...i just copy-paste the "submit" button and make a new named CREDIT CARD...hope this will help....what i need is just the CREDIT CARD button i added to redirect to another page...doesnt matter where...any place!

<tr class="order_table">
<th colspan="3">
$lang[Summary_cost]
</th>
<th id="summaryCost">
$aList[fSummary]
</th>
</tr>
<tr class="tfoot">
<td colspan="4">
CHECK OUT<input type="submit" value="$lang[send]" class="submit" />
</td>
<tr class="tfoot">
<td colspan="4">
CREDIT CARD <input type="submit" value="$lang[send1]" class="submit" />
</td>

idaryl

Avatar: idaryl

2008-02-13 23:32

Both of these are submit buttons - they are probably inside a <form> you'll have to look at the action of the form to see if you can add a second function.

I just guessing here based on the info you are supplying

machinakias

No avatar

2008-02-14 10:20

you're right.these are the original "submit" button of the orders delivery form and a copy of it.the thing is that i dont know what i am looking for...i mean what is the code i'm looking for? i tryied to find it yesterday but no luck...

Back to top
about us | contact