Page 1 of 1

Payment Successful - But Status Not Updating

Posted: 01 Oct 2022, 23:54
by NASS Sundials
I'm using PhocaCart 3.5.8 on Joomla 3.10.11. We have a simple shop with few items and I'm debugging with the PayPal sandbox.
Returning from PayPal to the user browser, I get the msg "Your order and your payment have been successfully processed, thank you." and in the System Log, " Notice Payment - PayPal Standard - SUCCESS" I have set "confirmed" email for customer (a PayPal dummy) and cc. email for a valid address I can monitor. Not receiving the cc. email and the order status remains "Pending". What have I failed to set???

Re: Payment Successful - But Status Not Updating

Posted: 03 Oct 2022, 23:05
by Jan
Hi, enable logging and see if you get a message from PayPal server into the log. There is message when sending to PayPal and message when getting info from PayPal.

Try to enable/disable for test the parameter: Verify SSL Certificate too:

Image

https://www.phoca.cz/documents/116-phoc ... l-standard

Jan

Re: Payment Successful - But Status Not Updating

Posted: 04 Oct 2022, 19:17
by NASS Sundials
Thanks for suggestion, but even though https site, had Phoca Cart SSL option turned off.

Phoca Cart log and PayPal success message as follows:
Type: Notice
Title: Payment - PayPal Standard - SUCCESS
Message:

Order Id: 81
Txn Id: 0GM06305BK3695445
Message: Payment successfully made
Report: --------------------------------------------------------------------------------
[10/04/2022 5:09 PM] - https://www.sandbox.paypal.com/cgi-bin/webscr (curl)
--------------------------------------------------------------------------------
HTTP/1.1 100 Continue
HTTP/1.1 200 OK
Connection: close
Content-Length: 8
Content-Type: text/html; charset=utf-8
Cache-Control: max-age=0, no-cache, no-store, must-revalidate
Content-Security-Policy: default-src 'self' https://*.paypal.com https://*.paypalobjects.com 'unsafe-inline'; style-src 'self' https://*.paypal.com https://*.paypalobjects.com 'unsafe-inline';
...
Paypal-Debug-Id: 6f8f440305e69
Set-Cookie: LANG=en_US%3BUS; Max-Age=31556; Domain=.paypal.com; Path=/; Expires=Wed, 05 Oct 2022 01:55:31 GMT; HttpOnly; Secure
...
[then invoice info]

From what I can tell, PayPal content security policy shows unsafe-inline [no SSL?] but still reports success. What triggers confirmed status??

In Phoca Cart Order Statuses, I have a status called "NASS_Order_Confirmed" but unsure how it interprets the above PayPal message.

Sundials

Re: Payment Successful - But Status Not Updating

Posted: 04 Oct 2022, 22:17
by NASS Sundials
SOLVED. My error. It was the email status that needed to be set to COMPLETE.

Thanks for the great software.

Re: Payment Successful - But Status Not Updating

Posted: 28 Dec 2022, 21:30
by adroussel
Hi
I'm having the same issue and I don't get your solution of setting the 'email status' to COMPLETE.
There is nothing such as email status that I could find.
Can you please precise?

Thanks a lot.

Re: Payment Successful - But Status Not Updating

Posted: 31 Dec 2022, 01:22
by Jan
So there can be two problems:

- the status is not set

Check if statuses are correctly set in Payment method options - PayPal:

Image

- or you don't get confirmation email from payment gateway

Enable logging and see Logs to get information if PayPal contacted your server.

Jan