From 76f4534e1235babefe45691eceece3577a3cd46c Mon Sep 17 00:00:00 2001 From: brianmc Date: Wed, 15 Apr 2015 12:14:13 -0700 Subject: [PATCH 1/5] fixed some start dates in ARB tests --- tests/AuthorizeNetARB_Test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/AuthorizeNetARB_Test.php b/tests/AuthorizeNetARB_Test.php index 5e6cd701..cbaad38b 100644 --- a/tests/AuthorizeNetARB_Test.php +++ b/tests/AuthorizeNetARB_Test.php @@ -65,7 +65,7 @@ public function testCreateSubscriptionLong() $subscription->name = "test subscription"; $subscription->intervalLength = "1"; $subscription->intervalUnit = "months"; - $subscription->startDate = "2015-03-12"; + $subscription->startDate = "2018-03-12"; $subscription->totalOccurrences = "14"; $subscription->trialOccurrences = ""; $subscription->amount = "6.99"; @@ -137,7 +137,7 @@ public function testCreateSubscriptionECheck() $subscription->name = "my test echeck subscription"; $subscription->intervalLength = "1"; $subscription->intervalUnit = "months"; - $subscription->startDate = "2015-04-12"; + $subscription->startDate = "2019-04-12"; $subscription->totalOccurrences = "2"; $subscription->trialOccurrences = ""; $subscription->amount = "11.99"; From c9d1e996c179af164e5aa35a208c7f8ff06693b0 Mon Sep 17 00:00:00 2001 From: brianmc Date: Wed, 15 Apr 2015 14:07:50 -0700 Subject: [PATCH 2/5] fixed some rand issues in CIM tests --- tests/AuthorizeNetCIM_Test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/AuthorizeNetCIM_Test.php b/tests/AuthorizeNetCIM_Test.php index 3e550456..39dc352b 100644 --- a/tests/AuthorizeNetCIM_Test.php +++ b/tests/AuthorizeNetCIM_Test.php @@ -263,7 +263,7 @@ public function testAll() $request = new AuthorizeNetCIM; $customerProfile = new AuthorizeNetCustomer; $customerProfile->description = "Description of customer"; - $customerProfile->merchantCustomerId = time().rand(1,10); + $customerProfile->merchantCustomerId = time().rand(1,100); $customerProfile->email = "blahblahblah@domain.com"; $response = $request->createCustomerProfile($customerProfile); $this->assertTrue($response->isOk()); @@ -376,7 +376,7 @@ public function testGetCustomerProfileIds() $request = new AuthorizeNetCIM; $customerProfile = new AuthorizeNetCustomer; $customerProfile->description = "Description of customer"; - $customerProfile->merchantCustomerId = time().rand(1,10); + $customerProfile->merchantCustomerId = time().rand(1,100); $customerProfile->email = "blahblahblah@domain.com"; $response = $request->createCustomerProfile($customerProfile); $this->assertTrue($response->isOk()); From a03e11fe13c3a329584296b9c23d8ac1e0337dac Mon Sep 17 00:00:00 2001 From: Brian McManus Date: Thu, 7 May 2015 13:41:26 -0700 Subject: [PATCH 3/5] Update cert.pem --- lib/ssl/cert.pem | 267 ++++++++--------------------------------------- 1 file changed, 44 insertions(+), 223 deletions(-) diff --git a/lib/ssl/cert.pem b/lib/ssl/cert.pem index 19f7fe9e..01b64f65 100644 --- a/lib/ssl/cert.pem +++ b/lib/ssl/cert.pem @@ -1,3 +1,10 @@ +Common Name: GeoTrust Global CA +Organization: GeoTrust Inc. +Valid From: May 20, 2002 +Valid To: May 20, 2022 +Issuer: GeoTrust Global CA, GeoTrust Inc. +Serial Number: 144470 (0x23456) +Thumbprint (SHA-1): β€Žde 28 f4 a4 ff e5 b9 2f a3 c5 03 d1 a3 49 a7 f9 96 2a 82 12 -----BEGIN CERTIFICATE----- MIIDVDCCAjygAwIBAgIDAjRWMA0GCSqGSIb3DQEBBQUAMEIxCzAJBgNVBAYTAlVT MRYwFAYDVQQKEw1HZW9UcnVzdCBJbmMuMRswGQYDVQQDExJHZW9UcnVzdCBHbG9i @@ -18,88 +25,15 @@ PseKUgzbFbS9bZvlxrFUaKnjaZC2mqUPuLk/IH2uSrW4nOQdtqvmlKXBx4Ot2/Un hw4EbNX/3aBd7YdStysVAq45pmp06drE57xNNB6pXE0zX5IJL4hmXXeXxx12E6nV 5fEWCRE11azbJHFwLJhWC9kXtNHjUStedejV0NxPNO3CBWaAocvmMw== -----END CERTIFICATE----- ------BEGIN CERTIFICATE----- -MIIEYTCCA0mgA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U/HoZdenoVve8AjhUiVBcAkCaTvA5JaJG/+EfTnZVCwQ5N -328mz8MYIWJmQ3DW1cAH4QIDAQABo4IBJzCCASMwDgYDVR0PAQH/BAQDAgEGMA8G -A1UdEwEB/wQFMAMBAf8wMwYIKwYBBQUHAQEEJzAlMCMGCCsGAQUFBzABhhdodHRw -Oi8vb2NzcC5lbnRydXN0Lm5ldDAzBgNVHR8ELDAqMCigJqAkhiJodHRwOi8vY3Js -LmVudHJ1c3QubmV0L3NlcnZlcjEuY3JsMDsGA1UdIAQ0MDIwMAYEVR0gADAoMCYG -CCsGAQUFBwIBFhpodHRwOi8vd3d3LmVudHJ1c3QubmV0L0NQUzAdBgNVHQ4EFgQU -VeSB0RGAvtiJuQijMfmhJAkWuXAwHwYDVR0jBBgwFoAU8BdiE1U9s/8KAGv7UISX -8+1i0BowGQYJKoZIhvZ9B0EABAwwChsEVjcuMQMCAIEwDQYJKoZIhvcNAQEFBQAD -gYEAj2WiMI4mq4rsNRaY6QPwjRdfvExsAvZ0UuDCxh/O8qYRDKixDk2Ei3E277M1 -RfPB+JbFi1WkzGuDFiAy2r77r5u3n+F+hJ+ePFCnP1zCvouGuAiS7vhCKw0T43aF -SApKv9ClOwqwVLht4wj5NI0LjosSzBcaM4eVyJ4K3FBTF3s= ------END CERTIFICATE----- + + +Common Name: Entrust.net Secure Server Certification Authority +Organization: Entrust.net +Valid From: May 25, 1999 +Valid To: May 25, 2019 +Issuer: Entrust.net Secure Server Certification Authority, Entrust.net +Serial Number: 927650371 (0x374ad243) +Thumbprint (SHA-1): β€Ž99 a6 9b e6 1a fe 88 6b 4d 2b 82 00 7c b8 54 fc 31 7e 15 39 -----BEGIN CERTIFICATE----- MIIE2DCCBEGgAwIBAgIEN0rSQzANBgkqhkiG9w0BAQUFADCBwzELMAkGA1UEBhMC VVMxFDASBgNVBAoTC0VudHJ1c3QubmV0MTswOQYDVQQLEzJ3d3cuZW50cnVzdC5u @@ -128,146 +62,33 @@ hvcNAQEFBQADgYEAkNwwAvpkdMKnCqV8IY00F6j7Rw7/JXyNEwr75Ji174z4xRAN 95K+8cPV1ZVqBLssziY2ZcgxxufuP+NXdYR6Ee9GTxj005i7qIcyunL2POI9n9cd 2cNgQ4xYDiKWL2KjLB+6rQXvqzJ4h6BUcxm1XAX5Uj5tLUUL9wqT6u0G+bI= -----END CERTIFICATE----- + + +Common Name: Entrust.net Certification Authority (2048) +Organization: Entrust.net +Valid From: December 24, 1999 +Valid To: July 24, 2029 +Issuer: Entrust.net Certification Authority (2048), Entrust.net +Serial Number: 946069240 (0x3863def8) +Thumbprint (SHA-1): β€Ž50 30 06 09 1d 97 d4 f5 ae 39 f7 cb e7 92 7d 7d 65 2d 34 31 -----BEGIN CERTIFICATE----- -MIIDSTCCArKgAwIBAgIQfmO9EP9/fYY45sRzhqgfGzANBgkqhkiG9w0BAQUFADBM -MQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkg -THRkLjEWMBQGA1UEAxMNVGhhd3RlIFNHQyBDQTAeFw0wOTA0MDkwMDAwMDBaFw0x -MTA0MTEyMzU5NTlaMIGPMQswCQYDVQQGEwJVUzENMAsGA1UECBMEVXRhaDEWMBQG -A1UEBxMNQW1lcmljYW4gRm9yazEcMBoGA1UEChMTQXV0aG9yaXplLk5ldCBDb3Jw -LjEcMBoGA1UECxMTQVVUSE9SSVpFLk5FVCBDT1JQLjEdMBsGA1UEAxMUc2VjdXJl -LmF1dGhvcml6ZS5uZXQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAN0dh86L -70MHbun7wTNGV0pNXsnebt3z9mCpndLUiBp5J/b57hQO5/HvevkhkDyCrky/Dn7y -4SEJh6RHYuP4ZBk30DS8iH5dWCRHqSQgpMKhUl/+D7KHbVqgPzOpOR44TiSa1P5m -Fv0qicvRR3iwSK/6ESywNvEJk1iiYPnpnnlvAgMBAAGjgecwgeQwDAYDVR0TAQH/ -BAIwADA2BgNVHR8EL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VzdC5uZXQwMwYD -VR0fBCwwKjAooCagJIYiaHR0cDovL2NybC5lbnRydXN0Lm5ldC9sZXZlbDFl -LmNybDBBBgNVHSAEOjA4MDYGCmCGSAGG+mwKAQIwKDAmBggrBgEFBQcCARYa -aHR0cDovL3d3dy5lbnRydXN0Lm5ldC9ycGEwHwYDVR0RBBgwFoIUc2VjdXJl -LmF1dGhvcml6ZS5uZXQwHwYDVR0jBBgwFoAUW0GKssRDwb2/yFRBVZ3glq3/ -uaEwHQYDVR0OBBYEFGZazQ8qcWqAiT+oFpV/D7WTbcGlMAkGA1UdEwQCMAAw -DQYJKoZIhvcNAQEFBQADggEBAEG1lvV2JQXDXRmEXkDp5qpF6uj1eNfffViE -QR6XCLPWIuaEcgnieTfFzRPEYbxzUY9jCqM62U37hUTDdMKjZas7fwaZ8RjE -wQASNPrIsHFsXEb0Nbz58g3cY00teCH3qQ9N9uW3TC+OXiSz9aSBxYkHD/63 -2D1rzaZLVHXUoReMMbjwf69zLDN7qsy6VDksHMVjqQugZF0ZCLFPPH5jfdAx -sOtocx7eyUovzO387ve8UMTdw6Anr9Ai7iVaYf4MpMqcuaHVet3QeE97Koy1 -mT3q9FmUGbXM+nCqSs/TQ4jSqOo4zqDnkK/cOgbzjsuJJZ/rCPSxaKvz3b/n -wMWH7kM= ------END CERTIFICATE----- \ No newline at end of file From 04e1615030889d18917e9a7978b4b7ec46c97de5 Mon Sep 17 00:00:00 2001 From: brianmc Date: Thu, 7 May 2015 22:28:54 -0700 Subject: [PATCH 4/5] Updated expiry dates --- tests/AuthorizeNetAIM_Test.php | 52 +++++++++++++++++----------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/tests/AuthorizeNetAIM_Test.php b/tests/AuthorizeNetAIM_Test.php index 15577e17..85799a98 100644 --- a/tests/AuthorizeNetAIM_Test.php +++ b/tests/AuthorizeNetAIM_Test.php @@ -10,7 +10,7 @@ public function testAuthCapture() array( 'amount' => rand(1, 1000), 'card_num' => '4111111111111111', - 'exp_date' => '0415' + 'exp_date' => '0422' ) ); $response = $sale->authorizeAndCapture(); @@ -24,7 +24,7 @@ public function testAuthCaptureSingleDigitMonth() array( 'amount' => rand(1, 1000), 'card_num' => '4111111111111111', - 'exp_date' => '415' + 'exp_date' => '422' ) ); $response = $sale->authorizeAndCapture(); @@ -38,7 +38,7 @@ public function testAuthCaptureSingleDigitMonthWithSlash() array( 'amount' => rand(1, 1000), 'card_num' => '4111111111111111', - 'exp_date' => '4/15' + 'exp_date' => '4/22' ) ); $response = $sale->authorizeAndCapture(); @@ -52,7 +52,7 @@ public function testAuthCaptureTwoDigitMonthWithSlash() array( 'amount' => rand(1, 1000), 'card_num' => '4111111111111111', - 'exp_date' => '04/15' + 'exp_date' => '04/22' ) ); $response = $sale->authorizeAndCapture(); @@ -64,7 +64,7 @@ public function testAuthCaptureAlternate() $sale = new AuthorizeNetAIM; $sale->amount = rand(1, 10000); $sale->card_num = '6011000000000012'; - $sale->exp_date = '04/15'; + $sale->exp_date = '04/22'; $response = $sale->authorizeAndCapture(); $this->assertTrue($response->approved); } @@ -72,7 +72,7 @@ public function testAuthCaptureAlternate() public function testAuthCaptureShort() { $sale = new AuthorizeNetAIM; - $response = $sale->authorizeAndCapture(rand(1, 100), '6011000000000012', '04/16'); + $response = $sale->authorizeAndCapture(rand(1, 100), '6011000000000012', '04/22'); $this->assertTrue($response->approved); } @@ -85,7 +85,7 @@ public function testAuthCapturePartial() $sale->amount = $amount; $sale->card_num = '4222222222222'; $sale->zip = "46225"; - $sale->exp_date = '04/15'; + $sale->exp_date = '04/22'; $sale->allow_partial_auth = true; $response = $sale->authorizeAndCapture(); $this->assertTrue($response->held); @@ -97,7 +97,7 @@ public function testAuthCapturePartial() $sale = new AuthorizeNetAIM; $sale->amount = $amount - $response->amount; $sale->card_num = '6011000000000012'; - $sale->exp_date = '04/20'; + $sale->exp_date = '04/22'; $sale->split_tender_id = $split_tender_id; $sale->allow_partial_auth = true; $response = $sale->authorizeAndCapture(); @@ -180,7 +180,7 @@ public function testAimResponseFields() $sale = new AuthorizeNetAIM; $sale->card_num = '4111111111111111'; - $sale->exp_date = '04/16'; + $sale->exp_date = '04/22'; $sale->amount = $amount = rand(1,99); $sale->description = $description = "Sale description"; $sale->first_name = $first_name = "Jane"; @@ -274,7 +274,7 @@ public function testVoid() array( 'amount' => $amount, 'card_num' => '6011000000000012', - 'exp_date' => '0415' + 'exp_date' => '0422' ) ); $response = $sale->authorizeAndCapture(); @@ -297,7 +297,7 @@ public function testVoidShort() // First create transaction to void. $amount = rand(1, 1000); $card_num = '6011000000000012'; - $exp_date = '0415'; + $exp_date = '0422'; $sale = new AuthorizeNetAIM; $response = $sale->authorizeAndCapture($amount, $card_num, $exp_date); $this->assertTrue($response->approved); @@ -332,21 +332,21 @@ public function testAuthCaptureECheckSandbox() public function testAmex() { $sale = new AuthorizeNetAIM; - $response = $sale->authorizeAndCapture(rand(1, 100), '370000000000002', '04/16'); + $response = $sale->authorizeAndCapture(rand(1, 100), '370000000000002', '04/22'); $this->assertTrue($response->approved); } public function testDiscover() { $sale = new AuthorizeNetAIM; - $response = $sale->authorizeAndCapture(rand(1, 100), '6011000000000012', '04/16'); + $response = $sale->authorizeAndCapture(rand(1, 100), '6011000000000012', '04/22'); $this->assertTrue($response->approved); } public function testVisa() { $sale = new AuthorizeNetAIM; - $response = $sale->authorizeAndCapture(rand(1, 100), '4012888818888', '04/16'); + $response = $sale->authorizeAndCapture(rand(1, 100), '4012888818888', '04/22'); $this->assertTrue($response->approved); } @@ -373,7 +373,7 @@ public function testAuthOnly() array( 'amount' => rand(1, 1000), 'card_num' => '6011000000000012', - 'exp_date' => '0415' + 'exp_date' => '0422' ) ); $response = $auth->authorizeOnly(); @@ -388,7 +388,7 @@ public function testAuthCaptureVoid() array( 'amount' => $amount, 'card_num' => '6011000000000012', - 'exp_date' => '0415' + 'exp_date' => '0422' ) ); $auth_response = $auth->authorizeOnly(); @@ -400,7 +400,7 @@ public function testAuthCaptureVoid() array( 'amount' => $amount, 'card_num' => '6011000000000012', - 'exp_date' => '0415', + 'exp_date' => '0422', 'trans_id' => $auth_response->transaction_id, ) ); @@ -485,7 +485,7 @@ public function testAuthCaptureCustomFields() array( 'amount' => rand(1, 1000), 'card_num' => '6011000000000012', - 'exp_date' => '0415' + 'exp_date' => '0422' ) ); $sale->setCustomField("foo", "bar"); @@ -510,7 +510,7 @@ public function testEncapCharacter() array( 'amount' => $amount, 'card_num' => '6011000000000012', - 'exp_date' => '0415', + 'exp_date' => '0422', 'encap_char' => '$', 'description' => $description, ) @@ -528,7 +528,7 @@ public function testAuthCaptureSetMultipleCustomFields() array( 'amount' => rand(1, 1000), 'card_num' => '6011000000000012', - 'exp_date' => '0415' + 'exp_date' => '0422' ) ); $sale->setCustomFields(array("foo" => "bar", "foo2" => "bar2")); @@ -554,7 +554,7 @@ public function testInvalidCreditCard() array( 'amount' => rand(1, 1000), 'card_num' => '123', - 'exp_date' => '0415' + 'exp_date' => '0422' ) ); $response = $sale->authorizeAndCapture(); @@ -731,7 +731,7 @@ public function testResponseMethods() array( 'amount' => $amount, 'card_num' => '6011000000000012', - 'exp_date' => '0415', + 'exp_date' => '0422', 'zip' => $zipcode, ) ); @@ -760,7 +760,7 @@ public function testSetBadField() array( 'amount' => $amount, 'card_num' => '6011000000000012', - 'exp_date' => '0415', + 'exp_date' => '0422', 'zipcode' => $zipcode, // Should actually be just "zip" ) ); @@ -840,7 +840,7 @@ public function testAuthCaptureLiveServerTestRequest() array( 'amount' => rand(1, 1000), 'card_num' => '6011000000000012', - 'exp_date' => '0415' + 'exp_date' => '0422' ) ); $sale->setField('test_request', 'TRUE'); @@ -859,7 +859,7 @@ public function testAuthCaptureLiveServer() array( 'amount' => rand(1, 1000), 'card_num' => '6011000000000012', - 'exp_date' => '0415' + 'exp_date' => '0422' ) ); $response = $sale->authorizeAndCapture(); @@ -877,7 +877,7 @@ public function testInvalidCredentials() array( 'amount' => rand(1, 1000), 'card_num' => '6011000000000012', - 'exp_date' => '0415' + 'exp_date' => '0422' ) ); $response = $sale->authorizeAndCapture(); From 9e29290fc99c7436618e03f608b7e62f7de88b5c Mon Sep 17 00:00:00 2001 From: brianmc Date: Thu, 7 May 2015 22:29:03 -0700 Subject: [PATCH 5/5] Updated expiry dates --- tests/AuthorizeNetCP_Test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/AuthorizeNetCP_Test.php b/tests/AuthorizeNetCP_Test.php index d78b20fe..0b035ffb 100644 --- a/tests/AuthorizeNetCP_Test.php +++ b/tests/AuthorizeNetCP_Test.php @@ -9,7 +9,7 @@ public function testAuthOnly() array( 'amount' => rand(1, 1000), 'card_num' => '4111111111111111', - 'exp_date' => '0415', + 'exp_date' => '0422', 'duplicate_window' => '5', 'device_type' => '4', ) @@ -25,7 +25,7 @@ public function testAuthCapture() array( 'amount' => rand(1, 1000), 'card_num' => '4111111111111111', - 'exp_date' => '0415', + 'exp_date' => '0422', 'device_type' => '4', ) );