Joom Donation Paypal IPN issue solved

  • Rob Wickham
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 2 months ago #25133 by Rob Wickham
Joom Donation Paypal IPN issue solved was created by Rob Wickham
Hello all. I have been working on this for days and finally found a solution, so I figured I'd share it. My problem was that the transaction for the donation through Joom Donation was being completed on paypal's end but was not being completed on the website. No emails being sent to donor and administrator, no paypal transaction number, no donor being published.

Solution: My campaign name had an apostrophe in it. I noticed that it was causing a problem when I looked at the ipn_logs.txt file. I took the apostrophe out and everything is good.

The developer did nothing wrong here as far as I could see. The \ was there to escape the character.

Hope this helps some. B)

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

More
11 years 2 months ago #25669 by Corey Kopp
Replied by Corey Kopp on topic Re: Joom Donation Paypal IPN issue solved
Interesting. I also have a campaign with an apostrophe, and it seems to be working fine so far. :whistle:

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

More
11 years 2 months ago #25798 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Joom Donation Paypal IPN issue solved
First of all, thanks Rob for sharing the problem and solution. For someone which has same issue (has apostrophe in campaign name), please try the solution below:

1. Open the file components/com_jdonation/payments/os_paypal.php

2. Find the code below :
Code:
$postString .= $key.'='.urlencode($value).'&';
3. Change it to:
Code:
$postString .= $key.'='.urlencode(stripslashes($value)).'&';

After that, the issue should be sorted.

Tuan

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

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