#699 payment_paynl status code 95

Posted in ‘Feature Requests’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Boudewijn de Bruin

Hello Olivier,

I would suggest to change paynl status code 95 (authorized) to pending instead of completed.

if($transaction->isPaid () || $transaction->isAuthorized()){
$return = 'TRUE';
//COMPLETED
$order->payment_complete ();
//clear cart
$order->empty_cart();
}elseif ($transaction->isPending ()){
$return = 'TRUE';
$order->update_status ( 4 );
}elseif ($transaction->isCancelled ()){
$order->update_status ( 6 );
return Text::_($this->params->get('oncancelpayment', ''));
}else{
$order->update_status ( 3 );
}

--->
} elseif ($transaction->isAuthorized()) {
$return = 'TRUE';
$order->update_status(4);

 

Stay Updated

Subscribe for free and be the first to know about the latest features, updates, and new additions.