3DS
You can integrate your e-commerce application directly to our platform-agnostic 3D Secure API so your merchants can mitigate fraud while at the same time allowing the cardholders to enjoy additional security when using their cards online. Paysafe is compliant to 3D Secure version 1.0.2..
Click the links below to view our code samples.
$response = $client()->threeDSecureService()->enrollmentChecks(new ThreeDEnrollment(array(
'merchantRefNum' => "merchantABC-123-enrollmentchecks",
'amount' => "5000",
'currency' => "USD",
'card' => array(
'cardNum' => "4111111111111111",
'cardExpiry' => array(
'month' => Date('10') ,
'year' => Date('2019') ,
)
) ,
'customerIp' => "172.0.0.1",
'userAgent' => "36.0.1985.125",
'acceptHeader' => "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
'merchantUrl' => "https://www.merchant.com"
)));
$response = $client()->threeDSecureService()->getenrollmentChecks(new ThreeDEnrollment(array(
'id' => “e067d83f - add7 - 4b6b - 8884 - dfa8693dde1f”
)));
$response = $client()->threeDSecureService()->authentications(new Authentications(array(
'merchantRefNum' => =>"merchantABC-123-enrollmentchecks" ,
'paRes'=>"eNqdWNmS6jgSffdXVNx+pLu9YLYOqiLkfcEG75g3b3i38W74+jFQdav6TsVMz/CClE4dpZR5jmRv9agOAkoLvK4O3rZS0DROGLzE/uuPOFqvTHstDzJIU6zAYoxCfrxtD0ANmodDIFjnUczO6/JMH8HrKzY97YO6icviDf0T+RPbwh/dCbj2Iqdo37aOVxG8/Ibj+Hw+38Lv3W0e1Dz1hq/x9Xy1xlf4egs/TVv4c+yhu7eaKdAx9t8cK8Rl9HTa04u5njK1cxM6KU+vKgVet/DdY+s7bfCGISiO4MjmBd38hWz+wpAt/LBvL3c4kJfdhI2hyGT/atlOW1IHhXd9W+PTo5+9bTBeyiK4j9nCP9tb+DO4i1O8IX//Ta5361Y/vm3bOP8lqMVf82mGh33btE7bNW/2Fn5vbT2n798AAAQRpUc7BPcfSYx+TMvReQVm02IfLtvAi9+QxRTU9P8YBbKwrOM2yu+h/t2whe+hwI9svm21OCymyergZcyzonn9EbXt5S8YHobhz2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IhgMZhlWRnwFXVlF4tIcUd1zVrWC6LlTdbxZV2axVOIszAXWHLwTn0LO8e6Z0nW+XGPYRqZRnY5RQtIfF64jbgW37Dn29D8M83pM93p8f3oMdHqvsnjK8fr/4FHAUkCw==",
'id' => “e067d83f-add7-4b6b-8884-dfa8693dde1f”
)));
$response = $client()->threeDSecureService()->getAuthentication(new Authentications(array(
'id' => “e067d83f - add7 - 4b6b - 8884 - dfa8693dde1f”
)));
$response = $this->getClient()->threeDSecureService()->getAuthentications(new Authentications(array(
'id' => ”e067d83f - add7 - 4b6b - 8884 - dfa8693dde1f”
)) , "enrollmentchecks");