Jump to content

Edit History

vcsahu16

vcsahu16

Il y a un bug dans le module Stripe. La commande n'est pas créée car lors de l'appel ValidateOrder, la fonction n'obtient pas la secure_key. Le module essaie de créer un objet client à partir de l'identifiant du panier. Donc, dans la ligne ValidationOrderActions.php Goto. 305 et Changer cette ligne

$customer = new Customer($this->conveyor['cart']->id);

à

$customer = new Customer($this->conveyor['cart']->id_customer);

vcsahu16

vcsahu16

There is  bug in the Stripe module .

Order is not created because during ValidateOrder call the  function is not getting the secure_key.

The module is trying to create customer object from cart id.

So In the ValidationOrderActions.php Goto line no. 305 and 

Change this line 

$customer = new Customer($this->conveyor['cart']->id);

To

$customer = new Customer($this->conveyor['cart']->id_customer);

vcsahu16

vcsahu16

There is  bug in the Stripe module .

Order is not created because during ValidateOrder call the  function is not getting the secure_key.

The module is trying to create customer object from cart id.

So In the hook Goto line no. 305 and 

Change this line 

$customer = new Customer($this->conveyor['cart']->id);

To

$customer = new Customer($this->conveyor['cart']->id_customer);

×
×
  • Create New...