Jump to content

FirstName And LastName Parameters passed to anti fraud modules


timnboys

Recommended Posts

4 minutes ago, 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.

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

 

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...