Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Plugins/prestashop/vivawallet/success.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
$cartid = $transtat[0]['ref'];

if(substr(_PS_VERSION_,2,1) >= 5){
Context::getContext()->cart = new Cart((int)$cart_id);
Context::getContext()->cart = new Cart((int)$cartid);
Context::getContext()->customer = new Customer((int)Context::getContext()->cart->id_customer);
$address = new Address((int)Context::getContext()->cart->id_address_invoice);
Context::getContext()->country = new Country((int)$address->id_country);
Expand Down Expand Up @@ -52,4 +52,4 @@
} else {
echo 'No valid input received.';
}
?>
?>