| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Redirect Submit Order Button | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Redirect Submit Order Button
hello,
i would like to redirect the final button in the shopping cart (submit order). i need this button to send the information to the gateway, and then instead of going to the confirmation page, i would like to send it to a different url. i have looked everywhere on how to redirect the submit order button, someone please help. reference site: http://www.colorprintdirect.com
__________________
tekmind X-cart 4.0.7 [unix] |
|||||||
#2
|
|||||||
|
|||||||
I can't give you specifics, but I believe you would have to edit cart.php to specify where to redirect after processing the payment.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
i have been able to find the button, but it is complicated.
this button also sends to the gateway, there is a lot of code on this button and i can not figure out how to forward it to a different url instead of the confirmation page. can anyone please help me with this, i have searched everywhere in the forum but cannot find the answer.
__________________
tekmind X-cart 4.0.7 [unix] |
|||||||
#4
|
|||||||||
|
|||||||||
The confirmation redirect by default takes place here:
payment/payment_ccend.php It sets the $request variable and then redirects to it. You can change the redirect by changing this block of code: Code:
I could probably help further if you were more specific in what your trying to accomplish. |
|||||||||
#5
|
|||||||
|
|||||||
thank you jon,
this is what i need to happen, when the customer finishes the checkout and clicks the "submit order" button, it directs the information to the gateway of course, and then i would like them to be taken to a new page "http://www.upload.colorprintdirect.com/" an upload form.
__________________
tekmind X-cart 4.0.7 [unix] |
|||||||
#6
|
|||||||||
|
|||||||||
Not an easy thing to accomplish. You have to add a new payment method, and with that payment method you can attach a payment.php file. You need to have that geared towards passing all the necessary information to your gateway. You could probably edit the world pay payment method to do so. Somehow with that you have to be able to pass the return url also.
|
|||||||||
|
|||
X-Cart forums © 2001-2020
|