# Friendly Fraud Prevention for Developers: What to Log, Block and Automate

DevFeed: [Friendly Fraud Prevention for Developers: What to Log, Block and Automate](<https://devfeed.tech/articles/friendly-fraud-prevention-for-developers-what-to-log-block-and-automate-123746.md>)

Original publisher: [Read original article](<https://www.sitepoint.com/friendly-fraud-prevention-for-developers-what-to-log-block-and-automate/>)

Author: M Ahmad Shahmir

Published: 2026-11-08T16:33:09Z

Content type: tutorial

Language: en

Sources: [SitePoint](<https://devfeed.tech/sources/sitepoint.md>)

Topics: [online-fraud-prevention](<https://devfeed.tech/topics/online-fraud-prevention.md>), [fraud signal sharing](<https://devfeed.tech/topics/fraud-signal-sharing.md>), [Security, Privacy and Abuse Prevention](<https://devfeed.tech/topics/security-privacy-and-abuse-prevention.md>), [Learning](<https://devfeed.tech/topics/learning.md>)

Tags: [automate](<https://devfeed.tech/tags/automate.md>), [automation](<https://devfeed.tech/tags/automation.md>), [block](<https://devfeed.tech/tags/block.md>), [developers](<https://devfeed.tech/tags/developers.md>), [entrepreneur](<https://devfeed.tech/tags/entrepreneur.md>), [for-developers](<https://devfeed.tech/tags/for-developers.md>), [fraud](<https://devfeed.tech/tags/fraud.md>), [fraud-prevention](<https://devfeed.tech/tags/fraud-prevention.md>), [friendly](<https://devfeed.tech/tags/friendly.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [programming](<https://devfeed.tech/tags/programming.md>)

## AI overview

Friendly fraud defenses depend on checkout evidence, risk controls, and fast dispute handling. The tutorial recommends storing each order's IP, device ID, account and delivery details for at least 13 months: Visa CE3.0 requires two earlier undisputed purchases 120-365 days before the disputed charge, while Mastercard First-Party Trust checks device, delivery and identity data for reason code 4837. It also describes targeted 3D Secure, recognizable billing descriptors, subscription reminders and cancellation, and a fulfillment hold for risky physical orders. Issuer lookup services such as Visa Verifi Order Insight and Mastercard Ethoca Consumer Clarity can resolve confusion before filing; webhooks can automate early refunds and evidence packets. PSP adapters keep core logic portable, while Chargeflow offers screening, dispute automation and platform services. Limits include CE3.0's returning-customer requirement, Chargeflow Prevent's Shopify-only availability and lack of a public API, and production needs for reason-specific evidence, deadlines, retries and win-rate tracking.

## Source excerpt

null Continue reading Friendly Fraud Prevention for Developers: What to Log, Block and Automate on SitePoint.