Jump to content

Fatal Error: id_transaction is null lors de la création d'un avoir


Recommended Posts

Bonjour,

 

je suis en 1.5.6.2 et lorsque j'essaye de créer un avoir en réinjectant les produits et remboursant les frais de port j'ai systématiquement cette erreur :

 

Fatal Error: id_transaction is null

 

Sauriez vous d'ou peut venir le probleme ?

Link to comment
Share on other sites

Dans le fichier paypal.php, dans " hookCancelProduct ", remplacez cette ligne :

$refund = $this->_makeRefund($paypal_order->id_transaction, (int)$order->id, $amount);

par

$refund = $this->_makeRefund($paypal_order['id_transaction'], (int)$order->id, $amount);

http://www.prestashop.com/forums/topic/234174-how-to-solve-fatal-error-id-transaction-is-null-when-refundingcancelling-orders/

Link to comment
Share on other sites

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...