• Hi,
    I am at the testing phase with the bank and I have the following issue: after entering the testing data, the purchase is succesfull on the banks page and I am getting redirected to my site on the checkout page, showing the product which I had just purchased still in my cart. I have changed the return page to several pages but from the plugins settings but the return page remain the checkout page. also on the woocomerce dashboard the order is not showing at all. not as completed , pending or anything.

    on the server I saw the the following error ocuring after the redirect back to the shop:

    2016-07-06 13:48:30	Access	46.190.111.95	302	POST /wc-api/WC_Piraeusbank_Gateway?peiraeus=success HTTP/1.0	https://paycenter.piraeusbank.gr/Redirection/(S(kbulpmdegtxfxupiwcmdtd4o))/ResultPages/Results.aspx?Success	Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36	967	Apache access
    2016-07-06 13:48:38	Error	185.4.135.54	403	POST /wp-cron.php?doing_wp_cron=1467802118.2993309497833251953125 HTTP/1.0		WordPress/4.4.2; https://andosports.gr	1.15 K	Apache access
    2016-07-06 13:48:38	Access	46.190.111.95	200	GET /checkout/ HTTP/1.0	https://paycenter.piraeusbank.gr/Redirection/(S(kbulpmdegtxfxupiwcmdtd4o))/ResultPages/Results.aspx?Success	Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36	27.3 K	Apache access
    2016-07-06 13:48:38	Error	185.4.135.54		client denied by server configuration: /var/www/vhosts/andosports.gr/httpdocs/wp-cron.php				Apache error
    2016-07-06 13:48:38	Warning	46.190.111.95		mod_fcgid: stderr: \xce\xa3\xcf\x86\xce\xac\xce\xbb\xce\xbc\xce\xb1 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 3 \xce\xb2\xce\xac\xcf\x83\xce\xb7\xcf\x82 \xce\xb4\xce\xb5\xce\xb4\xce\xbf\xce\xbc\xce\xad\xce\xbd\xcf\x89\xce\xbd WordPress \xce\xb3\xce\xb9\xce\xb1 \xce\xb1\xce\xaf\xcf\x84\xce\xb7\xcf\x83\xce\xb7 SELECT trans_ticket, referer: https://paycenter.piraeusbank.gr/Redirection/(S(kbulpmdegtxfxupiwcmdtd4o))/ResultPages/Results.aspx?Success				Apache error
    2016-07-06 13:48:38	Warning	46.190.111.95		mod_fcgid: stderr: \t\t\tFROM <code>klqBR28h_piraeusbank_transactions</code>, referer: https://paycenter.piraeusbank.gr/Redirection/(S(kbulpmdegtxfxupiwcmdtd4o))/ResultPages/Results.aspx?Success				Apache error
    2016-07-06 13:48:38	Warning	46.190.111.95		mod_fcgid: stderr: \t\t\tWHERE <code>merch_ref</code> = \t; \xce\xb1\xcf\x80\xcf\x8c require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array, call_user_func_array, WC_API->handle_api_requests, do_action('woocommerce_api_wc_piraeusbank_gateway'), call_user_func_array, WC_Piraeusbank_Gateway->check_piraeusbank_response, referer: https://paycenter.piraeusbank.gr/Redirection/(S(kbulpmdegtxfxupiwcmdtd4o))/ResultPages/Results.aspx?Success				Apache error

    on a side note if i choose 2, 3 , 4 etc month on the banks site I still get the your transaction was succesfull message. I was under the impressiong that for the test cases purpose every month is a different test and it is supposed thas eg when you select 2nd month your transaction should be denied.

    thank you

    https://wordpress.org/plugins/woo-payment-gateway-piraeus-bank-greece/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author mpbm23

    (@mpbm23)

    The Response method must be set to GET
    They set you on POST.

    Thread Starter xalaros

    (@xalaros)

    thank you for the prompt answer.

    I contacted the bank and they indeed changed the response method to GET.

    After that the same behaviour occurs althought the previous error message is not showing in the logs. I get the following error message

    2016-07-06 19:25:49	Access	46.190.111.95	200	POST /checkout/?wc-ajax=update_order_review HTTP/1.0	https://andosports.gr/checkout/	Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36	10.3 K	Apache access
    2016-07-06 19:25:58	Access	46.190.111.95	200	GET /wp-admin/ HTTP/1.0	https://andosports.gr/checkout/	Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36	41.4 K	Apache access
    2016-07-06 19:26:12	Access	46.190.111.95	200	GET /wp-admin/plugins.php HTTP/1.0	https://andosports.gr/wp-admin/	Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36	51.9 K	Apache access
    2016-07-06 19:26:17	Access	46.190.111.95	200	GET /wp-admin/edit.php?post_status=wc-processing&post_type=shop_order HTTP/1.0	https://andosports.gr/wp-admin/	Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36	45.7 K	Apache access
    2016-07-06 19:26:18	Access	46.190.111.95	200	POST /wp-admin/admin-ajax.php HTTP/1.0	https://andosports.gr/wp-admin/	Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36	1.08 K	Apache access
    2016-07-06 19:26:21	Access	46.190.111.95	200	POST /wp-admin/admin-ajax.php HTTP/1.0	https://andosports.gr/wp-admin/edit.php?post_status=wc-processing&post_type=shop_order	Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36	1010	Apache access
    2016-07-06 19:26:28	Access	46.190.111.95	200	GET /wp-admin/edit.php?post_status=wc-cancelled&post_type=shop_order HTTP/1.0	https://andosports.gr/wp-admin/edit.php?post_status=wc-processing&post_type=shop_order	Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36	45.8 K	Apache access
    2016-07-06 19:26:29	Access	46.190.111.95	200	POST /wp-admin/admin-ajax.php HTTP/1.0	https://andosports.gr/wp-admin/edit.php?post_status=wc-processing&post_type=shop_order	Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36	1.08 K	Apache access
    2016-07-06 19:26:30	Access	46.190.111.95	200	POST /wp-admin/admin-ajax.php HTTP/1.0	https://andosports.gr/wp-admin/edit.php?post_status=wc-cancelled&post_type=shop_order	Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36	1010	Apache access
    2016-07-06 19:26:46	Error	185.4.135.54	403	POST /wp-cron.php?doing_wp_cron=1467822406.6852860450744628906250 HTTP/1.0		WordPress/4.4.2; http://andosports.gr	1.15 K	Apache access
    2016-07-06 19:26:46	Access	46.190.111.95	200	POST /wp-admin/admin-ajax.php HTTP/1.0	https://andosports.gr/wp-admin/edit.php?post_status=wc-cancelled&post_type=shop_order	Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36	1010	Apache access
    2016-07-06 19:26:46	Error	185.4.135.54		client denied by server configuration: /var/www/vhosts/andosports.gr/httpdocs/wp-cron.php				Apache error
    Plugin Author mpbm23

    (@mpbm23)

    It should have worked.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘After redirecting Back from BANK purchase is not completed’ is closed to new replies.