{"id":7005,"date":"2018-05-30T00:00:00","date_gmt":"2018-05-29T16:00:00","guid":{"rendered":"https:\/\/www.fraudlabspro.com\/resources2\/tutorials\/how-to-integrate-fraudlabs-pro-fraud-detection-with-paypal-payment\/"},"modified":"2026-04-02T18:32:54","modified_gmt":"2026-04-02T10:32:54","password":"","slug":"how-to-integrate-fraudlabs-pro-fraud-detection-with-paypal-payment","status":"publish","type":"docs","link":"https:\/\/www.fraudlabspro.com\/resources\/tutorials\/how-to-integrate-fraudlabs-pro-fraud-detection-with-paypal-payment\/","title":{"rendered":"How to integrate FraudLabs Pro fraud detection with PayPal payment"},"content":{"rendered":"<p>Description: This tutorial demonstrates how to integrate FraudLabs Pro fraud detection service into PayPal payment process. Below we show you the step-by-step instructions using the PHP language.<\/p>\n<h2><i class=\"fa fa-file-code-o\"><\/i> Using PHP<\/h2>\n<p>Create a new table to store the transaction value of FraudLabs Pro and PayPal payment processing. This table will be used during the settlement, void or refund process.<\/p>\n<pre style=\"display: block; padding: 9.5px; margin: 0 0 10px; font-size: 13px; line-height: 1.42857143; color: #333; word-break: break-all; word-wrap: break-word; background-color: #f5f5f5; border: 1px solid #ccc; border-radius: 4px;\">CREATE TABLE `fraudlabs_pro` (\n\t`flp_transaction_id` CHAR(15) NOT NULL,\n\t`flp_status` VARCHAR(10) NOT NULL,\n\t`paypal_transaction_id` VARCHAR(30) NOT NULL,\n\t`paypal_amount` DECIMAL(12,2) NOT NULL,\n\t`paypal_captured_id` VARCHAR(30),\n\tPRIMARY KEY (`flp_transaction_id`)\n)\nCOLLATE='utf8_general_ci'\nENGINE=MyISAM;<\/pre>\n<p>Download FraudLabs Pro PHP class from <a href=\"https:\/\/github.com\/fraudlabspro\/fraudlabspro-php\/releases\">https:\/\/github.com\/fraudlabspro\/fraudlabspro-php\/releases<\/a><\/p>\n<p>Integrate FraudLabs Pro fraud detection logic with your PayPal code. This code will perform a simple validation check of one credit card purchase and perform the appropriate action based on the fraud validation result.<\/p>\n<pre style=\"display: block; padding: 9.5px; margin: 0 0 10px; font-size: 13px; line-height: 1.42857143; color: #333; word-break: break-all; word-wrap: break-word; background-color: #f5f5f5; border: 1px solid #ccc; border-radius: 4px;\">\/\/ Include FraudLabs Pro library\nrequire_once 'PATH_TO_FRAUDLABSPRO\/lib\/FraudLabsPro.php';\n\n\/\/ Include PayPal library\nuse PayPalApiAmount;\nuse PayPalApiPayer;\nuse PayPalApiPayment;\nuse PayPalApiRedirectUrls;\nuse PayPalApiTransaction;\n\n$apiContext = new PayPalRestApiContext(\n    new PayPalAuthOAuthTokenCredential(\n        'your_client_id',     \/\/ ClientID\n        'your_client_secret'  \/\/ ClientSecret\n    )\n);\n\nFraudLabsProConfiguration::apiKey('your_fraudlabspro_api_key');\n\n\/\/ Check this transaction for possible fraud. FraudLabs Pro support comprehensive validation check,\n\/\/ and for this example, we only perform the IP address, BIN and billing country validation.\n\/\/ For complete validation, please check our developer page at http:\/\/www.fraudlabspro.com\/developer\n$orderDetails = [\n\t'order'\t\t=&gt; [\n\t\t'amount'\t=&gt; $_POST['amount'],\n\t],\n\t'billing'\t=&gt; [\n\t\t'country'\t=&gt; $_POST['country'],\n\t],\n];\n\n\/\/ Sends the order details to FraudLabs Pro\n$fraudResult = FraudLabsProOrder::validate($orderDetails);\n\n\/\/ This transaction is legitimate, let's submit to PayPal\nif ($fraudResult-&gt;fraudlabspro_status == 'APPROVE') {\n\t\/\/ Set Payer that funds a payment\n\t$payer = new Payer();\n\t$payer-&gt;setPaymentMethod(\"paypal\");\n\n\t\/\/ Set payment amount\n\t$amount = new Amount();\n\t$amount-&gt;setCurrency(\"USD\");\n\t$amount-&gt;setTotal($_POST['amount']);\n\n\t\/\/ Set transaction that defines the details of payment\n\t$transaction = new Transaction();\n\t$transaction-&gt;setAmount($amount);\n\t$transaction-&gt;setInvoiceNumber(uniqid());\n\n\t\/\/ Set the URLs that the buyer must be redirected to after payment approval\/cancellation\n\t$redirectUrls = new RedirectUrls();\n\t$redirectUrls-&gt;setReturnUrl(\"https:\/\/example.com\/your_redirect_url.html\");\n\t$redirectUrls-&gt;setCancelUrl(\"https:\/\/example.com\/your_cancel_url.html\");\n\n\t\/\/ Set payment resource\n\t$payment = new Payment();\n\t$payment-&gt;setIntent(\"sale\");\n\t$payment-&gt;setPayer($payer);\n\t$payment-&gt;setRedirectUrls($redirectUrls);\n\t$payment-&gt;setTransactions(array($transaction));\n\n\t\/\/ Create payment\n\ttry {\n\t\t$payment-&gt;create($apiContext);\n\t\t\/\/ echo $payment;\n\n\t\techo \"nnRedirect user to approval_url: \" . $payment-&gt;getApprovalLink() . \"n\";\n\t}\n\tcatch (PayPalExceptionPayPalConnectionException $ex) {\n\t\t\/\/ This will print the detailed information on the exception.\n\t\techo $ex-&gt;getData();\n\t}\n}\n\n\/\/ Transaction has been rejected by FraudLabs Pro based on your custom validation rules.\nelseif ($fraudResult-&gt;fraudlabspro_status == 'REJECT') {\n\t\/*\n\tDo something here, try contact the customer for verification\n\t*\/\n}\n\n\/\/ Transaction is marked for a manual review by FraudLabs Pro based on your custom validation rules.\nelseif ($fraudResult-&gt;fraudlabspro_status == 'REVIEW') {\n\t\/\/ Set Payer that funds a payment\n\t$payer = new Payer();\n\t$payer-&gt;setPaymentMethod(\"paypal\");\n\n\t\/\/ Set payment amount\n\t$amount = new Amount();\n\t$amount-&gt;setCurrency(\"USD\");\n\t$amount-&gt;setTotal($_POST['amount']);\n\n\t\/\/ Set transaction that defines the details of payment\n\t$transaction = new Transaction();\n\t$transaction-&gt;setAmount($amount);\n\t$transaction-&gt;setInvoiceNumber(uniqid());\n\n\t\/\/ Set the URLs that the buyer must be redirected to after payment approval\/cancellation\n\t$redirectUrls = new RedirectUrls();\n\t$redirectUrls-&gt;setReturnUrl(\"https:\/\/example.com\/your_redirect_url.html\");\n\t$redirectUrls-&gt;setCancelUrl(\"https:\/\/example.com\/your_cancel_url.html\");\n\n\t\/\/ Set payment resource\n\t$payment = new Payment();\n\t$payment-&gt;setIntent(\"authorize\");\n\t$payment-&gt;setPayer($payer);\n\t$payment-&gt;setRedirectUrls($redirectUrls);\n\t$payment-&gt;setTransactions(array($transaction));\n\n\t\/\/ Create payment\n\ttry {\n\t\t$payment-&gt;create($apiContext);\n\n\t\techo \"nnRedirect user to approval_url: \" . $payment-&gt;getApprovalLink() . \"n\";\n\t\t$transactions = $payment-&gt;getTransactions();\n\t\t$related_resources = $transactions[0]-&gt;getRelatedResources();\n\t\t$txn_authorize = $related_resources[0]-&gt;getAuthorization();\n\t\t$txn_authorize_id = $txn_authorize-&gt;getId();\n\n\t\ttry{\n\t\t\t\/\/ Initial MySQL connection\n\t\t\t$db = new PDO('mysql:host=your_database_host;dbname=your_database_name;charset=utf8', 'your_database_user', 'your_database_password');\n\t\t\t$db-&gt;setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);\n\n\t\t\t\/\/ Store the transaction information for decision making\n\t\t\t$st = $db-&gt;prepare('INSERT INTO `fraudlabs_pro` (flp_transaction_id, flp_status, paypal_transaction_id, paypal_amount) VALUES (:flpId, :flpStatus, :paypalId, :paypalAmount)');\n\t\t\t$st-&gt;execute(array(\n\t\t\t\t':flpId'=&gt;$fraudResult-&gt;fraudlabspro_id,\n\t\t\t\t':flpStatus'=&gt;$fraudResult-&gt;fraudlabspro_status,\n\t\t\t\t':paypalId'=&gt;$txn_authorize_id,\n\t\t\t\t':paypalAmount'=&gt;$_POST['amount']\n\t\t\t));\n\t\t}\n\t\tcatch(PDOException $e){\n\t\t\t\/\/ MySQL error\n\t\t\tdie($e-&gt;getFile() . ':' . $e-&gt;getLine() . ' ' . $e-&gt;getMessage());\n\t\t}\n\t}\n\tcatch (PayPalExceptionPayPalConnectionException $ex) {\n\t\t\/\/ This will print the detailed information on the exception.\n\t\techo $ex-&gt;getData();\n\t}\n}<\/pre>\n<p>Now, we are going to create a callback page to receive the review action, APPROVE or REJECT, performed by the merchant.<\/p>\n<p>Note: You need to configure the callback URL at the FraudLabs Pro merchant area-&gt;settings page. It has to be pointed to the location where you hosted this \u00e2\u20ac\u0153fraudlabspro-callback.php\u00e2\u20ac\u009d file. Below is the sample code for fraudlabspro-callback.php<\/p>\n<pre style=\"display: block; padding: 9.5px; margin: 0 0 10px; font-size: 13px; line-height: 1.42857143; color: #333; word-break: break-all; word-wrap: break-word; background-color: #f5f5f5; border: 1px solid #ccc; border-radius: 4px;\">\/\/ Include PayPal library\nuse PayPalApiAmount;\nuse PayPalApiAuthorization;\nuse PayPalApiCapture;\n\n$id = (isset($_POST['id'])) ? $_POST['id'] : '';\n$action = (isset($_POST['action'])) ? $_POST['action'] : '';\n\nif($id &amp;&amp; in_array($action, array('APPROVE', 'REJECT'))){\n\ttry{\n\t\t\/\/ Initial MySQL connection\n\t\t$db = new PDO('mysql:host=your_database_host;dbname=your_database_name;charset=utf8', 'your_database_user', 'your_database_password');\n\t\t$db-&gt;setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);\n\n\t\t\/\/ Get the PayPal Transaction ID\n\t\t$st = $db-&gt;prepare('SELECT * FROM `fraudlabs_pro` WHERE `flp_transaction_id`=:flpId AND `flp_status`='REVIEW'');\n\t\t$st-&gt;execute(array(\n\t\t\t':flpId'=&gt;$id\n\t\t));\n\n\t\tif($st-&gt;rowCount() == 1){\n\t\t\t$row = $st-&gt;fetch(PDO::FETCH_ASSOC);\n\n\t\t\t$apiContext = new PayPalRestApiContext(\n\t\t\t\tnew PayPalAuthOAuthTokenCredential(\n\t\t\t\t\t'your_client_id',     \/\/ ClientID\n\t\t\t\t\t'your_client_secret'  \/\/ ClientSecret\n\t\t\t\t)\n\t\t\t);\n\n\t\t\t$authorizationId = $row['paypal_transaction_id'];\n\n\t\t\tif($action == 'REJECT'){\n\t\t\t\t\/\/ Merchant rejected the order. Void the transaction in PayPal\n\t\t\t\ttry {\n\t\t\t\t\t\/\/ Lookup the authorization\n\t\t\t\t\t$authorization = Authorization::get($authorizationId, $apiContext);\n\n\t\t\t\t\t\/\/ Void the authorization\n\t\t\t\t\t$voidedAuth = $authorization-&gt;void($apiContext);\n\n\t\t\t\t\t\/\/ Update database\n\t\t\t\t\t$st = $db-&gt;prepare('UPDATE `fraudlabs_pro` SET `flp_status`=:action WHERE `flp_transaction_id`=:flpId');\n\t\t\t\t\t$st-&gt;execute(array(\n\t\t\t\t\t\t':flpId'=&gt;$id,\n\t\t\t\t\t\t':action'=&gt;$action\n\t\t\t\t\t));\n\t\t\t\t} catch (PayPalExceptionPayPalConnectionException $ex) {\n\t\t\t\t\t\/\/ This will print the detailed information on the exception.\n\t\t\t\t\techo $ex-&gt;getData();\n\t\t\t\t}\n\t\t\t}\n\t\t\telse{\n\t\t\t\t\/\/ Merchant approved the order. Submit for settlement\n\t\t\t\ttry {\n\t\t\t\t\t\/\/ Retrieve the authorization\n\t\t\t\t\t$authorization = Authorization::get($authorizationId, $apiContext);\n\n\t\t\t\t\t\/\/ Set payment amount\n\t\t\t\t\t$amount = new Amount();\n\t\t\t\t\t$amount-&gt;setCurrency(\"USD\");\n\t\t\t\t\t$amount-&gt;setTotal($row['paypal_amount']);\n\n\t\t\t\t\t\/\/ Create a capture\n\t\t\t\t\t$capture = new Capture();\n\t\t\t\t\t$capture-&gt;setAmount($amount);\n\n\t\t\t\t\t\/\/ Perform a capture\n\t\t\t\t\t$getCapture = $authorization-&gt;capture($capture, $apiContext);\n\t\t\t\t\t$captureID = $getCapture-&gt;getId();\n\n\t\t\t\t\t\/\/ Update database\n\t\t\t\t\t$st = $db-&gt;prepare('UPDATE `fraudlabs_pro` SET `flp_status`=:action, `paypal_captured_id`=:captureId WHERE `flp_transaction_id`=:flpId');\n\t\t\t\t\t$st-&gt;execute(array(\n\t\t\t\t\t\t':flpId'=&gt;$id,\n\t\t\t\t\t\t':captureid'=&gt;$captureID,\n\t\t\t\t\t\t':action'=&gt;$action\n\t\t\t\t\t));\n\t\t\t\t} catch (PayPalExceptionPayPalConnectionException $ex) {\n\t\t\t\t\t\/\/ This will print the detailed information on the exception.\n\t\t\t\t\techo $ex-&gt;getData();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\tcatch(PDOException $e){\n\t\t\/\/ MySQL error\n\t\tdie($e-&gt;getFile() . ':' . $e-&gt;getLine() . ' ' . $e-&gt;getMessage());\n\t}\n}<\/pre>\n<p>If there is a need to issue a refund of a settled transaction, below is the sample code of how to accomplish that.<\/p>\n<pre style=\"display: block; padding: 9.5px; margin: 0 0 10px; font-size: 13px; line-height: 1.42857143; color: #333; word-break: break-all; word-wrap: break-word; background-color: #f5f5f5; border: 1px solid #ccc; border-radius: 4px;\">\/\/ Include PayPal library\nuse PayPalApiCapture;\nuse PayPalApiRefund;\nuse PayPalApiRefundRequest;\n\ntry{\n\t\/\/ Initial MySQL connection\n\t$db = new PDO('mysql:host=your_database_host;dbname=your_database_name;charset=utf8', 'your_database_user', 'your_database_password');\n\t$db-&gt;setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);\n\n\t\/\/ Get the PayPal transaction ID based on the FraudLabs Pro ID\n\t$st = $db-&gt;prepare('SELECT * FROM `fraudlabs_pro` WHERE `flp_transaction_id`=:flpId');\n\t$st-&gt;execute(array(\n\t\t':flpId'=&gt;$_POST['flpId']\n\t));\n\n\tif($st-&gt;rowCount() == 1){\n\t\t$row = $st-&gt;fetch(PDO::FETCH_ASSOC);\n\n\t\t$apiContext = new PayPalRestApiContext(\n\t\t\tnew PayPalAuthOAuthTokenCredential(\n\t\t\t\t'your_client_id',     \/\/ ClientID\n\t\t\t\t'your_client_secret'  \/\/ ClientSecret\n\t\t\t)\n\t\t);\n\n\t\t$captureId = $row['paypal_captured_id'];\n\n\t\t\/\/ Set payment amount\n\t\t$amount = new Amount();\n\t\t$amount-&gt;setCurrency(\"USD\");\n\t\t$amount-&gt;setTotal(20);\n\n\t\t\/\/ Set refund request\n\t\t$refundRequest = new RefundRequest();\n\t\t$refundRequest-&gt;setAmount($amount);\n\n\t\ttry {\n\t\t\t\/\/ Retrieve Capture details\n\t\t\t$capture = Capture::get($captureId, $apiContext);\n\n\t\t\t\/\/ Refund the Capture \n\t\t\t$captureRefund = $capture-&gt;refundCapturedPayment($refundRequest, $apiContext);\n\n\t\t\t\/\/ Update database\n\t\t\t$st = $db-&gt;prepare('UPDATE `fraudlabs_pro` SET `flp_status`='REFUNDED' WHERE `flp_transaction_id`=:flpId');\n\t\t\t$st-&gt;execute(array(\n\t\t\t\t':flpId'=&gt;$_POST['flpId']\n\t\t\t));\n\t\t} catch (PayPalExceptionPayPalConnectionException $ex) {\n\t\t\t\/\/ This will print the detailed information on the exception.\n\t\t\techo $ex-&gt;getData();\n\t\t}\n\t}\n}\ncatch(PDOException $e){\n\t\/\/ MySQL error\n\tdie($e-&gt;getFile() . ':' . $e-&gt;getLine() . ' ' . $e-&gt;getMessage());\n}<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Description: This tutorial demonstrates how to integrate FraudLabs Pro fraud detection service into PayPal payment process. Below we show you [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_lmt_disableupdate":"","_lmt_disable":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"doc_category":[212],"doc_tag":[],"class_list":["post-7005","docs","type-docs","status-publish","hentry","doc_category-payment-gateway"],"year_month":"2026-05","word_count":1359,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"FraudLabs Pro","author_nicename":"jhchew","author_url":"https:\/\/www.fraudlabspro.com\/resources\/author\/jhchew\/"},"doc_category_info":[{"term_name":"Payment Gateway","term_url":"https:\/\/www.fraudlabspro.com\/resources\/categories\/payment-gateway\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to integrate FraudLabs Pro fraud detection with PayPal payment -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.fraudlabspro.com\/resources\/tutorials\/how-to-integrate-fraudlabs-pro-fraud-detection-with-paypal-payment\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to integrate FraudLabs Pro fraud detection with PayPal payment -\" \/>\n<meta property=\"og:description\" content=\"Description: This tutorial demonstrates how to integrate FraudLabs Pro fraud detection service into PayPal payment process. Below we show you [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fraudlabspro.com\/resources\/tutorials\/how-to-integrate-fraudlabs-pro-fraud-detection-with-paypal-payment\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-02T10:32:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.fraudlabspro.com\/resources\/wp-content\/uploads\/2018\/12\/banner-articles-and-tutorials.png\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"315\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.fraudlabspro.com\\\/resources\\\/tutorials\\\/how-to-integrate-fraudlabs-pro-fraud-detection-with-paypal-payment\\\/\",\"url\":\"https:\\\/\\\/www.fraudlabspro.com\\\/resources\\\/tutorials\\\/how-to-integrate-fraudlabs-pro-fraud-detection-with-paypal-payment\\\/\",\"name\":\"How to integrate FraudLabs Pro fraud detection with PayPal payment -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.fraudlabspro.com\\\/resources\\\/#website\"},\"datePublished\":\"2018-05-29T16:00:00+00:00\",\"dateModified\":\"2026-04-02T10:32:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.fraudlabspro.com\\\/resources\\\/tutorials\\\/how-to-integrate-fraudlabs-pro-fraud-detection-with-paypal-payment\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.fraudlabspro.com\\\/resources\\\/tutorials\\\/how-to-integrate-fraudlabs-pro-fraud-detection-with-paypal-payment\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.fraudlabspro.com\\\/resources\\\/tutorials\\\/how-to-integrate-fraudlabs-pro-fraud-detection-with-paypal-payment\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.fraudlabspro.com\\\/resources\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Resources\",\"item\":\"https:\\\/\\\/www.fraudlabspro.com\\\/resources\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to integrate FraudLabs Pro fraud detection with PayPal payment\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.fraudlabspro.com\\\/resources\\\/#website\",\"url\":\"https:\\\/\\\/www.fraudlabspro.com\\\/resources\\\/\",\"name\":\"\",\"description\":\"Resources About FraudLabs Pro Services\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.fraudlabspro.com\\\/resources\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to integrate FraudLabs Pro fraud detection with PayPal payment -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.fraudlabspro.com\/resources\/tutorials\/how-to-integrate-fraudlabs-pro-fraud-detection-with-paypal-payment\/","og_locale":"en_US","og_type":"article","og_title":"How to integrate FraudLabs Pro fraud detection with PayPal payment -","og_description":"Description: This tutorial demonstrates how to integrate FraudLabs Pro fraud detection service into PayPal payment process. Below we show you [&hellip;]","og_url":"https:\/\/www.fraudlabspro.com\/resources\/tutorials\/how-to-integrate-fraudlabs-pro-fraud-detection-with-paypal-payment\/","article_modified_time":"2026-04-02T10:32:54+00:00","og_image":[{"width":600,"height":315,"url":"https:\/\/www.fraudlabspro.com\/resources\/wp-content\/uploads\/2018\/12\/banner-articles-and-tutorials.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.fraudlabspro.com\/resources\/tutorials\/how-to-integrate-fraudlabs-pro-fraud-detection-with-paypal-payment\/","url":"https:\/\/www.fraudlabspro.com\/resources\/tutorials\/how-to-integrate-fraudlabs-pro-fraud-detection-with-paypal-payment\/","name":"How to integrate FraudLabs Pro fraud detection with PayPal payment -","isPartOf":{"@id":"https:\/\/www.fraudlabspro.com\/resources\/#website"},"datePublished":"2018-05-29T16:00:00+00:00","dateModified":"2026-04-02T10:32:54+00:00","breadcrumb":{"@id":"https:\/\/www.fraudlabspro.com\/resources\/tutorials\/how-to-integrate-fraudlabs-pro-fraud-detection-with-paypal-payment\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fraudlabspro.com\/resources\/tutorials\/how-to-integrate-fraudlabs-pro-fraud-detection-with-paypal-payment\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.fraudlabspro.com\/resources\/tutorials\/how-to-integrate-fraudlabs-pro-fraud-detection-with-paypal-payment\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fraudlabspro.com\/resources\/"},{"@type":"ListItem","position":2,"name":"Resources","item":"https:\/\/www.fraudlabspro.com\/resources\/tutorials\/"},{"@type":"ListItem","position":3,"name":"How to integrate FraudLabs Pro fraud detection with PayPal payment"}]},{"@type":"WebSite","@id":"https:\/\/www.fraudlabspro.com\/resources\/#website","url":"https:\/\/www.fraudlabspro.com\/resources\/","name":"","description":"Resources About FraudLabs Pro Services","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.fraudlabspro.com\/resources\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.fraudlabspro.com\/resources\/wp-json\/wp\/v2\/docs\/7005","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fraudlabspro.com\/resources\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.fraudlabspro.com\/resources\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.fraudlabspro.com\/resources\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fraudlabspro.com\/resources\/wp-json\/wp\/v2\/comments?post=7005"}],"version-history":[{"count":0,"href":"https:\/\/www.fraudlabspro.com\/resources\/wp-json\/wp\/v2\/docs\/7005\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.fraudlabspro.com\/resources\/wp-json\/wp\/v2\/media?parent=7005"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.fraudlabspro.com\/resources\/wp-json\/wp\/v2\/doc_category?post=7005"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.fraudlabspro.com\/resources\/wp-json\/wp\/v2\/doc_tag?post=7005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}