Jump to content
Bubiko

Ajutor cu implementarea modulului Mobilpay

Recommended Posts

Salut.

 

Am presta 1.6.0.11 instalat. Primesc urmatoarea eroare la alegere metode de plata:

 

Strict Standards: Declaration of Mobilpay_cc::validateOrder() should be compatible with that of PaymentModuleCore::validateOrder() in /home/content/74/10469774/html/bubiko/classes/module/Module.php on line 1032

Notice: Undefined variable: shipping in /home/content/74/10469774/html/bubiko/modules/mobilpay_cc/mobilpay_cc.php on line 398

Notice: Trying to get property of non-object in /home/content/74/10469774/html/bubiko/modules/mobilpay_cc/mobilpay_cc.php on line 398

Notice: Undefined variable: shipping in /home/content/74/10469774/html/bubiko/modules/mobilpay_cc/mobilpay_cc.php on line 399

Notice: Trying to get property of non-object in /home/content/74/10469774/html/bubiko/modules/mobilpay_cc/mobilpay_cc.php on line 399

Notice: Undefined variable: shipping in /home/content/74/10469774/html/bubiko/modules/mobilpay_cc/mobilpay_cc.php on line 404

Notice: Trying to get property of non-object in /home/content/74/10469774/html/bubiko/modules/mobilpay_cc/mobilpay_cc.php on line 404

Notice: Undefined variable: shipping in /home/content/74/10469774/html/bubiko/modules/mobilpay_cc/mobilpay_cc.php on line 406

Notice: Trying to get property of non-object in /home/content/74/10469774/html/bubiko/modules/mobilpay_cc/mobilpay_cc.php on line 406

Notice: Undefined variable: shipping in /home/content/74/10469774/html/bubiko/modules/mobilpay_cc/mobilpay_cc.php on line 407

Notice: Trying to get property of non-object in /home/content/74/10469774/html/bubiko/modules/mobilpay_cc/mobilpay_cc.php on line 407

Notice: Undefined variable: shipping in /home/content/74/10469774/html/bubiko/modules/mobilpay_cc/mobilpay_cc.php on line 408

Notice: Trying to get property of non-object in /home/content/74/10469774/html/bubiko/modules/mobilpay_cc/mobilpay_cc.php on line 408

Notice: Undefined variable: shipping in /home/content/74/10469774/html/bubiko/modules/mobilpay_cc/mobilpay_cc.php on line 408

Notice: Trying to get property of non-object in /home/content/74/10469774/html/bubiko/modules/mobilpay_cc/mobilpay_cc.php on line 408

Notice: Undefined variable: shipping in /home/content/74/10469774/html/bubiko/modules/mobilpay_cc/mobilpay_cc.php on line 410

Notice: Trying to get property of non-object in /home/content/74/10469774/html/bubiko/modules/mobilpay_cc/mobilpay_cc.php on line 410

 

 

A mai intalnit cineva astefel de eroare? Din cate imi dau seama, Valoarea shipping nu este definita sau are alta denumire. Am incercat sa iau legatura cu cei de la mobilpay, si raspunsul lor a fost, dupa 4-5 zile, urmatorul:

 

"Modulul mobilPay trebuie sa apara doar in sectiunea module, de unde se si activeaza. Cat despre erorile la anumite fisiere pe anumite linii, trebuie sa modificati liniile specificate.
"

 

Profesionalism 100% :))

 

Share this post


Link to post
Share on other sites

desi nu pot sa te ajut cu erorile, iti pot spune din experienta personala, ca cei de la mobilpay nu prea se omoara cu problemele tehnice si eventual sa le si resolve.

la mine, dupa circa 6 luni de vorbit singur, am schimbat procesatorul

 

success!

Share this post


Link to post
Share on other sites

Salut,

 

Nu stiu daca te ajuta foarte mult informatia.

Am inteles ca modulul pe care il au ei pe site este pentru versiunea 1.5.

Daca trebuie sa-l folosesc in PS 1.6 trebuie sa modifici o linie dintr-un php.

Ai facut operatiunea respectiva?

 

O zi buna

Share this post


Link to post
Share on other sites

Urmatoarele sunt pentru Prestashop 1.6.0.14 cu modulul de MobilPay (Prestashop 1.5) din interfata de admin a mobilpay https://admin.mobilpay.ro la Sectiunea Implementare -> Exemple Implementare -> Modul Prestashop 1.5.x - Credit card 22.02.13

"Strict Standards: Declaration of Mobilpay_cc::validateOrder() should be compatible with that of PaymentModuleCore::validateOrder() in /home/content/74/10469774/html/bubiko/classes/module/Module.php on line 1032"

- la validateOrder() din mobilpay_cc.php trebuiesc adaugate in lista de argumente $secure_key si $shop :

function validateOrder($id_cart, $id_order_state, $amountPaid, $paymentMethod = 'Unknown', $message = NULL, $extraVars = array(), $currency_special = NULL, $dont_touch_amount = false, $secure_key = false, Shop $shop = null)

Notice: Undefined variable: shipping in /home/content/74/10469774/html/bubiko/modules/mobilpay_cc/mobilpay_cc.php on line 398

- referitor la undefined variable $shipping (foarte tare eroarea)

 undeva la linia 320ish in mobilpay_cc.php sunt liniile

$billing  = new Address(intval($params['cart']->id_address_invoice));
$delivery = new Address(intval($params['cart']->id_address_delivery));

dar peste tot in fisier este folosit $billing si $shipping :|

trebuie modificat

$delivery = new Address(intval($params['cart']->id_address_delivery));

in

$shipping = new Address(intval($params['cart']->id_address_delivery));

si mai e un notice "Undefined variable: e" unde if(!($e instanceof Exception)) { .. i-am adaugat un isset($e)

  • Like 2

Share this post


Link to post
Share on other sites

Verifica daca intr-adevar folosesti versiunea pentru PS  1.6.

Eu am implementat-o cu succes acum cca o luna, a dat intr-adevar niste erori similare dar proveneau din afisarea in checkout/invoice a imaginii produsului.

Dupa dezactivarea acestei optiuni modulul functioneaza corespunzator.

Poti incerca si asta. 

  • Thanks 1

Share this post


Link to post
Share on other sites
Quote

si mai e un notice "Undefined variable: e" unde if(!($e instanceof Exception)) { .. i-am adaugat un isset($e)

Multumesc pentru sfaturi lui "iuluv2v".

La ultimul notice nu am reusit sa adaug corect si a dat eroare fatala.

Stie cineva cum se introduce mai exact acest isset($e) ? 

Share this post


Link to post
Share on other sites

Este o eroare in modul, defineste $delivery, apoi uita si intreaba de $shipping.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More