Jump to content

Paytr ödeme sayfasında hata alıyorum?


Recommended Posts

Merhaba arkadaşlar,

 

paytr modülünü yükledim şuan ödeme yap dediğimde hata alıyorum.

 

Bilginiz var mı?

 

Can't load Order status
at line 197 in file modules/paytr_checkout/controllers/front/payment.php



192.         }
193. 
194.         $order_status = new OrderState((int)$id_order_state, (int)$this->context->language->id);
195.         if (!Validate::isLoadedObject($order_status)) {
196.             PrestaShopLogger::addLog('PaymentModule::validateOrder - Order Status cannot be loaded', 3, null, 'Cart', (int)$id_cart, true);
197.             throw new PrestaShopException('Can\'t load Order status');
198.         }
199. 
200.         // Does order already exists ?
201.         if (Validate::isLoadedObject($this->context->cart) && $this->context->cart->OrderExists() == false) {
202. 
Paytr_CheckoutPaymentModuleFrontController->validateOrderCustom - [line 102 - modules/paytr_checkout/controllers/front/payment.php] - [9 Arguments]
97. 
98.                     $currency = $this->context->currency;
99. 
100.                     $cart_id = $cart->id;
101. 					
102.                     $this->validateOrderCustom((int) $cart->id, Configuration::get('PAYTRCHECKOUT_PENDING'), $total, $this->module->displayName, null, null, (int) $currency->id, false, $cart->secure_key);
103. 
104.                     $oldCart = new Cart( (int) $cart_id );
105.                     $duplication = $oldCart->duplicate();
106.                     if (!$duplication OR !Validate::isLoadedObject($duplication['cart']))
107.                         $this->errors[] = Tools::displayError('Sorry, we cannot renew your order.');
Paytr_CheckoutPaymentModuleFrontController->initContent - [line 189 - classes/controller/Controller.php]
184.             if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) {
185.                 $this->initHeader();
186.             }
187. 
188.             if ($this->viewAccess()) {
189.                 $this->initContent();
190.             } else {
191.                 $this->errors[] = Tools::displayError('Access denied.');
192.             }
193. 
194.             if (!$this->content_only && ($this->display_footer || (isset($this->className) && $this->className))) {
ControllerCore->run - [line 367 - classes/Dispatcher.php]
362.             if (isset($params_hook_action_dispatcher)) {
363.                 Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
364.             }
365. 
366.             // Running controller
367.             $controller->run();
368.         } catch (PrestaShopException $e) {
369.             $e->displayMessage();
370.         }
371.     }
372. 
DispatcherCore->dispatch - [line 28 - index.php]
23. *  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
24. *  International Registered Trademark & Property of PrestaShop SA
25. */
26. 
27. require(dirname(__FILE__).'/config/config.inc.php');
28. Dispatcher::getInstance()->dispatch();

Sipariş status sayfamda burada;

post-1154947-0-45130800-1482156219_thumb.png

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