SwedbankPay / swedbank-pay-woocommerce-payments

Swedbank Pay Payments for WooCommerce (Beta)
https://wordpress.org/plugins/swedbank-pay-payments/
Apache License 2.0
4 stars 4 forks source link

Uncaught Exception: Incoming Callback has been rejected #107

Closed asbjornu closed 3 years ago

asbjornu commented 3 years ago

exactprecisions writes:

Lately there have been some fatal errors we cannot solve

PHP message: PHP Fatal error: Uncaught Exception: Incoming Callback has been rejected in /opt/lampp/mild/kunder/example.se/wp-content/plugins/swedbank-pay-payments/includes/class-wc-gateway-swedbank-pay-cc.php:1181
Stack trace:
#0 /opt/lampp/mild/kunder/example.se/wp-includes/class-wp-hook.php(303): WC_Gateway_Swedbank_Pay_Cc->return_handler('')
#1 /opt/lampp/mild/kunder/example.se/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
#2 /opt/lampp/mild/kunder/example.se/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
#3 /opt/lampp/mild/kunder/example.se/wp-content/plugins/woocommerce/includes/class-wc-api.php(97): do_action('woocommerce_api...')
#4 /opt/lampp/mild/kunder/example.se/wp-includes/class-wp-hook.php(303): WC_API->handle_api_requests(Object(WP))
#5 /opt/lampp/mild/kunder/example.se/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
#6 /opt/lampp/mild/kunder/example...'
olegisk commented 3 years ago

There's the problem with server configuration. If you want to use Cloud Flare then configure server using this instructions https://support.cloudflare.com/hc/en-us/articles/200170786-Restoring-original-visitor-IPs