News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - seikan

#1
That's weird. I still cannot trigger the checking. Am I missing something?  :'(
#2
Hi abolabo, thanks for your reply.

Unfortunately, I can't get it working. Can you point out what I done it wrongly?

I got my extension at /extensions/antifraudster/storefront/controller/responses/extension/antifraudster.php"

Quote<?php
if (!defined('DIR_CORE')) {
   header('Location: static_pages/');
}

class ControllerResponsesExtensionAntiFraudster extends AController {

   public function main() {}

   public function onControllerPagesCheckoutSuccess_InitData() {
      $that->loadModel('checkout/order');

      $order_info = $this->model_checkout_order->getOrder($this->session->data['order_id']);

      if($order_info['payment_country'] == 'NG') {
         die('Fraud detected!');
      }
   }
}
?>
#3
I'm developing an extension to validate my order against fraudster and cancel the order before send it to payment gateway. Any clues which hooks to use?

Forum Rules Code of conduct
AbanteCart.com 2010 -