Jump to content
  • 0
Sign in to follow this  
Klutz

Fluxcp donation doesn't work

Question

Hi,
 
I have no idea why my fluxcp donate function doesn't work.
 
i did set:
'AcceptDonations'      => true,                     // Whether or not to accept donations.
'PayPalIpnUrl'         => 'www.sandbox.paypal.com', // The URL for PayPal's IPN responses (www.paypal.com for live and www.sandbox.paypal.com for testing)
'PayPalBusinessEmail'  => '[email protected]',        // Enter the e-mail under which you have registered your business account.
 
I also set the IPN correct:
mysite.com/?module=donate&action=notify
 
I checked website visitors and i see: 
173.0.82.126
12/8/14 11:02 PM
0
     
 
PayPal IPN ( https://www.pay
 
 
so paypal does send the IPN, but in the control panel the player doesn't get credits and i don't see any donation in the history. (same at the SQL server)
 
Thanks,

Share this post


Link to post
Share on other sites

14 answers to this question

Recommended Posts

  • 0

1. Make sure your paypal account is typed correctly, even capital letter typo won't work.

2. Make sure your paypal account at least few weeks old and verified.

3. Check your paypal logs, if there's error, see what happened to it.

4. Some hosts i.e VPS users are blocked paypal's IP.

5. Make sure your notify link have set enabled, and CP using the same link with it.

6. Try to have updated paymentnotify.php(not the actual name) from somewhere.

Edited by Color Picker

Share this post


Link to post
Share on other sites
  • 0

1. Make sure your paypal account is typed correctly, even capital letter typo won't work.

2. Make sure your paypal account at least few weeks old and verified.

3. Check your paypal logs, if there's error, see what happened to it.

4. Some hosts i.e VPS users are blocked paypal's IP.

5. Make sure your notify link have set enabled, and CP using the same link with it.

6. Try to have updated paymentnotify.php(not the actual name) from somewhere.

 

I will check with my VPS

 

everything else is ok i see the payment in my paypal account.

 

about 5 and 6 got example how notify link should be like?

where can i find the paymentnotify.php?

Share this post


Link to post
Share on other sites
  • 0

 

this should be fixed already on the latest rev of herculesCP

 

 

https://github.com/HerculesWS/FluxCP/commit/b1b35deedd2219a7e09e7f1a3247de5d3523331a

didn't work

 

I saw many people has the same problem as me

Did you update the paypal notification modules? and what fluxcp version your using?

Share this post


Link to post
Share on other sites
  • 0

 

 

this should be fixed already on the latest rev of herculesCP

 

 

https://github.com/HerculesWS/FluxCP/commit/b1b35deedd2219a7e09e7f1a3247de5d3523331a

didn't work

 

I saw many people has the same problem as me

Did you update the paypal notification modules? and what fluxcp version your using?

yes id id update the "PaymentNotifyRequest" i should update something else?

 

I have no idea what version i use. where can i check?

Share this post


Link to post
Share on other sites
  • 0

fluxcp paypal logs:

 

 
[2014-12-13 14:36:57] Received notification from 173.0.82.126 (ipn.sandbox.paypal.com)
[2014-12-13 14:36:57] Query string: cmd=_notify-validate&mc_gross=5.00&protection_eligibility=Eligible&address_status=confirmed&payer_id=2NT77LLFL6UNE&tax=0.00&address_street=1+Main+St&payment_date=06%3A19%3A15+Dec+13%2C+2014+PST&payment_status=Completed&charset=windows-1252&address_zip=95131&first_name=Tomer&mc_fee=0.45&address_country_code=US&address_name=Tomer+Manzur&notify_version=3.8&custom=YToyOntzOjExOiJzZXJ2ZXJfbmFtZSI7czoxMjoiT2xkIFJhZ25hcm9rIjtzOjEwOiJhY2NvdW50X2lkIjtzOjc6IjIwMDAwMDAiO30%3D&payer_status=unverified&business=payt-me%40gmail.com&address_country=United+States&address_city=San+Jose&quantity=0&verify_sign=A6yt83Iroji1Kv.b8cKShnEsjCCZA69NsR5RB8eGxzhG27YMCdu3xkLG&payer_email=paypal-personal%40walla.com&txn_id=65F759536W621281Y&payment_type=instant&last_name=Manzur&address_state=CA&receiver_email=payt-me%40gmail.com&payment_fee=0.45&receiver_id=PYRYYH23PSFEU&txn_type=web_accept&item_name=Donation+Credits%3A+5+CREDIT%28s%29&mc_currency=USD&item_number=&residence_country=US&test_ipn=1&handling_amount=0.00&transaction_subject=YToyOntzOjExOiJzZXJ2ZXJfbmFtZSI7czoxMjoiT2xkIFJhZ25hcm9rIjtzOjEwOiJhY2NvdW50X2lkIjtzOjc6IjIwMDAwMDAiO30%3D&payment_gross=5.00&shipping=0.00&ipn_track_id=4eb374be3fee3
[2014-12-13 14:36:57] Establishing connection to PayPal server at www.sandbox.paypal.com:80...
[2014-12-13 14:36:57] Connected. Sending request back to PayPal...
[2014-12-13 14:36:57] Sent 1187 bytes of transaction data. Request size: 1340 bytes.
[2014-12-13 14:36:57] Reading back response from PayPal...
[2014-12-13 14:36:58] Notification failed to verify. (recv: )
[2014-12-13 14:36:58] Transaction invalid, aborting.
 
what is wrong?

Share this post


Link to post
Share on other sites
  • 0

used the live paypal on your configuration, sandbox only used for testing purposes if you enabled sandbox.paypal.com on your gateway make sure you have setup also sandbox account on paypal, below is a guide how to setup paypal sandbox

 

https://developer.paypal.com/docs/classic/lifecycle/sb_create-accounts/

Share this post


Link to post
Share on other sites
  • 0

used the live paypal on your configuration, sandbox only used for testing purposes if you enabled sandbox.paypal.com on your gateway make sure you have setup also sandbox account on paypal, below is a guide how to setup paypal sandbox

 

https://developer.paypal.com/docs/classic/lifecycle/sb_create-accounts/

ok, seems Sandbox IPN respone is too slow so the server drop the donation.

 

on live paypal it works just fine.

 

a player donate was confrim but he still didn't got the credits what is wrong?

Edited by Klutz

Share this post


Link to post
Share on other sites
  • 0

[2014-12-23 20:47:19] Unknown account #2000014 on server ************, cannot exchange for credits.

 

The Error from paypal log.

 

There is account_id 2000014 in login table.

 

 

 

it's comming from here:

 

if ($servGroup && $exchangeableCurrency) {
$sql = "SELECT COUNT(account_id) AS acc_id_count FROM {$servGroup->loginDatabase}.login WHERE sex != 'S' AND level >= 0 AND account_id = ?";
$sth = $servGroup->connection->getStatement($sql);
$sth->execute(array($accountID));
$res = $sth->fetch();
 
if (!$res) {
$this->logPayPal('Unknown account #%s on server %s, cannot exchange for credits.', $accountID, $serverName);
}
 
 
Level is ok this how it's at my server.
can't understand the problem
Edited by Klutz

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.