Skip to content

Commit f893e2e

Browse files
committed
Removed define("AUTHORIZENET_LOG_FILE"..
It is already set in sdk-php.
1 parent 0627d2e commit f893e2e

51 files changed

Lines changed: 1 addition & 62 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ApplePayTransactions/create-an-apple-pay-transaction.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
use net\authorize\api\contract\v1 as AnetAPI;
55
use net\authorize\api\controller as AnetController;
66

7-
define("AUTHORIZENET_LOG_FILE", "phplog");
8-
97
function createAnApplePayTransaction(){
108
$merchantAuthentication = new AnetAPI\MerchantAuthenticationType();
119
$merchantAuthentication->setName("5KP3u95bQpv");

CustomerProfiles/create-customer-payment-profile.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
require 'vendor/autoload.php';
33
use net\authorize\api\contract\v1 as AnetAPI;
44
use net\authorize\api\controller as AnetController;
5-
define("AUTHORIZENET_LOG_FILE", "phplog");
65

76
function createCustomerPaymentProfile($existingcustomerprofileid, $phoneNumber){
87
// Common setup for API credentials

CustomerProfiles/create-customer-profile-from-transaction.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
require 'vendor/autoload.php';
33
use net\authorize\api\contract\v1 as AnetAPI;
44
use net\authorize\api\controller as AnetController;
5-
define("AUTHORIZENET_LOG_FILE", "phplog");
65

76
function createCustomerProfileFromTransaction($transId="2238251168")
87
{

CustomerProfiles/create-customer-profile.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
require 'vendor/autoload.php';
33
use net\authorize\api\contract\v1 as AnetAPI;
44
use net\authorize\api\controller as AnetController;
5-
define("AUTHORIZENET_LOG_FILE", "phplog");
65

76
function createCustomerProfile($email){
87

CustomerProfiles/create-customer-shipping-address.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
require 'vendor/autoload.php';
33
use net\authorize\api\contract\v1 as AnetAPI;
44
use net\authorize\api\controller as AnetController;
5-
define("AUTHORIZENET_LOG_FILE", "phplog");
65
function createCustomerShippingAddress($existingcustomerprofileid = "36152127", $phoneNumber="000-000-0000")
76
{
87
// Common setup for API credentials

CustomerProfiles/delete-customer-payment-profile.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
require 'vendor/autoload.php';
33
use net\authorize\api\contract\v1 as AnetAPI;
44
use net\authorize\api\controller as AnetController;
5-
define("AUTHORIZENET_LOG_FILE", "phplog");
65

76
function deleteCustomerPaymentProfile($customerProfileId="36152127", $customerpaymentprofileid = "32689274")
87
{

CustomerProfiles/delete-customer-profile.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
require 'vendor/autoload.php';
33
use net\authorize\api\contract\v1 as AnetAPI;
44
use net\authorize\api\controller as AnetController;
5-
define("AUTHORIZENET_LOG_FILE", "phplog");
65

76
function deleteCustomerProfile($customerProfileId)
87
{

CustomerProfiles/delete-customer-shipping-address.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
require 'vendor/autoload.php';
33
use net\authorize\api\contract\v1 as AnetAPI;
44
use net\authorize\api\controller as AnetController;
5-
define("AUTHORIZENET_LOG_FILE", "phplog");
65

76
function deleteCustomerShippingAddress($customerprofileid = "36152127", $customeraddressid = "36976434")
87
{

CustomerProfiles/get-customer-payment-profile-list.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11

22
<?php
3-
43
require 'vendor/autoload.php';
54

65
use net\authorize\api\contract\v1 as AnetAPI;
76
use net\authorize\api\controller as AnetController;
87

9-
define("AUTHORIZENET_LOG_FILE", "phplog");
10-
118
function getCustomerPaymentProfileList()
129
{
1310
// Common setup for API credentials (merchant)

CustomerProfiles/get-customer-payment-profile.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
use net\authorize\api\contract\v1 as AnetAPI;
77
use net\authorize\api\controller as AnetController;
88

9-
define("AUTHORIZENET_LOG_FILE", "phplog");
10-
119
function getCustomerPaymentProfile($customerProfileId="36731856", $customerPaymentProfileId="33211899")
1210
{
1311
// Common setup for API credentials (merchant)

0 commit comments

Comments
 (0)