Page 2 of 3

Re: version 1.3.2 but paypal still don't work

Posted: Tue Aug 25, 2009 11:34 pm
by tommix
ok thanks..today i will try to understand why it's not working...and if i still do not get any results i probably tro my earlier posted method :)

Re: version 1.3.2 but paypal still don't work

Posted: Wed Aug 26, 2009 12:37 am
by tommix
Ok i did this

Code: Select all

	if (substr_count($request, "payment_status=Completed") ==1 /* && substr_count($request, "payer_status=verified") ==1 */) {
					$this->model_checkout_order->confirm($order_id, $this->config->get('pp_standard_order_status_id'));
				}
and don't give a damn about verified and it's working..

+ added check for ips so only paypal can use callback function.

Re: version 1.3.2 but paypal still don't work

Posted: Thu Aug 27, 2009 9:52 am
by silentcoast
I am having the same issue and tried your code snippet but still did not work for me. It is acting like its not even running code when the button is clicked.

Paypal doesn't get the order, open cart don't get the order nothing happens just sits there.

Any suggestions?

Re: version 1.3.2 but paypal still don't work

Posted: Thu Aug 27, 2009 11:13 am
by Qphoria
Your error is paypal direct.
This thread is about normal paypal.. completely different issues

Re: version 1.3.2 but paypal still don't work

Posted: Tue Sep 22, 2009 8:47 pm
by andrewc117
I own my own server and I cannot find a way to make the paypal work. The money goes through to my account but it does not register on the website at all....

Re: version 1.3.2 but paypal still don't work

Posted: Tue Sep 22, 2009 9:36 pm
by Daniel
yourt won server?

localhost?

please post a link to your site.

Re: version 1.3.2 but paypal still don't work

Posted: Thu Sep 24, 2009 2:36 am
by andrewc117
localhost

http://searchshop.eu

Im just stumped. Please help

Re: version 1.3.2 but paypal still don't work

Posted: Thu Sep 24, 2009 6:02 pm
by zeeb100
Same problem is on the site server aruba ... please help :(

Re: version 1.3.2 but paypal still don't work

Posted: Thu Sep 24, 2009 9:23 pm
by zeeb100
here's the picture when it terminates a transaction with paypal test mode
Immagine 1.png

Immagine 1.png (207.17 KiB) Viewed 3024 times

here is the result with firebug ....
Immagine 2.png

Immagine 2.png (278.88 KiB) Viewed 3024 times

Why??

Re: version 1.3.2 but paypal still don't work

Posted: Thu Sep 24, 2009 10:15 pm
by Qphoria
That just means the buyer is unverified.. the order status came back as "Pending". The pp_standard module doesn't have support for "Return Click" processing (although it should) so those post values are only used for message verification. You need to check the ipn return message which is the response from the curl process:

if (strcmp($response, 'VERIFIED') == 0) {

That is what is used for final order state.

Re: version 1.3.2 but paypal still don't work

Posted: Thu Sep 24, 2009 10:35 pm
by zeeb100
graize for the answer ... I hope that the solution to the problem of orders is fixed soon ... :-\

Re: version 1.3.2 but paypal still don't work

Posted: Thu Sep 24, 2009 11:03 pm
by Qphoria
Well i didn't present it as a problem, just not as robust as it could be.

The problem is that you are either not getting the IPN (which is a server issue on your side) or the ipn is not coming back as "VERIFIED" which needs to be debugged.

First step you need to put a checkpoint at the callback function to assure you are receiving it.

Place:

Code: Select all

file_put_contents('ipndebug.txt', 'TEST');
at the top of the callback function. Then check out with paypal and you should see a file created in the root path of your store named "ipndebug.txt".

If you do see it, then you are at least getting the callback.

Then you can move that code above down to right after:
$response = curl_exec($ch);
and change it to:

Code: Select all

file_put_contents('ipndebug.txt', $response);
Then see what the message is inside that ipndebug.txt file

Re: version 1.3.2 but paypal still don't work

Posted: Fri Sep 25, 2009 12:00 am
by zeeb100
code

Code: Select all

file_put_contents ( 'ipndebug.txt', 'test');
within the callback function is executed which I believe means that the function is not called...



Now what do .. ??

Re: version 1.3.2 but paypal still don't work

Posted: Fri Sep 25, 2009 6:01 pm
by zeeb100
the link of ipn respons ... is... :


http://www.mysite.com/store/index.php?r ... d/callback ???????????????????????????

Re: version 1.3.2 but paypal still don't work

Posted: Fri Sep 25, 2009 7:09 pm
by Qphoria
Are you using GoDaddy for hosting?

Re: version 1.3.2 but paypal still don't work

Posted: Fri Sep 25, 2009 7:17 pm
by zeeb100
I'm Italian and the site hosting on Aruba

Re: version 1.3.2 but paypal still don't work

Posted: Fri Sep 25, 2009 7:42 pm
by zeeb100
:) However Qphoria wanted to thank you for the help you're giving me and apologize for the inconvenience

Re: version 1.3.2 but paypal still don't work

Posted: Sun Sep 27, 2009 9:23 pm
by zeeb100
... There are no new news ????

Re: version 1.3.2 but paypal still don't work

Posted: Tue Oct 13, 2009 9:15 am
by aatelfer
Daniel, are you saying that there is a possibility that the server is modifying the information before it is sent to PayPal? If that is the case what exactly would that be?

Re: version 1.3.2 but paypal still don't work

Posted: Tue Oct 13, 2009 3:21 pm
by aatelfer
Hey you guys, I did some tests and realized that something is happening inside "http://servername.com/shop/payment/pp_standard/callback" that is causing a problem.

I created a paypal.php file in the shop root and changed the callback to that url. It seems to be working well.

Something is happening before the callback is called.