Support Forums

Supress All Payment Packages ?

This is a discussion on Supress All Payment Packages ? within the TemplateCodes forums, part of the Third Party Support category; We want a free classifieds system How can we supress the payment options when a user places a new ad ...


Go Back   68 Classifieds Forums > Third Party Support > TemplateCodes

This topic is closed.

This topic is closed to new replies.

 
Thread Tools Display Modes
Old 04-21-2011, 04:06 AM   #1
Junior Member
 
Join Date: Apr 2011
Posts: 27
Rep Power: 3
TStuff is on a distinguished road
Cool Supress All Payment Packages ?

We want a free classifieds system

How can we supress the payment options when a user places a new ad ??

The options Adpack and Allprices are deactivated in the options, but the requirement for billing of $0.00 still appears.
TStuff is offline  
Old 04-21-2011, 04:21 AM   #2
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,423
Rep Power: 87
seymourjames is a jewel in the rough
Default

Replied through our support system -

1. Correct in the instructions.txt file and in general if you don't use a module you simply deactivate it and it will not show on the template (e.g adpack, listing filter, etc - easy as one click). You don't need to do any coding.

2. In the instructions.txt document as supplied for the Quick Checkout module (config file) it says - skip billing, skip product, skip payment gateway, skip discount, etc. Its pretty flexible to take out whole steps in the checkout with one replacement of 'N' or 'Y' in the config file.

For any further customization of what is left, you will have to edit the template files for the module itself (e.g. use a different phrase or not show something specific to your site ).

I have moved this thread to the correct forum. as it is a TC question and not an installation one.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting

Last edited by seymourjames; 04-21-2011 at 04:26 AM.
seymourjames is offline  
Old 04-21-2011, 10:42 AM   #3
Junior Member
 
Join Date: Apr 2011
Posts: 27
Rep Power: 3
TStuff is on a distinguished road
Default

I'll see what happens now

The Ad Pack and All Prices ARE inactive already

The Quick Checkout WAS inactive .. have just made it active
Attached Images
File Type: jpg inactive.jpg (107.3 KB, 4 views)
TStuff is offline  
Old 04-21-2011, 10:45 AM   #4
Junior Member
 
Join Date: Apr 2011
Posts: 27
Rep Power: 3
TStuff is on a distinguished road
Default

That's made it worse

Now I have:

Choose Advertising Package
Verify Billing Information
Choose Payment Method

Attached Images
File Type: jpg active.jpg (30.9 KB, 2 views)
TStuff is offline  
Old 04-21-2011, 11:46 AM   #5
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,423
Rep Power: 87
seymourjames is a jewel in the rough
Default

As in the support email:

General Practice when changing things on 68C sites:


Clear browser cache, clear cookies, empty templates_c folder of cached files.

Specific

1. Deactivate QC module to be sure that after editing the config.php file for QC module (properly) it actually functions properly (read 68C documentation about modules and how they work). You actually don't need to deactivate the module when I tested it either - it picks up the new data immediately but nonetheless it does no harm to do this.

I just tested on our demo site and in under 5 seconds , it shows no discount, no gateway, no billing , no packages.


INSTRUCTIONS.TXT DOCUMENT

/******** Classifieds Administration Config variables **************/

/**
* Skip the verification of the users billing information "Y" or "N"
*/
$data['module']['skipBilling'] = "Y";

/**
* Skip the payment gateway choice, will default to either 1 or the
* value entered for defaultGateway below. "Y" or "N"
* Only change this IF you only accept one form of payment AND
* YOU MUST SELECT A DEFAULT GATEWAY BELOW!
*/
$data['module']['skipGateway'] = "Y";

/**
* The id for the default gateway, 1=check, 11=paypal (on our test site)
* To get the id for your gateway, login to your administration
* Click on Payment, Click on Payment Providers
* the id is the number in the second column that you CANNOT change
* EXAMPLE- id 1 Email Only
*/
$data['module']['defaultGateway'] = "1";

/**
* Skip the discount step of checkout, will default to either 1 or the
* value entered for defaultGateway below. "Y" or "N"
*/
$data['module']['skipDiscount'] = "Y";


/**
* Skip the product step of checkout
* value entered for showing products below. "Y" or "N"
* defaultproduct ID = X is entered for supressing a single product when skipProduct is "Y"
*/

$data['module']['skipProduct'] = 'Y';
$data['module']['defaultProduct'] = 1;


Make sure you have a package set up as 68C requires one. Make sure you have a gateway set up as 68C requires one. Note the ID number - that is where it says $data['module']['defaultProduct'] = 1; The ID is 1 on my system but it may be something different on yours. Likewise the default gateway - the ID is 1. These are found in your admin control panel.

Activate the QC module after your changes.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting

Last edited by seymourjames; 04-21-2011 at 11:57 AM.
seymourjames is offline  
Old 04-21-2011, 01:52 PM   #6
Junior Member
 
Join Date: Apr 2011
Posts: 27
Rep Power: 3
TStuff is on a distinguished road
Default

I'm just a person OK? Not a programmer - I am just someone who paid cash money

So please help me here .. you want me to edit a config file ?? I am reading what you said:

Deactivate QC module to be sure that after editing the config.php file for QC module (properly)

what does 'properly' mean ???

be precise and helpful please
TStuff is offline  
Old 04-21-2011, 10:18 PM   #7
Junior Member
 
Join Date: Apr 2011
Posts: 27
Rep Power: 3
TStuff is on a distinguished road
Default

Found it

Thanks

modules/quick_checkout/config.php

Uploaded and emptied the cache, but it's made no difference

The Place new ad still shows Billing Information in Step 5.

The Payment Provider is set to ID 1, Email only.

Last edited by TStuff; 04-21-2011 at 10:27 PM.
TStuff is offline  
Old 04-22-2011, 02:30 AM   #8
Junior Member
 
Join Date: Apr 2011
Posts: 27
Rep Power: 3
TStuff is on a distinguished road
Default

Still not turning off ... a clue that I get though is that Fast Checkout uses ajax .. is this an ajax.php error ?

I had trouble with it verifying on login earlier, but that was sorted out okay ....

This is what's online:

$data['module']['skipBilling'] = "Y";
$data['module']['skipGateway'] = "Y";
$data['module']['defaultGateway'] = "1";
$data['module']['skipDiscount'] = "Y";
$data['module']['skipProduct'] = 'Y';
$data['module']['defaultProduct'] = 1;

But we still have "Extra Options" at Step 3 and Billing Information at Step 5

Many thanks for a reply
TStuff is offline  
Old 04-22-2011, 05:12 AM   #9
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,423
Rep Power: 87
seymourjames is a jewel in the rough
Default

That looks correct providing the ID of your package is 1?. Send me your FTP and admin control panel login details. The ones I have do not work. Then this is put to bed finally. There is no issue on the demo system nor our dev system when I did this.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline  
Old 04-22-2011, 05:16 AM   #10
Junior Member
 
Join Date: Apr 2011
Posts: 27
Rep Power: 3
TStuff is on a distinguished road
Default

will do
TStuff is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Occasional bug with packages vertyal Techconnx 17 08-31-2009 12:40 PM
Question - Payment Packages for Ads Meo Pre Sales Questions 3 08-07-2009 01:29 PM
Packages banimp3 Technical Support 1 07-01-2009 01:38 AM
payment packages oteenc Technical Support 8 08-11-2008 10:53 PM
SMS payment and payment must be complete before placing ad jadove Modules / Plugins / Modifications 7 04-22-2008 03:06 PM


All times are GMT -4. The time now is 12:48 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0