Jump to content

(Solucionado) Error con Modulo Paypal en Prestashop 1.5.3


eddgeo

Recommended Posts

Tengo el siguiente Error:

 

[PrestaShop] Fatal error in module paypal:
Declaration of PayPal::validateOrder() should be compatible with PaymentModuleCore::validateOrder($id_cart, $id_order_state, $amount_paid, $payment_method = 'Unknown', $message = NULL, $extra_vars = Array, $currency_special = NULL, $dont_touch_amount = false, $secure_key = false, Shop $shop = NULL)

 

Necesito que me ayuden porfavor,...

 

Espero respuestas

Saludos Cordiales.

Edited by eddgeo (see edit history)
Link to comment
Share on other sites

Tengo el siguiente Error:

 

[PrestaShop] Fatal error in module paypal:
Declaration of PayPal::validateOrder() should be compatible with PaymentModuleCore::validateOrder($id_cart, $id_order_state, $amount_paid, $payment_method = 'Unknown', $message = NULL, $extra_vars = Array, $currency_special = NULL, $dont_touch_amount = false, $secure_key = false, Shop $shop = NULL)

 

Necesito que me ayuden porfavor,...

 

Espero respuestas

Saludos Cordiales.

 

¿El modulo de paypal, tambien esta actualizado?

 

http://addons.prestashop.com/es/pagos-prestashop-modulos/1748-paypal.html (Revisa)

Link to comment
Share on other sites

  • 2 weeks later...
In modules/paypal.php scroll down to bottom of file and replace the validateOrder Method with:
public function validateOrder($id_cart, $id_order_state, $amountPaid, $paymentMethod = 'Unknown', $message = null, $transaction = array(), $currency_special = null, $dont_touch_amount = false, $secure_key = false, Shop $shop = null)

Basically only "Shop" has to be added before "$shop = null".

 

Thanks gay, i am resolving this problem..

 

Best Regards

 

Tema solucionado.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...