razorpay / razorpay-prestashop

Prestashop plugin for Razorpay
12 stars 11 forks source link

Prestashop 1.7 - Cart cannot be loaded or an order has already been placed using this cart #50

Closed anishmenon closed 4 years ago

anishmenon commented 4 years ago

After successful payment its redirecting me to normal html with message

Cart cannot be loaded or an order has already been placed using this cart

instead of redirecting to order confirmation

anishmenon commented 4 years ago

Frontcontroller::init - Cart cannot be loaded or an order has already been placed using this cart

anishmenon commented 4 years ago

fixed . I've replaced

47 line

Tools::redirect($url); by

Tools::redirect('index.php?controller=order-confirmation&id_cart='.$cart->id.'&id_module='.$this->module->id.'&id_order='.$this->module->currentOrder.'&key='.$customer->secure_key);