Results 1 to 7 of 7

Thread: posts saving as drafts with paypal enabled

  1. #1
    Thread Starter
    Member damien's Avatar
    Join Date
    May 2009
    Location
    Melbourne, Australia
    Posts
    91
    Thanks
    0
    Thanked 0 Times in 0 Posts

    posts saving as drafts with paypal enabled

    Latest version 2.9.2, when I enable paypal payments (featured ads 5.00 and 0 dollars for free ads), all posts regardless are saved as drafts. The only way I can stop it is by disabling paypal payments. My settings are correct, i was using 2.9.1 just fine until upgrade. In the previous version/s free ads seemed to be published immediately, now they are held back as drafts and will not appear in a profile until approved... and I dont want to be approving free ads all day

    Any ideas why this would be happening?

    my settings:
    Featured Ad Price 5 AUD
    structure: Set Fixed Price Per Ad
    Price Per Ad: 0
    Unregistered posts: Yes
    Allow Ad Editing: Yes
    Default New Ad Status: Published
    Membership: Anyone can register
    New User Default Role: Contributor

    edit:

    Draft - You have to manually approve and publish each ad
    Published - Ad goes live immediately without any approvals
    Note: If you have the "Activate Paypal?" option set to "Yes" then each ad will automatically be a draft until payment is made (regardless of the option above).


    So does that mean any ad, even the free ones, are going to be held back?

  2. #2
    Founder dcowgill's Avatar
    Join Date
    Mar 2009
    Location
    San Francisco, CA
    Posts
    1,939
    Thanks
    66
    Thanked 135 Times in 99 Posts

    Re: posts saving as drafts with paypal enabled

    The only ads that require approval (marked as draft) are those requiring payment. If the ad is free but they want to be featured for $5, it shouldn't go live until that's paid. If they don't select it featured and the category is free, the ad will go live immediately.

    Hope that makes sense.

  3. #3
    Thread Starter
    Member damien's Avatar
    Join Date
    May 2009
    Location
    Melbourne, Australia
    Posts
    91
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: posts saving as drafts with paypal enabled

    I understand you, but it's not working that way. In fact, it's exactly the same error covered prior to 2.9.1:
    viewtopic.php?f=4&t=282&p=1355&hilit=payments#p136 6" onclick="window.open(this.href);return false;
    The categories I want to be free are set at 0 (I think it is defaulted that way) but they will not auto publish.
    Free ads worked in 2.9.1 just fine, something has changed in this latest release. Perhaps this fix has not followed on into the new 2.9.2 form layout.

    I put 5.00 for featured and 0 for fixed ads. All my free ads require payment of 0 dollars before they move fron drafts, and in the dashboard it is telling me it requires payment... of 0 dollars. If I post a featured ad it wants 5 bucks and does it all properly. Just the free ads are borked.

  4. #4
    Thread Starter
    Member damien's Avatar
    Join Date
    May 2009
    Location
    Melbourne, Australia
    Posts
    91
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: posts saving as drafts with paypal enabled

    This is from 2.9.1 classifiedform.class.php

    Code:
    		if ( get_option('activate_paypal') == "yes" ) {
    			// if the ad cost is zero AND featured is not checked, then it should automatically be set to published
    			$cat_price_check = get_option('cp_cat_price_'.$data['cat']); // 0 
    			if ( ($cat_price_check == "0") && ($data['featured_ad'] == "") ) {
    				$post_status = "publish";
    			} else {
    				$post_status = "draft";
    			}
    I dont see anything like this in the latest release post-form.php, with choice for published or draft. I hope this helps anyways, I just want this baby working well

  5. #5
    Newbie telemarket's Avatar
    Join Date
    Jun 2009
    Location
    Hungary
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: posts saving as drafts with paypal enabled

    I have the same problem!

  6. #6
    dubya's Avatar
    Join Date
    May 2009
    Location
    Canada
    Posts
    1,000
    Thanks
    115
    Thanked 107 Times in 93 Posts

    Re: posts saving as drafts with paypal enabled

    I had the same problem... The key is to use $0 per cat pricing as opposed to flat $0 per ad pricing.

    See: http://wpclassipress.com/forum/viewt...start=80#p2143
    The search button. Your new best friend.
    - Dubya

  7. #7
    Thread Starter
    Member damien's Avatar
    Join Date
    May 2009
    Location
    Melbourne, Australia
    Posts
    91
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: posts saving as drafts with paypal enabled

    Quote Originally Posted by dubya
    I had the same problem... The key is to use $0 per cat pricing as opposed to flat $0 per ad pricing.

    See: http://wpclassipress.com/forum/viewt...start=80#p2143
    Thanks mate, it appears I got confused between the fixed price and the category options. This solves all my problems.

    Just fyi for anyone else stuck, it's under Pricing Structure > Select the way you want to charge people to place ads > the Price Per Category selection.

    Thanks dubya, and keep up the good work dcowgill, classipress is pretty awesome

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)