Jump to content

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% :))

 

Link to comment
Share on other sites

  • 2 weeks later...

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!

Link to comment
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

Link to comment
Share on other sites

  • 1 month later...

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
Link to comment
Share on other sites

  • 9 months later...

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
Link to comment
Share on other sites

  • 2 years later...
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) ? 

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...