Resource icon

[Aayush] PayPal Donate 1.04

No permission to download
Hi

1. is there a way to change in "Donate" button of PayPal to a different language button of PayPal?

2. I tried to format the Goal description/Explanation. But HTML with <p> does not work for line breaks/paragraphs. What else could I use?
 
I would love to have a feature, that as soon as the donation is i.e.25 USD or more, the user gets automatically promoted to a specific usergroup. If he donates 50 USD or more, then a different usergroup again. Would that be possible to implement in a future version?
 
Is there a way to show the donation sidebar (widget) to guests? I currently see it only if I am logged in...

Resolved. Solution: Go in ACP to Users/ usergroup permissions. Check the boxes for unregistered users. Save it. Done.
 
Last edited:
1st day of month and have already tried manually running the cron.

Same problem here.

Even worse: when a user ( he is logged in) makes a donation, the amount arrives in my paypal account but the progress bar is still at zero, although I ran the cron job twice manually. So the problem is not just with manually entered (by admin) donations, but also normal donations are not reflected in the progress bar.

Resolved.

Solution:

Go to ACP/Applications/List Donations.

Click there on the donation and at the lower end check the box for confirmed and then save it.

Now the donation appears in the progress bar immediately, without manually running the cron job. See screenshot

donations_confirmed.webp


The only problem I see with this way of handling it: The user who donates will always think that something went wrong, just because there is no change in the progress bar.

So the user will obviously send emails to me and will do a lot of work without a real need.

Is there a possibility to change that so a manual confirmation in ACP is not necessary?
 
Last edited:
another question:

in the donation screen, there is this textbox for additional information the user can give.

Is it by purpose that this information is not displayed within paypal as extra information?

I can see it in the XF-ACP, but not in my PayPal ACP.
 
@snoopy5

Enable IPN on your paypal account if you don't want to do manual confirmation.

Is it by purpose that this information is not displayed within paypal as extra information?

I can see it in the XF-ACP, but not in my PayPal ACP.

Yes

Edit template "Aayush_PD_donation_goal" to change the donation button.
Find:
Code:
<img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" alt="{xen:phrase donate}" />
 
Hi

1. is there a way to change in "Donate" button of PayPal to a different language button of PayPal?

2. I tried to format the Goal description/Explanation. But HTML with <p> does not work for line breaks/paragraphs. What else could I use?

2. Edit template: Aayush_PD_donate

Find:
Code:
<xen:description>{$xenOptions.PD_GoalDescription}</xen:description>

Replace With:
Code:
<xen:description>{xen:raw {$xenOptions.PD_GoalDescription}}</xen:description>
 
@snoopy5

Enable IPN on your paypal account if you don't want to do manual confirmation.

IPN is already activated in my paypal account. URL in PayPal is on main domain, but the forum is in a subdomain installed. Could that be the reason?

This is no problem for xenforo premium payed membergroups until now. They work flawlessly with PayPal and automatic promotion.

Would that be a problem for your plugin?
 
2. Edit template: Aayush_PD_donate

Find:
Code:
<xen:description>{$xenOptions.PD_GoalDescription}</xen:description>

Replace With:
Code:
<xen:description>{xen:raw {$xenOptions.PD_GoalDescription}}</xen:description>

I did that, but no improvement. Still <p> is not recognized in the goal decription. It displays the signs, but no formatting...
 
IPN is already activated in my paypal account. URL in PayPal is on main domain, but the forum is in a subdomain installed. Could that be the reason?

This is no problem for xenforo premium payed membergroups until now. They work flawlessly with PayPal and automatic promotion.

Would that be a problem for your plugin?

update: I changed the URL in PayPal now to: http://url_to_xf_installation/payment_callback.php

But still no success. I checked then the IPN history within PayPal.

In the history, it recorded a 404 error with the URL http://url_to_xf_installation/donate_callback.php.

It seems that your script tries to connect to the wrong URL. As far as I know, all IPN URLs of xenforo installations have to go to payment_callback.php, not to donate_callback.php. Or do I misunderstand here something?
 
@snoopy5 There is a file in zip with name "donate_callback.php". Upload that file in your forum root. (same folder as payment_callback.php)

o.k., it is working now without manually confirming it. Thanks.

Do you know why the returning url I put in PayPal options is not used with your plugin?

It guides the user who donates always back to the donation page. But I prepared a special html page for a successfull transactions which I would like to use.
 
o.k., it is working now without manually confirming it. Thanks.

Do you know why the returning url I put in PayPal options is not used with your plugin?

It guides the user who donates always back to the donation page. But I prepared a special html page for a successfull transactions which I would like to use.

Template name: Aayush_PD_donate

change the "value" parameter.
Code:
<input type="hidden" name="return" value="{xen:link 'full:donations/complete'}" />
 
Thanks.

What happens with all these changes and translations, if you come out with an upgrade? Will I lose all those modifications?
 
Thanks.

What happens with all these changes and translations, if you come out with an upgrade? Will I lose all those modifications?

Well instead of doing manual edit, you can use template modifications feature. That will preserve the changes even after the upgrade.
 
Back
Top Bottom