- Posts: 66
- Thank you received: 0
Receiving multiple donation confirmations
- Erin Fernandez
- Topic Author
- Offline
- Senior Member
Less
More
12 years 11 months ago #9259
by Erin Fernandez
Receiving multiple donation confirmations was created by Erin Fernandez
Not sure what happened but we recently moved our website to a server running PHP 5.2
and since then, each time a donation is made, I am receiving multiple email confirmations for it, all throughout the day. About 20 emails for same donation)
Any idea how I can limit it to only one email per donation?
and since then, each time a donation is made, I am receiving multiple email confirmations for it, all throughout the day. About 20 emails for same donation)
Any idea how I can limit it to only one email per donation?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
12 years 11 months ago #9265
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Receiving multiple donation confirmations
It must be something with your new server . You can fix this issue follow the instruction below :
- Open the file components/com_jdonation/payments/os_paypal.php .
- Looks for the line of code (around line 286 if you are using latest version) .
- Change it to :
That should solve the problem !
- Open the file components/com_jdonation/payments/os_paypal.php .
- Looks for the line of code (around line 286 if you are using latest version) .
Code:
$row->load($id);
- Change it to :
Code:
$row->load($id);
if ($row->published)
return true ;
That should solve the problem !
Please Log in or Create an account to join the conversation.
- Erin Fernandez
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 66
- Thank you received: 0
12 years 11 months ago #9311
by Erin Fernandez
Replied by Erin Fernandez on topic Re: Receiving multiple donation confirmations
Thank you!
Your solution worked for donations!
now, I am still receiving multiple notifications for recurring donations.
What do you recommend for that?
Your solution worked for donations!
now, I am still receiving multiple notifications for recurring donations.
What do you recommend for that?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
12 years 11 months ago #9361
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Receiving multiple donation confirmations
You can do the same in verifyRecurringPayment() function :
1. Looks at the at line 320 :
Change it to :
2. Looks at the code at line 329 :
Change it to :
These changes should fix the email problem with recurring donation .
1. Looks at the at line 320 :
Code:
$row->load($id);
Change it to :
Code:
$row->load($id);
if ($row->published)
return true ;
2. Looks at the code at line 329 :
Code:
$row->load($id);
Change it to :
Code:
$row->load($id);
if ($row->published)
return true ;
These changes should fix the email problem with recurring donation .
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Dũng Nguyễn Việt
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.