repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
yiisoft/db
https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Common/CommonColumnFactoryTest.php
tests/Common/CommonColumnFactoryTest.php
<?php declare(strict_types=1); namespace Yiisoft\Db\Tests\Common; use PHPUnit\Framework\Attributes\DataProviderExternal; use Yiisoft\Db\Constant\ColumnType; use Yiisoft\Db\Schema\Column\AbstractArrayColumn; use Yiisoft\Db\Schema\Column\ArrayLazyColumn; use Yiisoft\Db\Schema\Column\ColumnInterface; use Yiisoft\Db\Sch...
php
BSD-3-Clause
25c86c3c4077e2705ede19f55e7b7050eeda6b41
2026-01-05T03:01:31.998427Z
false
yiisoft/db
https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Common/CommonSchemaTest.php
tests/Common/CommonSchemaTest.php
<?php declare(strict_types=1); namespace Yiisoft\Db\Tests\Common; use PDO; use PHPUnit\Framework\Attributes\DataProviderExternal; use PHPUnit\Framework\Attributes\Depends; use Throwable; use Yiisoft\Db\Connection\ConnectionInterface; use Yiisoft\Db\Constant\ColumnType; use Yiisoft\Db\Constant\DataType; use Yiisoft\D...
php
BSD-3-Clause
25c86c3c4077e2705ede19f55e7b7050eeda6b41
2026-01-05T03:01:31.998427Z
false
yiisoft/db
https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Common/CommonBatchQueryResultTest.php
tests/Common/CommonBatchQueryResultTest.php
<?php declare(strict_types=1); namespace Yiisoft\Db\Tests\Common; use Yiisoft\Db\Query\BatchQueryResult; use Yiisoft\Db\Query\BatchQueryResultInterface; use Yiisoft\Db\Query\Query; use Yiisoft\Db\Tests\Support\IntegrationTestCase; use function iterator_to_array; abstract class CommonBatchQueryResultTest extends In...
php
BSD-3-Clause
25c86c3c4077e2705ede19f55e7b7050eeda6b41
2026-01-05T03:01:31.998427Z
false
yiisoft/db
https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Common/CommonColumnTest.php
tests/Common/CommonColumnTest.php
<?php declare(strict_types=1); namespace Yiisoft\Db\Tests\Common; use DateTime; use DateTimeImmutable; use DateTimeZone; use InvalidArgumentException; use PHPUnit\Framework\Attributes\DataProviderExternal; use Yiisoft\Db\Connection\ConnectionInterface; use Yiisoft\Db\Expression\Expression; use Yiisoft\Db\Schema\Colu...
php
BSD-3-Clause
25c86c3c4077e2705ede19f55e7b7050eeda6b41
2026-01-05T03:01:31.998427Z
false
yiisoft/db
https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Common/CommonPdoCommandTest.php
tests/Common/CommonPdoCommandTest.php
<?php declare(strict_types=1); namespace Yiisoft\Db\Tests\Common; use PDO; use PHPUnit\Framework\Attributes\DataProviderExternal; use Psr\Log\LoggerInterface; use Psr\Log\LogLevel; use Yiisoft\Db\Expression\Value\Param; use Yiisoft\Db\Driver\Pdo\AbstractPdoCommand; use InvalidArgumentException; use Yiisoft\Db\QueryB...
php
BSD-3-Clause
25c86c3c4077e2705ede19f55e7b7050eeda6b41
2026-01-05T03:01:31.998427Z
false
yiisoft/db
https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Common/CommonColumnDefinitionParserTest.php
tests/Common/CommonColumnDefinitionParserTest.php
<?php declare(strict_types=1); namespace Yiisoft\Db\Tests\Common; use PHPUnit\Framework\Attributes\DataProviderExternal; use PHPUnit\Framework\TestCase; use Yiisoft\Db\Syntax\ColumnDefinitionParser; use Yiisoft\Db\Tests\Provider\ColumnDefinitionParserProvider; abstract class CommonColumnDefinitionParserTest extends...
php
BSD-3-Clause
25c86c3c4077e2705ede19f55e7b7050eeda6b41
2026-01-05T03:01:31.998427Z
false
yiisoft/db
https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Provider/CommandPdoProvider.php
tests/Provider/CommandPdoProvider.php
<?php declare(strict_types=1); namespace Yiisoft\Db\Tests\Provider; use Yiisoft\Db\Constant\DataType; class CommandPdoProvider { public static function bindParam(): array { return [ [ 'id', ':id', 1, DataType::STRING, ...
php
BSD-3-Clause
25c86c3c4077e2705ede19f55e7b7050eeda6b41
2026-01-05T03:01:31.998427Z
false
yiisoft/db
https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Provider/SchemaProvider.php
tests/Provider/SchemaProvider.php
<?php declare(strict_types=1); namespace Yiisoft\Db\Tests\Provider; use PDO; use Yiisoft\Db\Constant\IndexType; use Yiisoft\Db\Constant\ReferentialAction; use Yiisoft\Db\Constraint\Check; use Yiisoft\Db\Constraint\ForeignKey; use Yiisoft\Db\Constraint\Index; use Yiisoft\Db\Schema\SchemaInterface; class SchemaProvid...
php
BSD-3-Clause
25c86c3c4077e2705ede19f55e7b7050eeda6b41
2026-01-05T03:01:31.998427Z
false
yiisoft/db
https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Provider/ColumnBuilderProvider.php
tests/Provider/ColumnBuilderProvider.php
<?php declare(strict_types=1); namespace Yiisoft\Db\Tests\Provider; use Yiisoft\Db\Constant\ColumnType; use Yiisoft\Db\Schema\Column\ArrayColumn; use Yiisoft\Db\Schema\Column\BinaryColumn; use Yiisoft\Db\Schema\Column\BitColumn; use Yiisoft\Db\Schema\Column\BooleanColumn; use Yiisoft\Db\Schema\Column\ColumnBuilder; ...
php
BSD-3-Clause
25c86c3c4077e2705ede19f55e7b7050eeda6b41
2026-01-05T03:01:31.998427Z
false
yiisoft/db
https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Provider/CommandProvider.php
tests/Provider/CommandProvider.php
<?php declare(strict_types=1); namespace Yiisoft\Db\Tests\Provider; use ArrayIterator; use IteratorAggregate; use Traversable; use Yiisoft\Db\Connection\ConnectionInterface; use Yiisoft\Db\Constant\DataType; use Yiisoft\Db\Expression\Value\Param; use Yiisoft\Db\Constant\ColumnType; use Yiisoft\Db\Constant\IndexType;...
php
BSD-3-Clause
25c86c3c4077e2705ede19f55e7b7050eeda6b41
2026-01-05T03:01:31.998427Z
false
yiisoft/db
https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Provider/ColumnDefinitionParserProvider.php
tests/Provider/ColumnDefinitionParserProvider.php
<?php declare(strict_types=1); namespace Yiisoft\Db\Tests\Provider; class ColumnDefinitionParserProvider { public static function parse(): array { return [ ['', ['type' => '']], ['int', ['type' => 'int']], ['int(10)', ['type' => 'int', 'size' => 10]], [...
php
BSD-3-Clause
25c86c3c4077e2705ede19f55e7b7050eeda6b41
2026-01-05T03:01:31.998427Z
false
yiisoft/db
https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Provider/DbArrayHelperProvider.php
tests/Provider/DbArrayHelperProvider.php
<?php declare(strict_types=1); namespace Yiisoft\Db\Tests\Provider; use ArrayIterator; use Yiisoft\Db\Schema\Data\JsonLazyArray; use function is_object; class DbArrayHelperProvider { public static function index(): array { return [ [ [], ], [ ...
php
BSD-3-Clause
25c86c3c4077e2705ede19f55e7b7050eeda6b41
2026-01-05T03:01:31.998427Z
false
yiisoft/db
https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Provider/ColumnProvider.php
tests/Provider/ColumnProvider.php
<?php declare(strict_types=1); namespace Yiisoft\Db\Tests\Provider; use ArrayIterator; use DateTime; use DateTimeImmutable; use DateTimeZone; use PDO; use stdClass; use Yiisoft\Db\Expression\Value\Param; use Yiisoft\Db\Constant\ColumnType; use Yiisoft\Db\Constraint\ForeignKey; use Yiisoft\Db\Expression\Value\ArrayVa...
php
BSD-3-Clause
25c86c3c4077e2705ede19f55e7b7050eeda6b41
2026-01-05T03:01:31.998427Z
true
yiisoft/db
https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Provider/QuoterProvider.php
tests/Provider/QuoterProvider.php
<?php declare(strict_types=1); namespace Yiisoft\Db\Tests\Provider; use Yiisoft\Db\Expression\Expression; class QuoterProvider { /** * @return string[][] */ public static function columnNames(): array { return [ ['*', '*'], ['(*)', '(*)'], ['[[*]]', ...
php
BSD-3-Clause
25c86c3c4077e2705ede19f55e7b7050eeda6b41
2026-01-05T03:01:31.998427Z
false
yiisoft/db
https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Provider/QueryBuilderProvider.php
tests/Provider/QueryBuilderProvider.php
<?php declare(strict_types=1); namespace Yiisoft\Db\Tests\Provider; use ArrayIterator; use DateTimeImmutable; use DateTimeZone; use Yiisoft\Db\Connection\ConnectionInterface; use Yiisoft\Db\Constant\DataType; use Yiisoft\Db\Expression\Statement\WhenThen; use Yiisoft\Db\Expression\Value\ArrayValue; use Yiisoft\Db\Exp...
php
BSD-3-Clause
25c86c3c4077e2705ede19f55e7b7050eeda6b41
2026-01-05T03:01:31.998427Z
true
yiisoft/db
https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Provider/ColumnFactoryProvider.php
tests/Provider/ColumnFactoryProvider.php
<?php declare(strict_types=1); namespace Yiisoft\Db\Tests\Provider; use Yiisoft\Db\Constant\ColumnType; use Yiisoft\Db\Constant\PseudoType; use Yiisoft\Db\Expression\Expression; use Yiisoft\Db\Schema\Column\ArrayColumn; use Yiisoft\Db\Schema\Column\BigIntColumn; use Yiisoft\Db\Schema\Column\BinaryColumn; use Yiisoft...
php
BSD-3-Clause
25c86c3c4077e2705ede19f55e7b7050eeda6b41
2026-01-05T03:01:31.998427Z
false
yiisoft/db
https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Provider/QueryProvider.php
tests/Provider/QueryProvider.php
<?php declare(strict_types=1); namespace Yiisoft\Db\Tests\Provider; use Yiisoft\Db\Expression\Expression; use Yiisoft\Db\QueryBuilder\Condition\LikeConjunction; class QueryProvider { public static function filterConditionData(): array { return [ /* like */ [['like', 'name', [...
php
BSD-3-Clause
25c86c3c4077e2705ede19f55e7b7050eeda6b41
2026-01-05T03:01:31.998427Z
false
yiisoft/db
https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Provider/SqlParserProvider.php
tests/Provider/SqlParserProvider.php
<?php declare(strict_types=1); namespace Yiisoft\Db\Tests\Provider; class SqlParserProvider { public static function getNextPlaceholder(): array { return [ [ 'SELECT * FROM {{customer}}', null, null, ], [ ...
php
BSD-3-Clause
25c86c3c4077e2705ede19f55e7b7050eeda6b41
2026-01-05T03:01:31.998427Z
false
yiisoft/db
https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/config/params.php
config/params.php
<?php declare(strict_types=1); use Yiisoft\Db\Connection\ConnectionInterface; use Yiisoft\Db\Debug\ConnectionInterfaceProxy; use Yiisoft\Db\Debug\DatabaseCollector; return [ 'yiisoft/db' => [ 'schema-cache' => [ 'enabled' => true, ], ], 'yiisoft/yii-debug' => [ 'collec...
php
BSD-3-Clause
25c86c3c4077e2705ede19f55e7b7050eeda6b41
2026-01-05T03:01:31.998427Z
false
yiisoft/db
https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/config/di.php
config/di.php
<?php declare(strict_types=1); use Yiisoft\Db\Cache\SchemaCache; /** * @psalm-var array{ * yiisoft/db: array{ * schema-cache: array{ * enabled?: bool * } * } * } $params */ return [ SchemaCache::class => [ 'class' => SchemaCache::class, 'setEnabled()' ...
php
BSD-3-Clause
25c86c3c4077e2705ede19f55e7b7050eeda6b41
2026-01-05T03:01:31.998427Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/TestRunner.php
TestRunner.php
<?php define("DONT_RUN_SAMPLES", "true"); define("SAMPLE_CODE_NAME_HEADING", "SampleCodeName"); require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; if ($_SERVER['argc'] != 3) { die('\n Usage: phpunit test-runner.php <SampleCodeDirectoryPath>'); } $dirPath = $_SERVER['argv'][2]; echo $d...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/VisaCheckout/create-visa-src-transaction.php
VisaCheckout/create-visa-src-transaction.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function createVisaSrcTransaction() { /* Create a merchantAuthenticationType...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/VisaCheckout/decrypt-visa-src-data.php
VisaCheckout/decrypt-visa-src-data.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function decryptVisaSrcData() { /* Create a merchantAuthenticationType objec...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/PayPalExpressCheckout/get-details.php
PayPalExpressCheckout/get-details.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function payPalGetDetails($transactionId) { echo "PayPal Get Details Transa...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/PayPalExpressCheckout/authorization-and-capture.php
PayPalExpressCheckout/authorization-and-capture.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function payPalAuthorizeCapture($amount) { /* Create a merchantAuthenticatio...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/PayPalExpressCheckout/authorization-and-capture-continued.php
PayPalExpressCheckout/authorization-and-capture-continued.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function payPalAuthorizeCaptureContinued($refTransId, $payerID) { ...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/PayPalExpressCheckout/void.php
PayPalExpressCheckout/void.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function payPalVoid($transactionId) { /* Create a merchantAuthenticationType...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/PayPalExpressCheckout/credit.php
PayPalExpressCheckout/credit.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function payPalCredit($transactionId) { /* Create a merchantAuthenticationType object ...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/PayPalExpressCheckout/authorization-only-continued.php
PayPalExpressCheckout/authorization-only-continued.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function payPalAuthorizeOnlyContinued($transactionId, $payerId) { ...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/PayPalExpressCheckout/prior-authorization-capture.php
PayPalExpressCheckout/prior-authorization-capture.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function payPalPriorAuthorizationCapture($transactionId) { /* Create a merch...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/PayPalExpressCheckout/authorization-only.php
PayPalExpressCheckout/authorization-only.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function payPalAuthorizeOnly($amount) { /* Create a merchantAuthenticationType object ...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/FraudManagement/approve-or-decline-held-transaction.php
FraudManagement/approve-or-decline-held-transaction.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function approveOrDeclineHeldTransaction() { /* Create a merchantAuthenticat...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/FraudManagement/get-held-transaction-list.php
FraudManagement/get-held-transaction-list.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function getHeldTransactionList() { /* Create a merchantAuthenticationTyp...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/CustomerProfiles/create-customer-profile.php
CustomerProfiles/create-customer-profile.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function createCustomerProfile($email) { /* Create a merchantAuthenticationT...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/CustomerProfiles/update-customer-profile.php
CustomerProfiles/update-customer-profile.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function updateCustomerProfile() { /* Create a merchantAuthenticationType ...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/CustomerProfiles/get-customer-payment-profile.php
CustomerProfiles/get-customer-payment-profile.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function getCustomerPaymentProfile($customerProfileId="1929905607", $customerPayme...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/CustomerProfiles/get-customer-profile.php
CustomerProfiles/get-customer-profile.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function getCustomerProfile() { /* Create a merchantAuthenticationType o...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/CustomerProfiles/delete-customer-payment-profile.php
CustomerProfiles/delete-customer-payment-profile.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function deleteCustomerPaymentProfile($customerProfileId= "1929905607", ...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/CustomerProfiles/get-customer-payment-profile-list.php
CustomerProfiles/get-customer-payment-profile-list.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function getCustomerPaymentProfileList() { /* Create a merchantAuthenticationType o...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/CustomerProfiles/create-customer-shipping-address.php
CustomerProfiles/create-customer-shipping-address.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function createCustomerShippingAddress($existingcustomerprofileid = "1929905...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/CustomerProfiles/create-customer-profile-with-accept-nonce.php
CustomerProfiles/create-customer-profile-with-accept-nonce.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function createCustomerProfileWithAcceptNonce($email) { /* Create a merchant...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/CustomerProfiles/update-customer-shipping-address.php
CustomerProfiles/update-customer-shipping-address.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function updateCustomerShippingAddress($customerprofileid, $customeraddressi...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/CustomerProfiles/validate-customer-payment-profile.php
CustomerProfiles/validate-customer-payment-profile.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function validateCustomerPaymentProfile($customerProfileId= "1929905607", ...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/CustomerProfiles/delete-customer-shipping-address.php
CustomerProfiles/delete-customer-shipping-address.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function deleteCustomerShippingAddress($customerprofileid = "1929905607", $c...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/CustomerProfiles/delete-customer-profile.php
CustomerProfiles/delete-customer-profile.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function deleteCustomerProfile($customerProfileId) { /* Create a merchantA...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/CustomerProfiles/create-customer-payment-profile.php
CustomerProfiles/create-customer-payment-profile.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function createCustomerPaymentProfile($existingcustomerprofileid, $phoneNumber...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/CustomerProfiles/create-customer-profile-from-transaction.php
CustomerProfiles/create-customer-profile-from-transaction.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function createCustomerProfileFromTransaction($transId= "2249066517") { ...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/CustomerProfiles/get-customer-profile-ids.php
CustomerProfiles/get-customer-profile-ids.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function getCustomerProfileIds() { /* Create a merchantAuthenticationTyp...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/CustomerProfiles/get-customer-shipping-address.php
CustomerProfiles/get-customer-shipping-address.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function getCustomerShippingAddress($customerprofileid, $customeraddressid) ...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/CustomerProfiles/update-customer-payment-profile.php
CustomerProfiles/update-customer-payment-profile.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function updateCustomerPaymentProfile($customerProfileId = "1916322670", ...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/AcceptSuite/get-accept-customer-profile-page.php
AcceptSuite/get-accept-customer-profile-page.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function getAcceptCustomerProfilePage($customerprofileid = "123212") { /* ...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/AcceptSuite/create-an-accept-payment-transaction.php
AcceptSuite/create-an-accept-payment-transaction.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function createAnAcceptPaymentTransaction($amount) { /* Create a merchantAut...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/AcceptSuite/get-an-accept-payment-page.php
AcceptSuite/get-an-accept-payment-page.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function getAnAcceptPaymentPage() { /* Create a merchantAuthenticationType...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/RecurringBilling/update-subscription.php
RecurringBilling/update-subscription.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function updateSubscription($subscriptionId) { /* Create a merchantAuthent...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/RecurringBilling/get-subscription.php
RecurringBilling/get-subscription.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function getSubscription($subscriptionId) { /* Create a merchantAuthen...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/RecurringBilling/get-list-of-subscriptions.php
RecurringBilling/get-list-of-subscriptions.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function getListOfSubscriptions() { /* Create a merchantAuthenticationType...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/RecurringBilling/create-subscription-from-customer-profile.php
RecurringBilling/create-subscription-from-customer-profile.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; date_default_timezone_set('America/Los_Angeles'); define("AUTHORIZENET_LOG_FILE", "phplog"); function createSubscriptio...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/RecurringBilling/get-subscription-status.php
RecurringBilling/get-subscription-status.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function getSubscriptionStatus($subscriptionId) { /* Create a merchantAuth...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/RecurringBilling/cancel-subscription.php
RecurringBilling/cancel-subscription.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function cancelSubscription($subscriptionId) { /* Create a merchantAuthent...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/RecurringBilling/create-subscription.php
RecurringBilling/create-subscription.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; date_default_timezone_set('America/Los_Angeles'); define("AUTHORIZENET_LOG_FILE", "phplog"); function createSubscriptio...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/TransactionReporting/get-unsettled-transaction-list.php
TransactionReporting/get-unsettled-transaction-list.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function getUnsettledTransactionList() { /* Create a merchantAuthenticatio...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/TransactionReporting/get-merchant-details.php
TransactionReporting/get-merchant-details.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function getMerchantDetails() { /* Create a merchantAuthenticationType obj...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/TransactionReporting/get-customer-profile-transaction-list.php
TransactionReporting/get-customer-profile-transaction-list.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function getTransactionListForCustomerRequest($customerProfileId) { /* Cre...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/TransactionReporting/get-account-updater-job-details.php
TransactionReporting/get-account-updater-job-details.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function getAccountUpdaterJobDetails() { /* Create a merchantAuthent...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/TransactionReporting/get-settled-batch-list.php
TransactionReporting/get-settled-batch-list.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function getSettledBatchList($firstSettlementDate, $lastSettlementDate) { ...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/TransactionReporting/get-account-updater-job-summary.php
TransactionReporting/get-account-updater-job-summary.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function getAccountUpdaterJobSummary() { /* Create a merchantAuthentic...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/TransactionReporting/get-transaction-list.php
TransactionReporting/get-transaction-list.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function getTransactionList() { /* Create a merchantAuthenticationType obj...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/TransactionReporting/get-batch-statistics.php
TransactionReporting/get-batch-statistics.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function getBatchStatistics($batchId = "7927817") //only shows results for bat...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/TransactionReporting/get-transaction-details.php
TransactionReporting/get-transaction-details.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function getTransactionDetails($transactionId) { /* Create a merchantAuthe...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/MobileInAppTransactions/create-an-android-pay-transaction.php
MobileInAppTransactions/create-an-android-pay-transaction.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function createAnAndroidPayTransaction() { /* Create a merchantAuthenticationType obje...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/MobileInAppTransactions/create-an-apple-pay-transaction.php
MobileInAppTransactions/create-an-apple-pay-transaction.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function createAnApplePayTransaction() { /* Create a merchantAuthenticationType object...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/MobileInAppTransactions/create-an-accept-transaction.php
MobileInAppTransactions/create-an-accept-transaction.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function createAnAcceptTransaction($amount) { /* Create a merchantAuthentica...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/MobileInAppTransactions/create-google-pay-transaction.php
MobileInAppTransactions/create-google-pay-transaction.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function createGooglePayTransaction() { $merchantAuthentication = new AnetAPI\Merchant...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/PaymentTransactions/charge-tokenized-credit-card.php
PaymentTransactions/charge-tokenized-credit-card.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function chargeTokenizedCreditCard($amount) { /* Create a merchantAuthentica...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/PaymentTransactions/charge-credit-card.php
PaymentTransactions/charge-credit-card.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function chargeCreditCard($amount) { /* Create a merchantAuthenticationType ...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/PaymentTransactions/create-chase-pay-transaction.php
PaymentTransactions/create-chase-pay-transaction.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function createChasePayTransaction($amount) { /* Create a merchantAuthentica...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/PaymentTransactions/refund-transaction.php
PaymentTransactions/refund-transaction.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function refundTransaction($refTransId, $amount) { /* Create a merchantAuthe...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/PaymentTransactions/capture-previously-authorized-amount.php
PaymentTransactions/capture-previously-authorized-amount.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function capturePreviouslyAuthorizedAmount($transactionid) { /* Create a merchan...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/PaymentTransactions/void-transaction.php
PaymentTransactions/void-transaction.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function voidTransaction($transactionid) { /* Create a merchantAuthenticat...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/PaymentTransactions/capture-funds-authorized-through-another-channel.php
PaymentTransactions/capture-funds-authorized-through-another-channel.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function captureFundsAuthorizedThroughAnotherChannel($amount) { /* Create a merchantAu...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/PaymentTransactions/authorize-credit-card.php
PaymentTransactions/authorize-credit-card.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function authorizeCreditCard($amount) { /* Create a merchantAuthenticationTy...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/PaymentTransactions/update-split-tender-group.php
PaymentTransactions/update-split-tender-group.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function updateSplitTenderGroup() { /* Create a merchantAuthenticationType o...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/PaymentTransactions/credit-bank-account.php
PaymentTransactions/credit-bank-account.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function creditBankAccount($amount) { /* Create a merchantAuthenticationType...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/PaymentTransactions/charge-customer-profile.php
PaymentTransactions/charge-customer-profile.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function chargeCustomerProfile($profileid, $paymentprofileid, $amount) { /* ...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/PaymentTransactions/debit-bank-account.php
PaymentTransactions/debit-bank-account.php
<?php require 'vendor/autoload.php'; require_once 'constants/SampleCodeConstants.php'; use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; define("AUTHORIZENET_LOG_FILE", "phplog"); function debitBankAccount($amount) { /* Create a merchantAuthenticationType...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/constants/SampleCodeConstants.php
constants/SampleCodeConstants.php
<?php class SampleCodeConstants { //merchant credentials const MERCHANT_LOGIN_ID = "5KP3u95bQpv"; const MERCHANT_TRANSACTION_KEY = "346HZ32z3fP4hTG2"; } ?>
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
AuthorizeNet/sample-code-php
https://github.com/AuthorizeNet/sample-code-php/blob/6f14b0f30e301f6de35bba14e7edef9f3a5b191a/Sha512/compute_trans_hashSHA2.php
Sha512/compute_trans_hashSHA2.php
<?php $apiLogin="2Kfn5S7x7D"; $transId="60115585081"; $amount='12.00'; $signatureKey='56E529FE6C63D60E545F84686096E6AA01D5E18A119F18A130F7CFB3983104216979E95D84C91BDD382AA0875264A63940A2D0AA5548F6023B4C78A9D52C18DA'; $textToHash="^". $apiLogin."^". $transId ."^". $amount."^"; function generateSH512($textToHash, $sign...
php
MIT
6f14b0f30e301f6de35bba14e7edef9f3a5b191a
2026-01-05T03:01:49.538664Z
false
geocoder-php/google-maps-provider
https://github.com/geocoder-php/google-maps-provider/blob/fee7f382bf8cf91dd5b21e3916d8721b709caaf6/GoogleMaps.php
GoogleMaps.php
<?php declare(strict_types=1); /* * This file is part of the Geocoder package. * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @license MIT License */ namespace Geocoder\Provider\GoogleMaps; use Geocoder\Collection; use Geocod...
php
MIT
fee7f382bf8cf91dd5b21e3916d8721b709caaf6
2026-01-05T03:01:58.200391Z
false
geocoder-php/google-maps-provider
https://github.com/geocoder-php/google-maps-provider/blob/fee7f382bf8cf91dd5b21e3916d8721b709caaf6/Model/GoogleAddress.php
Model/GoogleAddress.php
<?php declare(strict_types=1); /* * This file is part of the Geocoder package. * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @license MIT License */ namespace Geocoder\Provider\GoogleMaps\Model; use Geocoder\Model\Address; u...
php
MIT
fee7f382bf8cf91dd5b21e3916d8721b709caaf6
2026-01-05T03:01:58.200391Z
false
geocoder-php/google-maps-provider
https://github.com/geocoder-php/google-maps-provider/blob/fee7f382bf8cf91dd5b21e3916d8721b709caaf6/Tests/GoogleMapsTest.php
Tests/GoogleMapsTest.php
<?php declare(strict_types=1); /* * This file is part of the Geocoder package. * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @license MIT License */ namespace Geocoder\Provider\GoogleMaps\Tests; use Geocoder\Exception\Invali...
php
MIT
fee7f382bf8cf91dd5b21e3916d8721b709caaf6
2026-01-05T03:01:58.200391Z
false
geocoder-php/google-maps-provider
https://github.com/geocoder-php/google-maps-provider/blob/fee7f382bf8cf91dd5b21e3916d8721b709caaf6/Tests/IntegrationTest.php
Tests/IntegrationTest.php
<?php declare(strict_types=1); /* * This file is part of the Geocoder package. * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @license MIT License */ namespace Geocoder\Provider\GoogleMaps\Tests; use Geocoder\IntegrationTest\...
php
MIT
fee7f382bf8cf91dd5b21e3916d8721b709caaf6
2026-01-05T03:01:58.200391Z
false
bigfa/wp-oauth
https://github.com/bigfa/wp-oauth/blob/d6bc0c28824f1face677847d5714a3fe2b7506fe/wechat-inner.php
wechat-inner.php
<?php define('WXMP_APPID',''); define('WXMP_APPSECRET',''); define('WXMP_KEY','weixin_uid'); require( dirname(__FILE__) . '/../../../wp-load.php' ); // get access token function get_mp_access_token( $code = null ){ if (!$code) return; $url = 'https://api.weixin.qq.com/sns/oauth2/access_token?appid=' . WXMP_A...
php
MIT
d6bc0c28824f1face677847d5714a3fe2b7506fe
2026-01-05T03:02:07.053962Z
false
bigfa/wp-oauth
https://github.com/bigfa/wp-oauth/blob/d6bc0c28824f1face677847d5714a3fe2b7506fe/wechat.php
wechat.php
<?php define('WX_APPID',''); define('WX_APPSECRET',''); define('WX_KEY','weixin_uid'); require( dirname(__FILE__) . '/../../../wp-load.php' ); function wechat_oauth_redirect(){ $url = home_url(); wp_redirect( $url ); exit; } function get_wechat_access_token( $code = null ){ $code = $code ? $code : $...
php
MIT
d6bc0c28824f1face677847d5714a3fe2b7506fe
2026-01-05T03:02:07.053962Z
false
bigfa/wp-oauth
https://github.com/bigfa/wp-oauth/blob/d6bc0c28824f1face677847d5714a3fe2b7506fe/douban.php
douban.php
<?php define('DB_APPID','');//appkey define('DB_APPSECRET','');//appsecret function db_oauth_redirect(){ wp_redirect( home_url() ); exit; } function douban_oauth(){ $code = $_GET['code']; $url = "https://www.douban.com/service/auth2/token"; $data = array( 'client_id' => WB_APPID, ...
php
MIT
d6bc0c28824f1face677847d5714a3fe2b7506fe
2026-01-05T03:02:07.053962Z
false
bigfa/wp-oauth
https://github.com/bigfa/wp-oauth/blob/d6bc0c28824f1face677847d5714a3fe2b7506fe/github.php
github.php
<?php define('GITHUB_APPID','');//appkey define('GITHUB_APPSECRET','');//appsecret function github_oauth_redirect(){ wp_redirect( home_url() ); exit; } function github_oauth(){ $code = $_GET['code']; $url = "https://github.com/login/oauth/access_token"; $data = array( 'client_id' => GITHUB...
php
MIT
d6bc0c28824f1face677847d5714a3fe2b7506fe
2026-01-05T03:02:07.053962Z
false
bigfa/wp-oauth
https://github.com/bigfa/wp-oauth/blob/d6bc0c28824f1face677847d5714a3fe2b7506fe/functions.php
functions.php
<?php /* 公共跳转函数 */ function fa_auth_redirect(){ echo '<script>if( window.opener ) { window.opener.location.reload(); window.close(); } else { window.location.href = "'.home_url().'"; }</script>'; } /* Gravatar 头像 Hook, 包含微信、微博、QQ头像。 */ function fa_avatar...
php
MIT
d6bc0c28824f1face677847d5714a3fe2b7506fe
2026-01-05T03:02:07.053962Z
false
bigfa/wp-oauth
https://github.com/bigfa/wp-oauth/blob/d6bc0c28824f1face677847d5714a3fe2b7506fe/auth-qq.php
auth-qq.php
<?php define('QQ_APPID','');//appkey define('QQ_APPSECRET','');//appsecret require( dirname(__FILE__) . '/wp-load.php' ); // edit this function if you wanna redirect to other url. function fa_qq_oauth_redirect(){ echo '<script>if (window.opener) { window.opener.location.reload(); window.close() } else { ...
php
MIT
d6bc0c28824f1face677847d5714a3fe2b7506fe
2026-01-05T03:02:07.053962Z
false
bigfa/wp-oauth
https://github.com/bigfa/wp-oauth/blob/d6bc0c28824f1face677847d5714a3fe2b7506fe/weibo.php
weibo.php
<?php define('WB_APPID','');//appkey define('WB_APPSECRET','');//appsecret function wb_ouath_redirect(){ $url = home_url(); wp_redirect( $url ); exit; } function wb_get_access_token($code){ $url = "https://api.weibo.com/oauth2/access_token"; $data = array('client_id' => WB_APPID, 'client...
php
MIT
d6bc0c28824f1face677847d5714a3fe2b7506fe
2026-01-05T03:02:07.053962Z
false
bigfa/wp-oauth
https://github.com/bigfa/wp-oauth/blob/d6bc0c28824f1face677847d5714a3fe2b7506fe/instagram.php
instagram.php
<?php define('INS_APPID','');//appkey define('INS_APPSECRET','');//appsecret function ins_ouath_redirect(){ echo '<script>if( window.opener ) {window.opener.location.reload(); window.close(); }else{ window.location.href = "'.home_url().'"; ...
php
MIT
d6bc0c28824f1face677847d5714a3fe2b7506fe
2026-01-05T03:02:07.053962Z
false
shopwareArchive/development
https://github.com/shopwareArchive/development/blob/46d410f5d456964808d694f2be3b83ac6a5e107f/easy-coding-standard.php
easy-coding-standard.php
<?php declare(strict_types=1); use PhpCsFixer\Fixer\CastNotation\ModernizeTypesCastingFixer; use PhpCsFixer\Fixer\ClassNotation\ClassAttributesSeparationFixer; use PhpCsFixer\Fixer\ClassNotation\SelfAccessorFixer; use PhpCsFixer\Fixer\ConstantNotation\NativeConstantInvocationFixer; use PhpCsFixer\Fixer\FunctionNotatio...
php
MIT
46d410f5d456964808d694f2be3b83ac6a5e107f
2026-01-05T03:02:09.676582Z
false