Advertisement:

Author Topic: Payments Plugin  (Read 3109 times)

Marcel

  • Sr. Member
  • ****
  • Posts: 351
Payments Plugin
« on: December 21, 2012, 12:34:22 am »
Hi Everyone,

I have just installed the Payments Plugin and am very happy with it, except one problem. I added a charge for a few categories to publish the ads. When someone makes their ad and hits the "Publish" button it takes them to the Paypal page to pay the publish fee. The only problem here is that if someone does not pay the fee their ad still gets posted on my site. Does anyone know how to fix this problem? Is there something I am doing wrong or something that I need to change? Any help is much appreciated.

Thanks in advance

rudy78

  • Guest
Re: Payments Plugin
« Reply #1 on: December 21, 2012, 04:27:57 am »
hi maybe you can consider paypal plus plugin.... 8)

Marcel

  • Sr. Member
  • ****
  • Posts: 351
Re: Payments Plugin
« Reply #2 on: December 21, 2012, 04:41:51 am »
Hi rudy78,

I had the paypal plus plugin before and had many problems with that plugin, which is the reason why I downloaded this plugin. This plugin seems to be working much better, but I am getting a couple of little problems with it. I have figured out my first problem, but now I have another small problem. Now when there is a fee for a certain category I push the "Publish" button at the bottom of the page and it takes me to the paypal page, which is good. The only bad thing is that at the top of the paypal page it says "Your listing has been published", which is not true because there is a fee that needs to be paid before the ad is published. I wanted to know if there is any way to remove that message at the top of the page?

Thanks

rudy78

  • Guest
Re: Payments Plugin
« Reply #3 on: December 21, 2012, 04:51:54 am »
hi sorry i can figure it out payment plugin.....but if you use paypal plus just change folder plugin permision to 0777 not 0755 its works for me

Marcel

  • Sr. Member
  • ****
  • Posts: 351
Re: Payments Plugin
« Reply #4 on: December 21, 2012, 05:18:32 am »
@rudy78,

I have just tried the paypal plus plugin again and it still has the same problems that it did before I removed it, so I am going to stay with this plugin. Thanks for your help though.

@anyone,

I am trying to remove the part "Your listing has been published" that comes up at the top of the page after someone hits the "Publish" button to publish their ad. I know it has to do with something on the root file item.php around line 150, but I just can't figure out which lines I need to remove so that nothing comes up at the top of the page. If someone can help me please let me know.

Thanks

rudy78

  • Guest
Re: Payments Plugin
« Reply #5 on: December 21, 2012, 11:24:45 am »
hy sorry for my latest aswer plz try gain for installig paypal plus plugin then change permissin folder plugin to 0755 not 0777  thanx

Marcel

  • Sr. Member
  • ****
  • Posts: 351
Re: Payments Plugin
« Reply #6 on: December 21, 2012, 12:31:44 pm »
I tried your suggestion and it still isn't working for me, so I am going to stay with the payments plugin.

Thanks for your help

rudy78

  • Guest
Re: Payments Plugin
« Reply #7 on: December 21, 2012, 01:09:01 pm »
see my site marcel pasmobil.com iam using paypalplus and member can buy with system point

Marcel

  • Sr. Member
  • ****
  • Posts: 351
Re: Payments Plugin
« Reply #8 on: December 21, 2012, 01:19:18 pm »
Hi,

I looked at your site. I have used the paypal plus plugin before but it just did not work for me. This plugin is working much better for me, but now all I need to figure out is how to remove the "Your listing has been published" line which comes up after clicking the "Publish" button. It comes up at the top of the screen and I want to remove it but don't know how to do it. The line is located in the root item.php file around line 150. Can you please give me a suggestion on how to remove this line?

Thanks again, I really appreciate all of your help.

Marcel

  • Sr. Member
  • ****
  • Posts: 351
Re: Payments Plugin
« Reply #9 on: December 21, 2012, 10:51:44 pm »
Hi everyone,

I am trying to figure out how to remove the line that says "Your listing has been published" from the item.php file which is in the root. The following is exactly how it shows up in the file from line 139 to line 162:

// POST ITEM ( ADD ITEM )
                    $success = $mItems->add();

                    if($success!=1 && $success!=2) {
                        osc_add_flash_error_message( $success) ;
                        $this->redirectTo( osc_item_post_url() );
                    } else {
                        Session::newInstance()->_dropkeepForm('meta_'.$key);

                        if($success==1) {
                            osc_add_flash_ok_message( _m('Check your inbox to validate your listing') ) ;
                            } else {
                            osc_add_flash_ok_message( _m('Your listing has been published') ) ;
                        }
                           
                        $itemId         = Params::getParam('itemId');
                        $item           = $this->itemManager->findByPrimaryKey($itemId);

                        osc_run_hook('posted_item', $item);
                        $category = Category::newInstance()->findByPrimaryKey(Params::getParam('catId'));
                        View::newInstance()->_exportVariableToView('category', $category);
                        $this->redirectTo(osc_search_category_url());
                    }
                break;

Does anyone know how I can remove that part so that nothing comes up at the top of the page after the customer clicks the "Publish" button? Any help would be very appreciated.

Thanks

Marcel

  • Sr. Member
  • ****
  • Posts: 351
Re: Payments Plugin
« Reply #10 on: December 22, 2012, 09:04:27 pm »
Hi,

Can someone please let me know which lines I need to remove to get rid of the "Your listing has been published" line that comes up? I'm sure it isn't that hard, but I am just not that good at this stuff. I would really appreciate any help.

Thanks

Marcel

  • Sr. Member
  • ****
  • Posts: 351
Re: Payments Plugin
« Reply #11 on: December 23, 2012, 04:40:11 am »
Does anyone know how to remove this part? Please let me know.

Thanks

Marcel

  • Sr. Member
  • ****
  • Posts: 351
Re: Payments Plugin
« Reply #12 on: December 24, 2012, 04:42:31 am »
Can someone please help me and let me know how to remove the line? I really need the help and would really appreciate any help at all.

Marcel

  • Sr. Member
  • ****
  • Posts: 351
Re: Payments Plugin
« Reply #13 on: December 25, 2012, 08:04:38 pm »
Can someone please help me and let me know how to fix this problem?

Thank you

mmcsus

  • Hero Member
  • *****
  • Posts: 704
  • Open Source
Re: Payments Plugin
« Reply #14 on: December 25, 2012, 09:30:52 pm »
@Marcel

         }  /* else {
                            osc_add_flash_ok_message( _m('Your listing has been published') ) ;
                        }  */

This was tested on 3.0.2 modern.
« Last Edit: December 25, 2012, 09:36:01 pm by mmcsus »