Add A New Custom Payment


We have tried to ass a custom payment on version 4.9.12

In the table payment_processor, we have added a row with a processor called monetico

the processor script is placed in the folder app/payments

callback is set to N

no addon is specified

All works perfectly going to the payment site.

URL to get back to the website seems to be correct :

But when we try the URL, we got a 404 issue on the Website

Do you know how to solve that ?

Thanks in advance


You should in your processor script placed in the folder app/payments add code.

if( defined('PAYMENT_NOTIFICATION') ) {

if($mode == 'cancel') {
fn_order_placement_routines('checkout_redirect', 0, false);
} // end if
} // end if
Best regards

Did you check this article?