Jump to content

Recommended Posts

Posted

If you can include a snippet of your core modification that'd be great too. Something I think we'll implement, but I don't have an ETA at the moment.

Posted
  On 11/28/2017 at 11:12 PM, Paul said:

If you can include a snippet of your core modification that'd be great too. Something I think we'll implement, but I don't have an ETA at the moment.

Expand  
$antifraud = $this->Html->ifSet($order_settings['antifraud']);
        try {
            $fraud_detect = $this->Antifraud->create($antifraud, [$order_settings]);
            $status = $fraud_detect->verify([
                'ip' => $_SERVER['REMOTE_ADDR'],
				'first_name' => $this->Html->ifSet($client->first_name),
				'last_name' => $this->Html->ifSet($client->last_name),
                'email' => $this->Html->ifSet($client->email),
                'address1' => $this->Html->ifSet($client->address1),
                'address2' => $this->Html->ifSet($client->address2),
                'city' => $this->Html->ifSet($client->city),
                'state' => $this->Html->ifSet($client->state),
                'country' => $this->Html->ifSet($client->country),
                'zip' => $this->Html->ifSet($client->zip),
                'phone' => $this->Contacts->intlNumber(
                    $this->Html->ifSet($client->numbers[0]['number']),
                    $this->Html->ifSet($client->country)
                )
            ]);

 

  • 2 weeks later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...