Advertisement:

Author Topic: Friendly URLs with Paypal  (Read 1748 times)

jcdevFRA

  • Newbie
  • *
  • Posts: 3
Friendly URLs with Paypal
« on: October 22, 2014, 02:08:07 am »
Hello everyone,

I am currently working with the 3.2.2 version osclass and I installed the Paypal payment plugin.

For payment to the unit everything works fine but as soon as one wants to pay with credits (packs) I have a 404 page.

I tested and I am sure that the problem comes from: Friendly URLs with Paypal

Friendly ULRs would have also manages the plugin ...
If not what else?

Thank you in advance for your answers!

jcdevFRA

  • Newbie
  • *
  • Posts: 3
Re: Friendly URLs with Paypal
« Reply #1 on: October 22, 2014, 04:14:03 am »
Ok, it seems that to remove  ?a=".$amount."  on line 109 (index.php - Paypal plugin) would suffice ...

Quote
function wallet_button($amount = '0.00', $description = '', $rpl = '||', $itemnumber = '101') {
        echo '<a href="'.osc_render_file_url(osc_plugin_folder(__FILE__)."wallet.php&desc=".$description."&rpl=".$rpl."&inumber=".$itemnumber).'"><button class="ui-button-main">'.__("Payer avec mes crédits", "paypal").'</button></a><br />';
    }

If it helps someone!

EuroMonster

  • Newbie
  • *
  • Posts: 24
  • www.euroservicii.ro
Re: Friendly URLs with Paypal
« Reply #2 on: April 18, 2015, 09:18:02 pm »
Ok, it seems that to remove  ?a=".$amount."  on line 109 (index.php - Paypal plugin) would suffice ...

Quote
function wallet_button($amount = '0.00', $description = '', $rpl = '||', $itemnumber = '101') {
        echo '<a href="'.osc_render_file_url(osc_plugin_folder(__FILE__)."wallet.php&desc=".$description."&rpl=".$rpl."&inumber=".$itemnumber).'"><button class="ui-button-main">'.__("Payer avec mes crédits", "paypal").'</button></a><br />';
    }

If it helps someone!

Man thank you from all my heart! You are a genius :)

jcdevFRA

  • Newbie
  • *
  • Posts: 3
Re: Friendly URLs with Paypal
« Reply #3 on: April 18, 2015, 09:41:51 pm »
 ;D

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: Friendly URLs with Paypal
« Reply #4 on: September 03, 2015, 12:11:45 am »
Hi,

I am curious about the fix since it seems you're leaving out the amount..... so I am wondering if the actual credit being used when a user pays using his/her credit pack? Credits should be less after payment using credits, is this the case?

Regards,
Eric