Advertisement:

Author Topic: Paypal plus  (Read 344 times)

r-mulder

  • Newbie
  • *
  • Posts: 5
Paypal plus
« on: February 24, 2019, 09:13:12 pm »
Hello i did buy Paypal plus plugin but now it is not working because the
links are like index.php?pageexample etc etc.. after payment.. I am using 'permalinks' and my Htaccess is different, i can't change it to standard because of the changes on my site.

Hope someone can help with this problem... Getting 404 error after payments

dev101

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2155
  • osclass.work
Re: Paypal plus
« Reply #1 on: February 24, 2019, 10:08:33 pm »
Hi, visit your Market dashboard > My purchases section, and there click on Report issue to contact developer.

Regards

r-mulder

  • Newbie
  • *
  • Posts: 5
Re: Paypal plus
« Reply #2 on: February 24, 2019, 11:35:42 pm »
That is ofcourse something i did first..

Mail that i got from them:

Hi. I can not help you. Plugin work with standart Osclass urls.
Best Regards, Dis.

So that is not really working, i also can't find anything about it on the internet.

dev101

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2155
  • osclass.work
Re: Paypal plus
« Reply #3 on: February 24, 2019, 11:42:16 pm »
Hi, well, you should have mentioned that :)

Unfortunately, many of us here don't own that plugin, and those who do probably do not know how to help you with that issue.

Maybe someone could help you if you post all the details about changes you did. Changing URLs without really knowing what you are doing and what consequences it might have usually ends up with problems like this.

r-mulder

  • Newbie
  • *
  • Posts: 5
Re: Paypal plus
« Reply #4 on: February 25, 2019, 12:23:10 am »
In the first week that we installed Osclass i had to switch to "friendly permalinks" because of the theme Osclasswizards was not working properly.
So it changed my .htaccess file what is normal and my URL'S went from index.php?page=contact for example it goes like site.com/contact

The point is the Paypal plugin uses index.php?page=custom and the rest of it..
I don't know if it is something to change in the php or also with the htaccess..

And you are right, i should have mentioned about contacting support :)

dev101

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2155
  • osclass.work
Re: Paypal plus
« Reply #5 on: February 25, 2019, 12:28:50 am »
Ok, so you did not change anything extra-ordinary from what you described. Many of us use permalinks options active, so that part is fine.
Plugin should be working, regardless of that setting, as long as everything else on your website runs fine.

However, I am really puzzled about theme having problems with permalinks, what kind of problems you had? Can you explain? Themes really have nothing with that, or they should not, normally. Was the Bender theme working fine? What server do you run Osclass on (LiteSpeed, Apache... reverse-proxy etc.)? All that usually matters in this kind of issues.

On another hand, if plugin uses hard-coded links like that, that usually means bad design, because plugins must take into account different possibilities (with or without permalinks). Maybe, if you contact developer again and explain the issue better, he may understand and fix it in that case.

Of course, this is all speculative and preliminary talk, as I don't know plugin's code.

Regards
« Last Edit: February 25, 2019, 12:34:40 am by dev101 »

r-mulder

  • Newbie
  • *
  • Posts: 5
Re: Paypal plus
« Reply #6 on: February 25, 2019, 12:42:32 am »
First of all, thanks for your time!

To be honest, never used the Bender theme, we uploaded the system, right away just Osclasswizards theme and the problem was when you clicked on someone's username to see all that person his advertisements then you couldn't go to page 2.. It was not working whatever we tried so we figured out that when we use the friendly permalinks that it was alright, on the other hand, now the issue is that the plugin is not working on friendly url's..

I was looking in the functions.php (paypal plugin) and it shows:

function wallet_button($amount = '0.00', $description = '', $itemnumber = '101', $extra_array = '||') {
        $extra = ppaypal_prepare_custom($extra_array);
        $extra .= 'concept,'.$description.'|';
        $extra .= 'product,'.$itemnumber.'|';

        echo '<a href="'.$main.'index.php?page=custom&route=ppaypal-wallet&a='.$amount.'&desc='.$description.'&extra='.$extra.'"><button>'.__("Pay with your credit", "ppaypal").'</button></a>';
    }

That is the whole issue because we don't use index.php?page= etc.. we have the index.php/contact etc..
I tried (i also host the same website as backup to test some things before i really put it 'online') and when i put the site back to standard so without the friendly permalinks then it works amazing! But i can't go back from friendly permalinks because of the problem with the theme.

dev101

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2155
  • osclass.work
Re: Paypal plus
« Reply #7 on: February 25, 2019, 12:53:18 am »
Well, that doesn't look like a proper way to construct that link, and it is strange tbh if you are the only one with this issue.
Contact developer again, explain the issue better and hopefully it will be fixed.

Regards