After payment appear
Error! 404 Not Found! The page you are looking for can not be found.
cart/checkout
How to start trouble shoot?
- SAnswered
“POST /pay/pipn HTTP/1.1” 302 5 “-” “PayPal IPN ( https://www.paypal.com/ipn )”
- SAnswered
“POST /errors/csrf HTTP/1.1” 302 5 “-” “PayPal IPN ( https://www.paypal.com/ipn )” “-”
- MSAnswered
Hello,
You need to check your server error logs.
If you have enabled ssl, please make sure that the
base_url
inapp/config/config.php
to set it tohttps://
If you need to enable app logs, you can change the
log_threshold
to 1 in above config file then visit the pages again to produce errors. Lastly check the latest error log file inapp/logs/
folder.Thank you
- SAnswered
The log I given is the error log POST /errors/csrf HTTP/1.1" 302 5 “-” "PayPal IPN ( https://www.paypal.com/ipn ). It happen when PayPal send back the request can’t be verified. Https is enabled and redirect all port to 443 using sectigo cert.
- SAnswered
Only work when I disable this CSRF in app/config/config.php
|-------------------------------------------------------------------------- | Cross Site Request Forgery |-------------------------------------------------------------------------- | Enables a CSRF cookie token to be set. When set to TRUE, token will be | checked on a submitted form. If you are accepting user data, it is strongly | recommended CSRF protection be enabled. | | 'csrf_token_name' = The token name | 'csrf_cookie_name' = The cookie name | 'csrf_expire' = The number in seconds the token should expire. | 'csrf_regenerate' = Regenerate token on every submission | 'csrf_exclude_uris' = Array of URIs which ignore CSRF checks */ $config['csrf_protection'] = true;
- MSAnswered
Hello,
If you see the config
pay/[a-z]+
is already added to thecsrf_exclude_uris
You can add explicitly/pay/pipn
if you want.Thank you
- SAnswered
Fixed, is that anyway to check what the updated files that you all changed when perform update?
$config[‘csrf_exclude_uris’] = array(‘pay/[a-z]+’, ‘admin/welcome/image_upload’);
- LC
Luis Alonso Rodriguez Carrillo
AnsweredWas the payment by paypal solved? version 3.4.50 will be fine Thanks
- LC
Luis Alonso Rodriguez Carrillo
Answeredthis is what he sent me
ERROR - 2021-11-20 22:41:06 --> Could not find the language line “today” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “shop” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “toggle_alignment” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “quantity_alerts” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “expiry_alerts” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “sales_x_delivered” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “manual_payments” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “today_profit” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “promos” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “list_printers” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “add_printer” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “expense_categories” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “site_logs” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “backups” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “front_end” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “shop_settings” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “slider_settings” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “list_pages” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “add_page” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “sms_settings” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “send_sms” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “sms_log” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “browse” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “ordered” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “due” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “transferring” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “download” ERROR - 2021-11-20 22:41:06 --> Could not find the language line “required_invalid” ERROR - 2021-11-20 22:41:13 --> Could not find the language line “today” ERROR - 2021-11-20 22:41:13 --> Could not find the language line “logout_successful” ERROR - 2021-11-20 22:41:13 --> Could not find the language line “logout_successful” ERROR - 2021-11-20 22:41:13 --> Could not find the language line “type_email_to_reset” ERROR - 2021-11-20 22:41:37 --> Could not find the language line “new_sale”
- MSAnswered
Luis Alonso Rodriguez Carrillo Please edit
app/config/config.php
and update thecsrf_exclude_uris
toarray('pay/[a-z]+', 'admin/welcome/image_upload')
$config['csrf_exclude_uris'] = array('pay/[a-z]+', 'admin/welcome/image_upload');
Thank you
- Login to Reply