PayPal Donation Extension

Error 200 IPN Account Business - PayPal Donation Extension

Re: Error 200 IPN Account Business

by Skouat » Mon Apr 30, 2018 6:07 pm

Hi Salvo,

Please comment $this->log_error('End of nofification method', true); and wait the next donation.
Skouat
Code Contributor
Posts: 1059
Joined: Mon Mar 10, 2008 5:30 pm
Location: France

Re: Error 200 IPN Account Business

by salvocortesiano » Wed May 02, 2018 3:28 am

Skouat wrote:Hi Salvo,

Please comment $this->log_error('End of nofification method', true); and wait the next donation.
Hi Skouat,
ok try and wait :)

Salvo
The best way to predict the future is to invent it!
Image
User avatar
salvocortesiano
Registered User
Posts: 286
Joined: Mon Mar 22, 2010 1:49 pm
Location: Florence (Italy)
Name: Salvo Cortesiano

Re: Error 200 IPN Account Business

by salvocortesiano » Wed May 02, 2018 4:26 pm

Hi Skouat,
here the log of 2 transaction:

Code: Select all

[02-May-2018 08:16:41 0] Get notification_data content
[args]
net_amount = 4.48%26euro%3B;
mc_gross = 5%26euro%3B;
payer_email = **DELETED**;
payer_username = rokkk;
settle_amount = ;
transaction_id = 8;
txn_id = 7DL68283C4216072K;
user_from = 7310;

Code: Select all

[02-May-2018 14:52:38 0] Get notification_data content
[args]
net_amount = 4.48%26euro%3B;
mc_gross = 5%26euro%3B;
payer_email = **DELETED**;
payer_username = joguitar;
settle_amount = ;
transaction_id = 9;
txn_id = 94Y44540UW4328647;
user_from = 6135;
Only this information in the 2 log files!
Regards

Salvo
The best way to predict the future is to invent it!
Image
User avatar
salvocortesiano
Registered User
Posts: 286
Joined: Mon Mar 22, 2010 1:49 pm
Location: Florence (Italy)
Name: Salvo Cortesiano

Re: Error 200 IPN Account Business

by Skouat » Sat May 05, 2018 10:42 pm

Hi Salvo,

I've tested the notification system on my testing board, and it works as expected.
ppde_notification_system.png
Maybe you have an issue with your board with the notification system or it not set properly.
In your UCP, go to "Board Preferences" and verify that the nofication type for PPDE are checked.
If they are already checked, uncheck them -> clic submit -> check them again -> and submit again.

Only for testing, apply the following code :
Under controller, open ipn_listener.php
find // If the transaction is not a IPN test do additional actions

After or before, add the following code

Code: Select all

			if ($this->transaction_data['test_ipn'])
			{
				$this->notify_donation_received();
			}
From the ACP, go to the IPN Features of the extension, and set the following:
  • Enable IPN: yes
  • Enable notification: yes
  • Sandbox testing: yes
  • Sandbox only for founder: yes
No try to donate with PayPal Sandbox.
Skouat
Code Contributor
Posts: 1059
Joined: Mon Mar 10, 2008 5:30 pm
Location: France

Re: Error 200 IPN Account Business

by salvocortesiano » Sun May 06, 2018 4:28 am

Hi Skouat,
ok I try and let you know :)
Thank you and Regards

Salvo
The best way to predict the future is to invent it!
Image
User avatar
salvocortesiano
Registered User
Posts: 286
Joined: Mon Mar 22, 2010 1:49 pm
Location: Florence (Italy)
Name: Salvo Cortesiano

Re: Error 200 IPN Account Business

by salvocortesiano » Mon May 21, 2018 10:13 am

Hi Skouat,
sorry for my late reply but I had to change hosting! Now after changing the hosting and after a user has donated, occurred this error :o

Code: Select all

[21-May-2018 11:50:23 7200] Stato di risposta non valido: 
[args]
0 = ;
FILE: [ROOT]/ext/skouat/ppde/controller/ipn_listener.php
LINE: 349
CALL: skouat\ppde\controller\ipn_listener->log_error()
FILE: [ROOT]/ext/skouat/ppde/controller/ipn_listener.php
LINE: 181
CALL: skouat\ppde\controller\ipn_listener->validate_transaction()
FILE: (not given by php)
LINE: (not given by php)
CALL: skouat\ppde\controller\ipn_listener->handle()
FILE: [ROOT]/vendor/symfony/http-kernel/HttpKernel.php
LINE: 144
CALL: call_user_func_array()
FILE: [ROOT]/vendor/symfony/http-kernel/HttpKernel.php
LINE: 64
CALL: Symfony\Component\HttpKernel\HttpKernel->handleRaw()
FILE: [ROOT]/app.php
LINE: 33
CALL: Symfony\Component\HttpKernel\HttpKernel->handle()
The versione of ppde is 1.0.3! Now I don't know why it stopped working after I changed the hosting! Naturally I have updated all the parameters on my Paypal account and on the ppde module!
Best Regards

Salvo
The best way to predict the future is to invent it!
Image
User avatar
salvocortesiano
Registered User
Posts: 286
Joined: Mon Mar 22, 2010 1:49 pm
Location: Florence (Italy)
Name: Salvo Cortesiano

Re: Error 200 IPN Account Business

by Skouat » Mon May 21, 2018 10:52 am

Hi Salvo,

Go to the PPDE Overview then click on the "Re-detect cURL and fsockopen" button
Skouat
Code Contributor
Posts: 1059
Joined: Mon Mar 10, 2008 5:30 pm
Location: France

Re: Error 200 IPN Account Business

by salvocortesiano » Wed May 30, 2018 5:29 pm

Hi Skouat,
I answer you now because I wait for a donation ;) This is the response of the log file after the transaction:

Code: Select all

[30-May-2018 11:16:03 7200] Stato di risposta non valido: 
[args]
business = support%40netshadows.it;
confirmed = ;
exchange_rate = ;
first_name = Gio*****+Ad******;
item_name = Fai+una+donazione+a+Le+Ombre+della+Rete+360%C2%B0;
item_number = uid_7908_1527671703;
last_name = Mar*****;
mc_currency = EUR;
mc_gross = 10;
mc_fee = 1.03;
parent_txn_id = ;
payer_email = g*****.m*******%40.it;
payer_id = AR6MSQCKTAX9W;
payer_status = verified;
payment_date = 02%3A15%3A56+May+30%2C+2018+PDT;
payment_status = Completed;
payment_type = instant;
receiver_id = XK5QNMCZ2TZMY;
receiver_email = **DELETED**;
residence_country = IT;
settle_amount = 0;
settle_currency = ;
test_ipn = ;
txn_id = 20392594VA364792T;
txn_type = web_accept;
But the user has not been moved to the donor group and the transaction has not been registered in the ACP-> PPDE!
Senza nome.jpg
The new hosting supports TLS 1.2 and SSL.
Suggestion?
Best Regards

Salvo
The best way to predict the future is to invent it!
Image
User avatar
salvocortesiano
Registered User
Posts: 286
Joined: Mon Mar 22, 2010 1:49 pm
Location: Florence (Italy)
Name: Salvo Cortesiano

Re: Error 200 IPN Account Business

by Skouat » Wed May 30, 2018 5:59 pm

Have you tried with PayPal Sandbox ? it works?
Skouat
Code Contributor
Posts: 1059
Joined: Mon Mar 10, 2008 5:30 pm
Location: France

Re: Error 200 IPN Account Business

by salvocortesiano » Sat Jun 02, 2018 2:14 pm

Hi Skouat,
SandBox Testing:

Code: Select all

[02-Jun-2018 16:09:38 7200] Stato di risposta non valido: 
[args]
0 = ;
 
FILE: [ROOT]/ext/skouat/ppde/controller/ipn_listener.php
LINE: 349
CALL: skouat\ppde\controller\ipn_listener->log_error()
FILE: [ROOT]/ext/skouat/ppde/controller/ipn_listener.php
LINE: 181
CALL: skouat\ppde\controller\ipn_listener->validate_transaction()
FILE: (not given by php)
LINE: (not given by php)
CALL: skouat\ppde\controller\ipn_listener->handle()
FILE: [ROOT]/vendor/symfony/http-kernel/HttpKernel.php
LINE: 144
CALL: call_user_func_array()
FILE: [ROOT]/vendor/symfony/http-kernel/HttpKernel.php
LINE: 64
CALL: Symfony\Component\HttpKernel\HttpKernel->handleRaw()
FILE: [ROOT]/app.php
LINE: 33
CALL: Symfony\Component\HttpKernel\HttpKernel->handle()
Regular Donation:

Code: Select all

[02-Jun-2018 10:03:44 7200] Stato di risposta non valido: 
[args]
business = support%40netshadows.it;
confirmed = ;
exchange_rate = ;
first_name = simone;
item_name = Fai+una+donazione+a+Le+Ombre+della+Rete+360%C2%B0;
item_number = uid_7504_1527926357;
last_name = gorgeri;
mc_currency = EUR;
mc_gross = 5;
mc_fee = 0.52;
parent_txn_id = ;
payer_email = simo******%40hotmail.it;
payer_id = GEWQ4L3XHNN2N;
payer_status = unverified;
payment_date = 01%3A03%3A37+Jun+02%2C+2018+PDT;
payment_status = Completed;
payment_type = instant;
receiver_id = XK5QNMCZ2TZMY;
receiver_email = sal*****%40netshadows.it;
residence_country = IT;
settle_amount = 0;
settle_currency = ;
test_ipn = ;
txn_id = 2HP012000R4555318;
txn_type = web_accept;
Best Regards

Salvo
The best way to predict the future is to invent it!
Image
User avatar
salvocortesiano
Registered User
Posts: 286
Joined: Mon Mar 22, 2010 1:49 pm
Location: Florence (Italy)
Name: Salvo Cortesiano

Re: Error 200 IPN Account Business

by Skouat » Sat Jun 02, 2018 6:15 pm

Please, can you use the Sandbox account given on this FAQ?

As we have applied test code on some files, please replace all extension files with the latest source files
Skouat
Code Contributor
Posts: 1059
Joined: Mon Mar 10, 2008 5:30 pm
Location: France

Re: Error 200 IPN Account Business

by salvocortesiano » Sat Jul 14, 2018 8:33 am

Hi Skouat,
sorry if I answer you only now, but I was on vacation :)
Skouat wrote:Please, can you use the Sandbox account given on this FAQ?
Yes!
Skouat wrote:As we have applied test code on some files, please replace all extension files with the latest source files
Yes, I applied them today. Now I'm waiting for a donation and then I'll tell you :D

Best Regards and good week-end

Salvo
The best way to predict the future is to invent it!
Image
User avatar
salvocortesiano
Registered User
Posts: 286
Joined: Mon Mar 22, 2010 1:49 pm
Location: Florence (Italy)
Name: Salvo Cortesiano

Re: Error 200 IPN Account Business

by Skouat » Sat Jul 14, 2018 9:27 am

Hi,

Please can you provide the result of Sandbox testing with account I provide in the FAQ?

Thanks ;)
Skouat
Code Contributor
Posts: 1059
Joined: Mon Mar 10, 2008 5:30 pm
Location: France

Re: Error 200 IPN Account Business

by salvocortesiano » Sat Jul 14, 2018 7:46 pm

Ok Skouat , the result of Sandbox testing with account in the FAQ!
01.ppde.jpg
02.ppde.jpg
03.ppde.jpg
04.ppde.jpg
The result of the file log:

Code: Select all

[14-Jul-2018 21:36:40 7200] Responce status not valid: 
[args]
0 = ;
 
FILE: [ROOT]/ext/skouat/ppde/controller/ipn_listener.php
LINE: 349
CALL: skouat\ppde\controller\ipn_listener->log_error()
FILE: [ROOT]/ext/skouat/ppde/controller/ipn_listener.php
LINE: 181
CALL: skouat\ppde\controller\ipn_listener->validate_transaction()
FILE: (not given by php)
LINE: (not given by php)
CALL: skouat\ppde\controller\ipn_listener->handle()
FILE: [ROOT]/vendor/symfony/http-kernel/HttpKernel.php
LINE: 144
CALL: call_user_func_array()
FILE: [ROOT]/vendor/symfony/http-kernel/HttpKernel.php
LINE: 64
CALL: Symfony\Component\HttpKernel\HttpKernel->handleRaw()
FILE: [ROOT]/app.php
LINE: 33
CALL: Symfony\Component\HttpKernel\HttpKernel->handle()
Best Regards
Salvo
The best way to predict the future is to invent it!
Image
User avatar
salvocortesiano
Registered User
Posts: 286
Joined: Mon Mar 22, 2010 1:49 pm
Location: Florence (Italy)
Name: Salvo Cortesiano

Re: Error 200 IPN Account Business

by Skouat » Sat Jul 14, 2018 11:23 pm

Thanks for all these screenshots.

Please, can you try to change the setting "Sandbox solo per il fondatore" to "No"?
After that, made a new Sandbox donation and check the log file.
Is it the same error?

Cheers.
Skouat
Code Contributor
Posts: 1059
Joined: Mon Mar 10, 2008 5:30 pm
Location: France