Gift notification - not working

  • lrhone11
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 5 months ago #12297 by lrhone11
Gift notification - not working was created by lrhone11
My organization is not getting notifications when someone enters in names/addresses to the "whom should be notified of this gift" section when they are making a donation. We use paypal as our gateway. Does the "whom should be notified" information get transferred to the paypal transaction in "notes" or something? Here is our system info:

PHP Built on: Linux biz93.inmotionhosting.com 2.6.18-238.19.1.el5 #1 SMP Fri Jul 15 07:31:24 EDT 2011 x86_64
Database Version: 5.0.92-community-log
Database Collation: utf8_general_ci
PHP Version: 5.2.17
Web Server: Apache
Web Server to PHP interface: cgi
Joomla! Version: Joomla! 1.5.20 Stable [ senu takaa ] 18-July-2010 18:00 GMT
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0


Thanks so much for this plugin and your help.

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #12339 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Gift notification - not working
Hi

It seems you created custom field "whom should be notified" and add it to donation form. However, Joom Donation doesn't know about that field and It also doesn't pass these information to Paypal. The information just stored in backend and you can see it when you view detail information of the donation record .

Hope my explanation is clear to you !

Tuan

Please Log in or Create an account to join the conversation.

  • lrhone11
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 5 months ago #12340 by lrhone11
Replied by lrhone11 on topic Re: Gift notification - not working
what would be the best way to make sure that information translates to paypal?

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #12341 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Gift notification - not working
Hi

If you want to pass that information to Paypal, the only way is that you modify the Paypal payment plugin. The file you need to modify is components/com_jdonation/payments/os_paypal.php . Looks at the code at line 104 :
Code:
$this->setParam('item_name', $data['item_name']);

You can change it to something like that :
Code:
$this->setParam('item_name', $data['item_name'].' '.JRequest::getVar('name_of_the_field'));

Please note that you need to replace name_of_the_field with the actual name of "whom should be notified" .

Hope that give you some clue !

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamDũng Nguyễn Việt