timnboys Posted November 28, 2017 Report Posted November 28, 2017 I told @Paul I would remind him the monday after we spoke of this but I am forgetful and well forgot to remind him so I am just going to post it here as well so hopefully paul remembers and I don't forget again lol http://requests.blesta.com/topic/first-name-and-last-name-fields-passed-to-anti-fraud-module Quote
Paul Posted November 28, 2017 Report Posted November 28, 2017 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. Quote
timnboys Posted November 28, 2017 Author Report Posted November 28, 2017 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) ) ]); Quote
timnboys Posted December 12, 2017 Author Report Posted December 12, 2017 just wanted to update and say I haven't seen a core task for this yet as I am sure everyone would prefer this be put in the core files instead of me including it with my module files @Paul Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.