X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Remove Payment Method (https://forum.x-cart.com/showthread.php?t=16924)

darr 03-13-2007 06:09 AM

Re: Remove Payment Method
 
Quote:

Originally Posted by carpeperdiem
If you want this mod to work with 4.1.3, the replacement line will be:

Code:

$orderids = func_place_order(stripslashes($payment_method), "I", $order_details, $customer_notes);


Just to let everyone know that the above fix does work with 4.1.6.

Thank you!

tnpaintballers 11-12-2007 03:51 PM

Re: Remove Payment Method
 
Has any body been able to get this removed from 4.1.8 or newer? I have put this in, but it doesn't remove this from the Invoice Print page.

Duramax 6.6L 04-06-2008 07:03 PM

Re: Remove Payment Method
 
This does not seem to work in 4.1.9, any ideas?

carpeperdiem 04-06-2008 07:05 PM

Re: Remove Payment Method
 
Read post #10

Duramax 6.6L 04-06-2008 07:18 PM

Re: Remove Payment Method
 
Thank you carpeperdiem for the quick response.

I used the info in post #10

Here is a copy and past of an invoice.

Date: Sunday, April 6, 2008 02:20:45 PM
Order id: #1053
Order status: Queued
Payment method:
(manual processing)
Delivery method:
DHL/Airborne Express

This is right of the invoice. I have reverted the template until I figure this out.

photo 04-30-2009 09:24 AM

Re: Remove Payment Method
 
Quote:

Originally Posted by Duramax 6.6L
Thank you carpeperdiem for the quick response.

I used the info in post #10

Here is a copy and past of an invoice.

Date: Sunday, April 6, 2008 02:20:45 PM
Order id: #1053
Order status: Queued
Payment method:
(manual processing)
Delivery method:
DHL/Airborne Express

This is right of the invoice. I have reverted the template until I figure this out.


Tried it also and was not able to get it to work on 4.1.10

photo 05-01-2009 06:51 AM

Re: Remove Payment Method
 
Quote:

Originally Posted by photo
Tried it also and was not able to get it to work on 4.1.10


Update,
It works fine for new orders but does not change existing orders.

Bucci 09-28-2011 02:42 PM

Re: Remove Payment Method
 
I'm running 4.2.1 and I have the problem where Xcart and Webgility ECC shows "Credit Card" but the invoice or data of the invoice is brought over as Credit Card (Authorize : AIM) Hence when QB sees it it thinks it

"Credit Card (Authorize : AIM)" and not "Credit Card"

I think this problem will help but I can not find the module below. And help would be great.


=================Cut from earlier post++++++++++++
To solve the problem, you should edit the 'payment/payment_cc.php' script and find the following lines:

# Put order in table
if(empty($secure_oid) || ($secure_oid_cost != $cart["total_cost"])) {
$orderids = func_place_order(stripslashes($payment_method)." (".$module_params["module_name"].(get_cc_in_testmode($module_params)?", in test mode":"").")", "I", $order_details );
$secure_oid = $orderids;
$secure_oid_cost = $cart["total_cost"];
$duplicate = false;
}


Then you should replace

$orderids = func_place_order(stripslashes($payment_method)." (".$module_params["module_name"].(get_cc_in_testmode($module_params)?", in test mode":"").")", "I", $order_details );

with

$orderids = func_place_order(stripslashes($payment_method), "I", $order_details );


All times are GMT -8. The time now is 08:43 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.