Ivan Milic - Networks expert Ivan Milic CEO Ivan Milic

Top Menu

× To post a question you must be signed in.

Banka Intesa - "A variable mismatch

19 May 2020 11:39 #5937 by Srebrenko Cvetić
Banka Intesa - "A variable mismatch was created by Srebrenko Cvetić
Poštovani, 

Nakon plaćanja sa stranice banke redirektuje nas na "A variable mismatch".
Aktivacijom debug moda dobijamo poruku "Notice: Undefined variable: pmethod_id in /home/yourdesi/public_html/mysite.rs.rs/wp-content/plugins/woocommerce-np-intesa-payment/index.php on line 162".
U pitanju je testno okruženje i support banke intese nas preusmerava na problem dodatka.

Da li nam možete dati smernice za rešenje problema?

Hvala

Please Log in or Create an account to join the conversation.

19 May 2020 12:07 - 19 May 2020 12:11 #5938 by Super User
Replied by Super User on topic Banka Intesa - "A variable mismatch
Problem nam je poznat. Nije do naseg plugina. Problem je u tome sto se WPML i Ploylang na novom WP-u  ne slazu sa povratnim odgovorom banke.

Jedno privremeno resenje je da se u glavni fajl Polylang-a ili WPML-a umetne ovaj kod (pre bilo kog php koda):

if(isset($_REQUEST["oid"])) return;


Ovo naravno znaci da u tom plucaju Polylang-a ili WPML nece raditi (samo na toj povratnoj strani). Nas plugin i wooCommerce imaju nativne prevode koje mozete urediti preko LocoTranslate-a.

Please Log in or Create an account to join the conversation.

19 May 2020 12:28 #5939 by Srebrenko Cvetić
Replied by Srebrenko Cvetić on topic Banka Intesa - "A variable mismatch
Prvo da vam zahvalim na veoma brzom odgovoru.
Koristimo WPML i probaćemo vaše rešenje.

Hvala na veoma korisnim informacijama:)

Please Log in or Create an account to join the conversation.

19 May 2020 12:36 #5940 by Super User
Replied by Super User on topic Banka Intesa - "A variable mismatch
Za napomenu na liniji  "line 162" upgrejdujte verziju na 1.3.18

Please Log in or Create an account to join the conversation.

19 May 2020 15:33 #5941 by Srebrenko Cvetić
Replied by Srebrenko Cvetić on topic Banka Intesa - "A variable mismatch
Poštovani, 
Nakon unetog koda u WPML redirekcija na povratni odgovor banke radi. Međutim svi emailovi kupovine dolaze isključivo na engleskom jeziku.
Kada uklonim kod vraćam se na A variable mismatch, i na link A variable mismatch imesajta/?wc-api=wc_gateway_npintesa&npintesa_oid=3333&np_plgresp=ok&lang=sr_RS, ali kada uklonim lang=sr_RS sve radi savršeno. 
Imate li rešenje za mailove, kontaktirao sam WPML takođe.

Hvala još jednom.

Please Log in or Create an account to join the conversation.

19 May 2020 15:49 #5942 by Super User
Replied by Super User on topic Banka Intesa - "A variable mismatch
Nemamo. U nasem pluginu moze da se na silu postavi jezik. Postoji polje ge moze da se unese sr_RS (pazite da ne pomesate to sa jezikom koji se salje banci) . Ali to nije ceo mail.

Please Log in or Create an account to join the conversation.

19 May 2020 16:16 #5943 by Srebrenko Cvetić
Replied by Srebrenko Cvetić on topic Banka Intesa - "A variable mismatch
U redu.
Hvala

Please Log in or Create an account to join the conversation.

Time to create page: 0.091 seconds