Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Remove Payment Method

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 03-13-2007, 06:09 AM
 
darr darr is offline
 

Member
  
Join Date: Oct 2004
Posts: 29
 

Default 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!
__________________
xcart 4.5.0
Reply With Quote
  #12  
Old 11-12-2007, 03:51 PM
 
tnpaintballers tnpaintballers is offline
 

Member
  
Join Date: Sep 2007
Posts: 28
 

Default 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.
__________________
Version 4.1.8

TN Paintballers LLC
914 N Charles G Seivers Blvd
Clinton, TN 37716
865-457-8000
www.tnpaintballers.com
Reply With Quote
  #13  
Old 04-06-2008, 07:03 PM
 
Duramax 6.6L Duramax 6.6L is offline
 

X-Adept
  
Join Date: Dec 2006
Posts: 865
 

Default Re: Remove Payment Method

This does not seem to work in 4.1.9, any ideas?
__________________
Xcart 5.1.6 Building New Store
Xcart4.6.4 Gold Plus
Xcart 4.6.4 Platinum
Smart Template,
Mail Chimp Upgrade
Checkout One (One Page Checkout)
Checkout One X-Payments Connector
Checkout One Deluxe Tools
Call For Price
On Sale Module
Buy Together Module
MAP Price MOD
Reply With Quote
  #14  
Old 04-06-2008, 07:05 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Remove Payment Method

Read post #10
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #15  
Old 04-06-2008, 07:18 PM
 
Duramax 6.6L Duramax 6.6L is offline
 

X-Adept
  
Join Date: Dec 2006
Posts: 865
 

Default 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.
__________________
Xcart 5.1.6 Building New Store
Xcart4.6.4 Gold Plus
Xcart 4.6.4 Platinum
Smart Template,
Mail Chimp Upgrade
Checkout One (One Page Checkout)
Checkout One X-Payments Connector
Checkout One Deluxe Tools
Call For Price
On Sale Module
Buy Together Module
MAP Price MOD
Reply With Quote
  #16  
Old 04-30-2009, 09:24 AM
  photo's Avatar 
photo photo is offline
 

X-Wizard
  
Join Date: Feb 2006
Location: UK
Posts: 1,146
 

Default 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
__________________
v4.1.10
In Dev v4.5.x


"If you don't keep an eye on your business, someone else will."
Reply With Quote
  #17  
Old 05-01-2009, 06:51 AM
  photo's Avatar 
photo photo is offline
 

X-Wizard
  
Join Date: Feb 2006
Location: UK
Posts: 1,146
 

Default 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.
__________________
v4.1.10
In Dev v4.5.x


"If you don't keep an eye on your business, someone else will."
Reply With Quote
  #18  
Old 09-28-2011, 02:42 PM
 
Bucci Bucci is offline
 

Newbie
  
Join Date: May 2009
Posts: 6
 

Default 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 );
__________________
Version 4.2.1
X-AOM, X-Affiliate, X-Offers, X-FancyCat
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:55 AM.

   

 
X-Cart forums © 2001-2020