Skip to Content

New J2Commerce 6.6.5 is out. Here is everything in the release.

See What’s New
Account
Enter the email address on your account.
Forgot your username?
Enter your password.
Forgot your password?

Or continue with

Closed Public Category: Feature Requests Ticket #699

payment_paynl status code 95

  • Opened
This is a public ticket

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

Conversation

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);