Group Subscription (PayPal)

Link only shown to admins - Group Subscription (PayPal)

Link only shown to admins

by ZlaYa07 » Tue Oct 15, 2019 2:26 pm

Hello there, sorry for the newbie question, I've just installed this awesome extension for the first time, and was wondering why on the Navbar(I've downloaded the 1.1.1-beta version) the link is only shown to admins(i assume, since I've tested this only with my phpbb admin account), and when i go directly to https://>FORUM DOMAIN>/forum/app.php/groupsub/subs my phpbb says Site Not Found(it writes in my language, i rougly translated it to english)

Any help would be appreiciated, thanks.
P.S. I'm in the PHP learning phase so I'm not very experienced with PHP, with html and css I'm solid so to say.
Sorry for any Inconvenience and this i assume unneeded post, but I'm desperate to be honest.
ZlaYa07
Registered User
Posts: 10
Joined: Tue Oct 15, 2019 2:18 pm
Contact:

Re: Link only shown to admins

by StevoTVR » Sun Oct 20, 2019 5:57 pm

Do you have a valid PayPal email address set in the extension settings?
User avatar
StevoTVR
Registered User
Posts: 271
Joined: Thu Jul 13, 2006 6:23 pm
Name: Steve Guidetti
Contact:

Re: Link only shown to admins

by ZlaYa07 » Sun Oct 20, 2019 9:41 pm

I do have a valid Paypal email adress set, was using the sandbox mode, that's why the link wasn't shown anyone besides admins, so I guess everything is fine about that.
I've tested it without sandbox also, made a 0.1$ package to add to a specific group with benefits/admin rights, when I paid, the account didn't get added automatically to the group, and neither the transaction, nor subscription are showing in the ACP module. When i manually add an user as subscriber, the group and rights work fine, and when the sub time expires, the user gets removed from the group back to the grp where he was before(Same as Thunderer reported)
I've tested both 1.0.2 and 1.1.1 versions, on phpbb 3.2.8 version -> same issue as i can remember.
Planned on using this extension in a month or two, since I don't wanna use it on my samp server immediately because I've launched it few days ago, if these get fixed by that time, I'll be more than happy ^^

Offtopic: Regarding the bosnian 1.0.2 translation I've posted, there's a slight synthax error on both formal and casual honorifics translation:
File(s) Affected : common.php - LINE 57
Formal Honorifics
CHANGE:

Code: Select all

'GROUPSUB_RETURN_MESSAGE'	=> 'Pretplaćeni ste na <strong>% 1 $ s </strong> na% 2 $ s. Molimo pričekajte nekoliko minuta da se Vaše plaćanje obradi i da se pretplata aktivira.',
TO

Code: Select all

'GROUPSUB_RETURN_MESSAGE'	=> 'Pretplaćeni ste na <strong>%1$s</strong> na %2$s. Molimo pričekajte nekoliko minuta da se Vaše plaćanje obradi i da se pretplata aktivira.',
Casual Honorifics
CHANGE:

Code: Select all

'GROUPSUB_RETURN_MESSAGE'	=> 'Pretplaćen si na <strong>% 1 $ s </strong> na% 2 $ s. Molimo pričekaj nekoliko minuta da se tvoje plaćanje obradi i da se pretplata aktivira.',
TO

Code: Select all

'GROUPSUB_RETURN_MESSAGE'	=> 'Pretplaćen si na <strong>%1$s</strong> na %2$s. Pričekaj nekoliko minuta da se tvoje plaćanje obradi i da se pretplata aktivira.',
That's everything I've noticed grammar / synthax wise, everything else is fine. I'll be working later on a 1.1.1-beta Bosnian translation if needed.
Kind regards,
ZlaYa07
ZlaYa07
Registered User
Posts: 10
Joined: Tue Oct 15, 2019 2:18 pm
Contact:

Re: Link only shown to admins

by StevoTVR » Mon Oct 21, 2019 1:32 am

Is HTTPS enabled on your site?
User avatar
StevoTVR
Registered User
Posts: 271
Joined: Thu Jul 13, 2006 6:23 pm
Name: Steve Guidetti
Contact:

Re: Link only shown to admins

by ZlaYa07 » Mon Oct 21, 2019 6:08 am

Actually yes, enabled phpbb on installation(443 port and https shown in the phpbb settings) and by my hosting provider+ssl(i suppose), and I think that i have an .htaccess to port users to https -> does that make issues?
EDIT: Also Enable URL Rewriting: off, i just checked
ZlaYa07
Registered User
Posts: 10
Joined: Tue Oct 15, 2019 2:18 pm
Contact:

Re: Link only shown to admins

by StevoTVR » Mon Oct 21, 2019 4:45 pm

Can you send me a link to your site?
User avatar
StevoTVR
Registered User
Posts: 271
Joined: Thu Jul 13, 2006 6:23 pm
Name: Steve Guidetti
Contact:

Re: Link only shown to admins

by ZlaYa07 » Wed Oct 23, 2019 7:50 am

https://www.zb-samp.com/forum

Sent you a private message with admin credentials in case you need.
ZlaYa07
Registered User
Posts: 10
Joined: Tue Oct 15, 2019 2:18 pm
Contact:

Re: Link only shown to admins

by ZlaYa07 » Thu Oct 24, 2019 6:29 am

I've seen that your Sandbox transactions went through and it was visible in "View Transactions" and "Manage Subscriptions", so i tried it myself, and edited the package to add the user to a specific group, works as intended, when I cancelled the subscription manually in the extensions panel, it removed from the group too....After that i decided to do a live transaction with another 0.01$ package, used my friends paypal acc for the donation destination, i had my paypal deducted 0.01$, and the transaction went through, but no indication info on "View Transactions" and "Manage Subscriptions", and the phpbb user didn't get added to the group + group permissions. One more note regarding the transaction is, on my Paypal i see the paid transaction to my friend's Paypal, but it states as "unclaimed", could that be a potential issue?
ZlaYa07
Registered User
Posts: 10
Joined: Tue Oct 15, 2019 2:18 pm
Contact:

Re: Link only shown to admins

by StevoTVR » Thu Oct 24, 2019 5:10 pm

Are you using a personal or business PayPal account? I haven't tested it with a personal account.
User avatar
StevoTVR
Registered User
Posts: 271
Joined: Thu Jul 13, 2006 6:23 pm
Name: Steve Guidetti
Contact:

Re: Link only shown to admins

by ZlaYa07 » Fri Oct 25, 2019 5:53 am

Mine is a bussiness type account(Used for the payment), and the friend's Paypal Account(Used for the donation destination) is personal.
I've reversed the situation now, made my business account as the donation destination, and paid with my friends personal paypal, everything is fine, the live transaction is listed under "View Transactions" and the Subscription is listed under "Manage Subscriptions", subscriber phpbb account got group rights transfered automatically and everything else, so I can confirm that it doesn't work with personal Paypal accounts as the donation holders, and everything is working as intended now. Big thanks for the support and sorry for taking your time. Much love <3
ZlaYa07
Registered User
Posts: 10
Joined: Tue Oct 15, 2019 2:18 pm
Contact:

Re: Link only shown to admins

by StevoTVR » Fri Oct 25, 2019 3:12 pm

That's good to know. Thanks for taking the time to troubleshoot this issue. :)
User avatar
StevoTVR
Registered User
Posts: 271
Joined: Thu Jul 13, 2006 6:23 pm
Name: Steve Guidetti
Contact:

Re: Link only shown to admins

by ZlaYa07 » Sat Oct 26, 2019 8:59 pm

You're welcome :mrgreen: :mrgreen: :mrgreen:
ZlaYa07
Registered User
Posts: 10
Joined: Tue Oct 15, 2019 2:18 pm
Contact: