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???
Payment Successful - But Status Not Updating
-
- Phoca Member
- Posts: 10
- Joined: 01 Oct 2022, 23:30
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Payment Successful - But Status Not Updating
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:
https://www.phoca.cz/documents/116-phoc ... l-standard
Jan
Try to enable/disable for test the parameter: Verify SSL Certificate too:
https://www.phoca.cz/documents/116-phoc ... l-standard
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 10
- Joined: 01 Oct 2022, 23:30
Re: Payment Successful - But Status Not Updating
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
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
-
- Phoca Member
- Posts: 10
- Joined: 01 Oct 2022, 23:30
Re: Payment Successful - But Status Not Updating
SOLVED. My error. It was the email status that needed to be set to COMPLETE.
Thanks for the great software.
Thanks for the great software.
- adroussel
- Phoca Member
- Posts: 12
- Joined: 20 Feb 2022, 16:39
Re: Payment Successful - But Status Not Updating
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.
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.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Payment Successful - But Status Not Updating
So there can be two problems:
- the status is not set
Check if statuses are correctly set in Payment method options - PayPal:
- or you don't get confirmation email from payment gateway
Enable logging and see Logs to get information if PayPal contacted your server.
Jan
- the status is not set
Check if statuses are correctly set in Payment method options - PayPal:
- or you don't get confirmation email from payment gateway
Enable logging and see Logs to get information if PayPal contacted your server.
Jan
If you find Phoca extensions useful, please support the project