| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Payment methods and the 'order is being processed' page... | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I'm looking for a way that the text displayed on the 'order is being processed' page depends on the choosen payment method.
Reason is that I have a payment method (iDEAL) that displays a dropdownlist with several banks on that page, which customers have to choose from before they can proceed with the processing of their order. And the original text 'please wait, your order is being processed' could be misleading and/or confusing for (some) customers. That's why I want to display something like; 'Please select your bank to proceed with your order...' But this text should only be displayed when iDEAL is choosen. The other payment methods should show the original text of the 'order is being processed' page. Any help is very welcome. Thanks in advance! Jerrad
__________________
X-Cart 4.0.12 Heavy modified with paid, free and forum mods. PHP 5.2.5 | MYSQL 5.0.51a |
|||||||
#2
|
|||||||
|
|||||||
![]() Which php file in the payment directory takes care of payment processing? The "please wait" message is towards the end, something like :
<table width=100% height=100%> <tr><td align=center valign=middle>Please wait while connecting to <b>SECPay</b> payment gateway...</td></tr> </table> You can safely remove the message. (Backup first!!) If you don't find it there let me know, I'm sure I can help you find it.
__________________
XCart Gold 4.0.18 Fedora 6 - Apache 2.2.4 - PHP 5.1.6 - MySQL 5.0.27 www.goose.fr |
|||||||
#3
|
|||||||
|
|||||||
![]() Thanks for the response, tobychapman!
I did a search for the 'Please wait...' text but unluckly the iDEAL payment file doesn't work this way. I noticed that indeed most payment files have this message towards the end, but like a few other files the iDEAL file don't. Somehow the iDEAL payment method redirects customers to payment_wait.php. If I could locate the code (or file) that's responsible for that action, I could try to change the redirect to a new payment_wait.php with a different message. Any idea where to look for that? Thanks again!
__________________
X-Cart 4.0.12 Heavy modified with paid, free and forum mods. PHP 5.2.5 | MYSQL 5.0.51a |
|||||||
#4
|
|||||||
|
|||||||
![]() payment_wait.php is called by payment_cc.php, right at the beginning : include $xcart_dir."/include/payment_wait.php";
When a customer pays by credit card they click on your site's "submit" button. Xcart processes this with payment_cc.php. The actual credit card processor (something like cc_ideal.php) is then called from within payment_cc.php. You can see which files are called by looking at the "xcart_payment_methods" table in the database. payment_cic.php displays a "wait" message. The credit card processor also normally displays its own wait message. So two appear. In your case only one appears because the ideal payment system waits for input from the client. Have you followed? If you remove the call to payment_wait.php it will not appear for any credit card payment. But since a second wait message normally appears, I don't see a problem. You could make it payment system sensitive : if ($module_params["processor"] == 'ideal' : but it's maybe not worth it. Hash out (#) the payment_wait include and tell me if that does it.
__________________
XCart Gold 4.0.18 Fedora 6 - Apache 2.2.4 - PHP 5.1.6 - MySQL 5.0.27 www.goose.fr |
|||||||
#5
|
|||||||
|
|||||||
![]() I found a way to do it by adding a message text to the iDEAL php file, like most of the payment php files already have!
After that I also changed the text of the payment_wait.php into the general message 'Your order is being processed...' by removing the 'Please wait...' part. Thanks for helping and pointing me to the message part of the payment files! ![]() ![]() ![]()
__________________
X-Cart 4.0.12 Heavy modified with paid, free and forum mods. PHP 5.2.5 | MYSQL 5.0.51a |
|||||||
#6
|
|||||||
|
|||||||
![]() Yep that's the easiest way : just change the message
![]() I like your "shop closed" page by the way.
__________________
XCart Gold 4.0.18 Fedora 6 - Apache 2.2.4 - PHP 5.1.6 - MySQL 5.0.27 www.goose.fr |
|||||||
#7
|
|||||||
|
|||||||
![]() Quote:
Thanks for the compliment! ![]()
__________________
X-Cart 4.0.12 Heavy modified with paid, free and forum mods. PHP 5.2.5 | MYSQL 5.0.51a |
|||||||
|
|||
X-Cart forums © 2001-2020
|