Advertisement:

Author Topic: playment plugin configuration and premium option  (Read 3651 times)

hassanGenius

  • Full Member
  • ***
  • Posts: 105
  • make it geniusly,!!
playment plugin configuration and premium option
« on: January 24, 2014, 09:02:47 pm »
hi,, Good evening everyone. Last few days I am working with a premium option on my side. So, I install a payment plugin. But there a lot of things I did not figure out. i need a help,, plz someone help me out..
1> i am testing this plugin on my sandbox paypal account. When i ​pay for any product for premium​ services its sends me details  of product including client details into my paypal account. But​, from product details  ,, its shows me only item Number = 301x3.
and item titles = premium fee / credit for .... 

So, how can i understand ,​which product actually paid for ??


2> after paid for premium services , its not chainging automically to premimum on Admin side. is it for any error.   or admin should to change everytime after pay,.!!

3> if i changed it manually, to premium in admin panel. i did not see any big different between premium add and normal add.  in premium add, just showing me  color and a word premimu. if i post another add,, premium go to down, i think, as a premium add its should be in top for 7 days.. {pic ...attach}

4> if i log as a user ,, then goto my account ->    Listings payment status/ Buy credit for payments.

click on each of one, its redirect me core theme, which is might b modern theme, in my case , i m now usinf my customize theme..

why this happened?? {pic attach}
5> in admin side , i just set my sandbox paypal email, and its worked.. do i need paypal api ?? api password?? and api signature ??
[pic attach]
6> price of pack #1 /2/3 is for what?? and where this shows after any premium pay??{pic attach}

Thanks ......

zombie

  • Sr. Member
  • ****
  • Posts: 376
Re: playment plugin configuration and premium option
« Reply #1 on: January 25, 2014, 01:23:42 am »
1>
101 code -is pay per publis
201 code is pay per premium
301 code maybe ix credit packs, i am not sure
after the x it is the id

so maybe 301x3 means credit pack #3 is bought

2> you need to tell paypal what is your notify url, so they make premium the ad, which is paid for. If you did not specify IPN, that won't work, of course...
3>you need to do manual sorting in database and osclass core - this depends on your osclass version... I can do it for you on 3.0.x but on later versions, i did not try to make it and I am not sure how, yet
4>no idea why that is, check plugin code for the particular menu
5>yes, just enable API and get it from there... they give you everything. just check Merchant Services...
6>these are credit packs for making items premium. If you want to use this, they appear in user menu with buttons to buy each...

Cheers!

hassanGenius

  • Full Member
  • ***
  • Posts: 105
  • make it geniusly,!!
Re: playment plugin configuration and premium option
« Reply #2 on: January 25, 2014, 09:18:50 pm »
Hi,, thanks for nice solution. and there are few things, still did not get. please ,, help me ..again!

2. I can't set my IPN in Paypal. When its asked me Notification URL , i put it http://localhost/osclass/
And Paypal sandbox didn't accept this url , asking me for url again. . {pic attach} .
why this error? what should i insert in url box ? ?

3. my osclass version is 3.2. can you give me some idea,, hw can u do it for premium. i want it for carsol. actually when someone pay for add, its automically add on carsol. {Or if you have a different idea? }

6. credit pack,, still cant understand. ya, if a client pay for credit then, where i can use this premium option  ..? i attach a pic , hope u can help me better...

thanks :)

zombie

  • Sr. Member
  • ****
  • Posts: 376
Re: playment plugin configuration and premium option
« Reply #3 on: January 26, 2014, 12:45:02 pm »
Hi, you have to set real notification url with http(s)//:domain.tld/etc/etc...
but if you have more than one site, you cant add more than 1 notification url, which is extremely stupid. and you have to have a url to understand what site it is for. There should be a script out there.
On the credit pack - credit for amount X is stored in the user profile. They may use it to pay for premium. The idea is that you may want to give discounts for larger credit packs, maybe.

hassanGenius

  • Full Member
  • ***
  • Posts: 105
  • make it geniusly,!!
Re: playment plugin configuration and premium option
« Reply #4 on: January 26, 2014, 09:31:55 pm »
Thanks,,, i think i am close nw about ipn...

kwseow

  • Newbie
  • *
  • Posts: 4
Re: playment plugin configuration and premium option
« Reply #5 on: March 09, 2014, 03:26:19 pm »
2> after paid for premium services , its not chainging automically to premimum on Admin side. is it for any error.   or admin should to change everytime after pay,.!!

Hi,

I'm new to osclass and I'm facing the same problem that you mentioned.  Have your solved this problem?  I tend to think that we need to modify notify_url.php to update the item's b_premium status.  But I'm not sure.  Can anyone advice?  Or is the behaviour described above normal?  That is, administrator will need to manually set the ads status to premium?

If we need to modify notify_url.php, is anyone able to show some sample code?

Many thanks,
KW