Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After credit card payment : Property OrderPayment->amount is not valid #24

Open
helitik opened this issue Mar 12, 2020 · 0 comments
Open

Comments

@helitik
Copy link

helitik commented Mar 12, 2020

PrestashopException "Property OrderPayment->amount is not valid" throws after credit card payment in modules/ps_checkout/controllers/front/ValidateOrder.php (line 82).

$cart->getOrderTotal(true, Cart::BOTH) return 0 because cart is empty.

Array ( 
  [cartId] => 0 
  [amount] => 0 
  [paymentMethod] => card 
  [extraVars] => Array ( [transaction_id] => XXXXX ) 
  [currencyId] => 1 
  [secureKey] => XXXXXX 
) 

Test with prestashop v1.7.6.4 and module prestashop checkout v1.2.13
Test with third party module disabled and overrides disabled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant