Jump to content

Donate Sidebar Support


Recommended Posts

Posted
On 16/10/2016 at 11:08 PM, The Old Man said:

Hi Mike, thank you for this. I was wondering if you could alter the text to be rich text, so we could have paragraphs, formatting etc?
Many thanks!

Are you adding your formatting to the "Donation Note" setting? Because it should pretty much use the existing setting and display it's html in the widget.

Posted
On 18/10/2016 at 5:44 PM, The Old Man said:

Hi Mike, yes, it's always been a plain text for me.

I'm sorry, I was mistakenly thinking it already supported the editor field. I've noted this for the next version. If you don't mind some test edits, I should be able to provide a patch some time next week.

  • 2 months later...
Posted
On 5/10/2016 at 3:52 AM, Mike John said:

Try this and let me know how you go.

Open plugins/donatesidebar/widgets/donateWidget.php (The folder "donatesidebar" may be named differently.)

Find:


$form->hiddenValues['cmd'] = '_donations';

Add BELOW:


$form->hiddenValues['lc'] = 'US';

Save.

Is there a way to make it detect user language and display PayPal for that user in his language? I mean to make it multilingual.

Posted
On 21 October 2016 at 0:28 AM, Mike John said:

I'm sorry, I was mistakenly thinking it already supported the editor field. I've noted this for the next version. If you don't mind some test edits, I should be able to provide a patch some time next week.

Any news on the next release please, Mike? Many thanks.

Posted
On 05/01/2017 at 7:13 PM, The Old Man said:

Any news on the next release please, Mike? Many thanks.

Probably not for some weeks now but PM me and I can put together a patch for yourself.

  • 1 month later...
Posted

I would like to replace "Donate now" textual button with a graphical button based on png/jpg, can you give advice which part of code to replace ?

Posted
On 21/02/2017 at 7:47 PM, Xeite said:

I would like to replace "Donate now" textual button with a graphical button based on png/jpg, can you give advice which part of code to replace ?

Try something like this.

Open plugins/donatesidebar/widgets/donateWidget.php

Find:

/* Display our widget */

Add ABOVE:

$form->actionButtons = array( '<input type="image" name="submit" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynow_LG.gif" alt="PayPal - The safer, easier way to pay online">' );

Save. Now just swap out for your own image.

  • 2 months later...
  • 2 months later...
  • 6 months later...
Posted
On 2/18/2018 at 9:21 PM, obeyx said:

Can you make this so there's an option to list recent donators?

Donations are not recorded with the plugin. If you want to record donors, I'd suggest my Donations app instead.

  • 2 months later...
  • 3 months later...
Posted (edited)
On 4/21/2018 at 12:50 PM, EmpireKickass said:

IS this working for 4.3

yes, we have it running. 

On 5/10/2016 at 3:52 AM, Mike John said:

Try this and let me know how you go.

Open plugins/donatesidebar/widgets/donateWidget.php (The folder "donatesidebar" may be named differently.)

Find:


$form->hiddenValues['cmd'] = '_donations';

Add BELOW:


$form->hiddenValues['lc'] = 'US';

Save.

Excellent! Just what I was looking for! But ...

.. was hoping this would be a configuration option through ACP. Is it possible to create a language / flags dropdown for us (or is that part of premium version of plugin)? As all these parameters are readily available: https://developer.paypal.com/docs/classic/api/locale_codes/#localize-the-buyers-checkout-experience or atleast match the lc value to the IPS default language value?

 

Edited by rhyker2u
Posted
5 hours ago, rhyker2u said:

.. was hoping this would be a configuration option through ACP. Is it possible to create a language / flags dropdown for us (or is that part of premium version of plugin)? As all these parameters are readily available: https://developer.paypal.com/docs/classic/api/locale_codes/#localize-the-buyers-checkout-experience or atleast match the lc value to the IPS default language value? 

Noted for a future release. It might be possible to use the locale data IPB stores for each user to directly show the correct language in Paypal.

Posted
On 8/15/2018 at 9:00 AM, Jan Krohn said:

It would be great to have the donations actually sent as donations, so that the recipient wouldn't have to pay any PayPal fees.

What country is your receiving Paypal account in? I am setting up using the "_donations" method but it appears that may not cover all countries.

Posted
1 hour ago, Mike John said:

What country is your receiving Paypal account in? I am setting up using the "_donations" method but it appears that may not cover all countries.

Netherlands.

I can receive donations with a manually created button though.

  • 2 weeks later...
Posted

Sorry about the confusion.

The donations that came in without fees were done by users sending "personal payments".

Payments coming through the button, although they're donations, are subject to fees in the Netherlands. 😠

Shame on PayPal.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...