Giter Club home page Giter Club logo

core's Introduction

A custom module for canadasatellite.ca (Magento 2).

How to install

sudo service cron stop           
bin/magento maintenance:enable  
composer require canadasatellite/core:* 
rm -rf var/di var/generation generated/*
bin/magento setup:upgrade
bin/magento cache:enable
bin/magento setup:di:compile
bin/magento cache:clean
rm -rf pub/static/*
bin/magento setup:static-content:deploy \
	--area adminhtml \
	--theme Magento/backend \
	-f en_US en_CA es_ES fr_FR pt_BR zh_Hans_CN
bin/magento setup:static-content:deploy \
	--area frontend \
	--theme MageSuper/magestylish \
	-f en_US en_CA es_ES fr_FR pt_BR zh_Hans_CN
bin/magento cache:clean
bin/magento maintenance:disable
sudo service cron start

How to upgrade

sudo service cron stop           
bin/magento maintenance:enable  
composer remove canadasatellite/core
composer clear-cache
composer require canadasatellite/core:*    
rm -rf var/di var/generation generated/*
bin/magento setup:upgrade
bin/magento cache:enable
bin/magento setup:di:compile
bin/magento cache:clean
rm -rf pub/static/*
bin/magento setup:static-content:deploy \
	--area adminhtml \
	--theme Magento/backend \
	-f en_US en_CA es_ES fr_FR pt_BR zh_Hans_CN
bin/magento setup:static-content:deploy \
	--area frontend \
	--theme MageSuper/magestylish \
	-f en_US en_CA es_ES fr_FR pt_BR zh_Hans_CN
bin/magento cache:clean
bin/magento maintenance:disable
sudo service cron start

core's People

Contributors

dmitrii-fediuk avatar

Watchers

 avatar  avatar

core's Issues

Temporary ban IP addresses of guest payers with `<โ€ฆ>@example.com` email addresses

A part of canadasatellite-ca/bambora#6
See also canadasatellite-ca/site#72

{
    "Mage2.PRO": [
        {
            "IP Address": "45.95.99.20",
            "mage2pro/core": "7.6.3",
            "Magento": "2.3.5-p2",
            "PHP": "7.2.34-8+ubuntu16.04.1+deb.sury.org+1",
            "Post": [],
            "Referer": "https://www.canadasatellite.ca/checkout/",
            "Request Method": "POST",
            "URL": "https://www.canadasatellite.ca/rest/en/V1/guest-carts/IUIoIsF5dQhF8T5KZpCLSm8sWuafiHnC/payment-information",
            "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.115 Safari/537.36"
        }
    ],
    "request": {
        "x_address": "426 photinia ave",
        "x_amount": "31.68",
        "x_card_code": "605",
        "x_card_name": null,
        "x_card_num": "4334770042217288",
        "x_city": "Calgary",
        "x_company": "",
        "x_country": "CA",
        "x_currency_code": "CAD",
        "x_cust_id": null,
        "x_customer_ip": "45.95.99.20",
        "x_customer_tax_id": null,
        "x_email": "[email protected]",
        "x_email_customer": null,
        "x_exp_date": "01-2025",
        "x_fax": null,
        "x_first_name": "georgia",
        "x_freight": 15.22,
        "x_invoice_num": "194024",
        "x_last_name": "mason",
        "x_login": null,
        "x_merchant_email": null,
        "x_method": null,
        "x_phone": "(484)-764-6629",
        "x_po_num": null,
        "x_ship_to_address": "279 Hawkview Manor Cir NW",
        "x_ship_to_city": "Calgary",
        "x_ship_to_company": null,
        "x_ship_to_country": null,
        "x_ship_to_first_name": "Jaymes",
        "x_ship_to_last_name": "Billss",
        "x_ship_to_state": "Alberta",
        "x_ship_to_zip": "T3G 3E6",
        "x_state": "Alberta",
        "x_subtotal": 14.95,
        "x_tax": 1.51,
        "x_test_request": "FALSE",
        "x_tran_key": null,
        "x_type": "AUTH_CAPTURE",
        "x_zip": "T3G 3E6"
    },
    "response": {
        "amount": "31.68",
        "approval_code": "000000",
        "avs_result_code": "P",
        "card_code_response_code": "",
        "customer_id": null,
        "description": "",
        "invoice_number": "194024",
        "md_5_hash": "382065EC3B4C2F5CDC424A730393D2DF",
        "method": null,
        "response_code": 0,
        "response_reason_code": 0,
        "response_reason_text": "Decline-Transaction has been DECLINED.",
        "response_subcode": 0,
        "transaction_id": "0",
        "transaction_type": "AUTH_CAPTURE"
    }
}
Location:    vendor/mage2pro/core/Payment/lib/qa.php:47
Callee:      df_log_l
*****************1******************
Location:    app/code/Schogini/Beanstream/Model/Beanstream.php:154
Callee:      dfp_report
*****************2******************
Location:    vendor/magento/module-sales/Model/Order/Payment/Operations/CaptureOperation.php:82
Callee:      Schogini\Beanstream\Model\Beanstream::capture
*****************3******************
Location:    vendor/magento/module-sales/Model/Order/Payment/Processor.php:85
Callee:      Magento\Sales\Model\Order\Payment\Operations\CaptureOperation::capture
*****************4******************
Location:    vendor/magento/module-sales/Model/Order/Payment.php:473
Callee:      Magento\Sales\Model\Order\Payment\Processor::capture
*****************5******************
Location:    vendor/magento/module-sales/Model/Order/Invoice.php:346
Callee:      Magento\Sales\Model\Order\Payment::capture
*****************6******************
Location:    vendor/magento/module-sales/Model/Order/Payment/Operations/AbstractOperation.php:73
Callee:      Magento\Sales\Model\Order\Invoice::capture
*****************7******************
Location:    vendor/magento/module-sales/Model/Order/Payment/Operations/CaptureOperation.php:30
Callee:      Magento\Sales\Model\Order\Payment\Operations\AbstractOperation::invoice
*****************8******************
Location:    vendor/magento/module-sales/Model/Order/Payment/Processor.php:85
Callee:      Magento\Sales\Model\Order\Payment\Operations\CaptureOperation::capture
*****************9******************
Location:    vendor/magento/module-sales/Model/Order/Payment.php:473
Callee:      Magento\Sales\Model\Order\Payment\Processor::capture
*****************10*****************
Location:    vendor/magento/module-sales/Model/Order/Payment.php:454
Callee:      Magento\Sales\Model\Order\Payment::capture
*****************11*****************
Location:    vendor/magento/module-sales/Model/Order/Payment.php:374
Callee:      Magento\Sales\Model\Order\Payment::processAction
*****************12*****************
Location:    vendor/magento/module-sales/Model/Order.php:968
Callee:      Magento\Sales\Model\Order\Payment::place
*****************13*****************
Location:    vendor/magento/module-sales/Model/Order.php:1190
Callee:      Magento\Sales\Model\Order::_placePayment
*****************14*****************
Location:    vendor/magento/module-sales/Model/Service/OrderService.php:209
Callee:      Magento\Sales\Model\Order::place
*****************15*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:58
Callee:      Magento\Sales\Model\Service\OrderService::place
*****************16*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:138
Callee:      Magento\Sales\Model\Service\OrderService::___callParent
*****************17*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:153
Callee:      Magento\Sales\Model\Service\OrderService::Magento\Framework\Interception\{closure}
*****************18*****************
Location:    generated/code/Magento/Sales/Model/Service/OrderService/Interceptor.php:39
Callee:      Magento\Sales\Model\Service\OrderService::___callPlugins
*****************19*****************
Location:    vendor/magento/module-quote/Model/QuoteManagement.php:563
Callee:      Magento\Sales\Model\Service\OrderService::place
*****************20*****************
Location:    vendor/magento/module-quote/Model/QuoteManagement.php:453
Callee:      Magento\Quote\Model\QuoteManagement::submitQuote
*****************21*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:58
Callee:      Magento\Quote\Model\QuoteManagement::submit
*****************22*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:138
Callee:      Magento\Quote\Model\QuoteManagement::___callParent
*****************23*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:153
Callee:      Magento\Quote\Model\QuoteManagement::Magento\Framework\Interception\{closure}
*****************24*****************
Location:    generated/code/Magento/Quote/Model/QuoteManagement/Interceptor.php:26
Callee:      Magento\Quote\Model\QuoteManagement::___callPlugins
*****************25*****************
Location:    vendor/magento/module-quote/Model/QuoteManagement.php:411
Callee:      Magento\Quote\Model\QuoteManagement::submit
*****************26*****************
Location:    vendor/magento/module-quote/Model/GuestCart/GuestCartManagement.php:87
Callee:      Magento\Quote\Model\QuoteManagement::placeOrder
*****************27*****************
Location:    app/code/Schogini/Beanstream/Model/GuestPaymentManagement.php:2
Callee:      Magento\Quote\Model\GuestCart\GuestCartManagement::placeOrder
*****************28*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:58
Callee:      Schogini\Beanstream\Model\GuestPaymentManagement::savePaymentInformationAndPlaceOrder
*****************29*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:138
Callee:      Schogini\Beanstream\Model\GuestPaymentManagement::___callParent
*****************30*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:153
Callee:      Schogini\Beanstream\Model\GuestPaymentManagement::Magento\Framework\Interception\{closure}
*****************31*****************
Location:    generated/code/Schogini/Beanstream/Model/GuestPaymentManagement/Interceptor.php:26
Callee:      Schogini\Beanstream\Model\GuestPaymentManagement::___callPlugins
*****************32*****************
Location:    :
Callee:      Schogini\Beanstream\Model\GuestPaymentManagement::savePaymentInformationAndPlaceOrder
*****************33*****************
Location:    vendor/magento/module-webapi/Controller/Rest/SynchronousRequestProcessor.php:95
Callee:      call_user_func_array
*****************34*****************
Location:    vendor/magento/module-webapi/Controller/Rest.php:188
Callee:      Magento\Webapi\Controller\Rest\SynchronousRequestProcessor::process
*****************35*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:58
Callee:      Magento\Webapi\Controller\Rest::dispatch
*****************36*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:138
Callee:      Magento\Webapi\Controller\Rest::___callParent
*****************37*****************
Location:    app/code/Cart2Quote/Features/Feature/ApiAccess/Rest.php:2
Callee:      Magento\Webapi\Controller\Rest::Magento\Framework\Interception\{closure}
*****************38*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:135
Callee:      Cart2Quote\Features\Feature\ApiAccess\Rest::aroundDispatch
*****************39*****************
Location:    app/code/Cart2Quote/Features/Feature/ApiAccess/Rest.php:2
Callee:      Magento\Webapi\Controller\Rest::Magento\Framework\Interception\{closure}
*****************40*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:135
Callee:      Cart2Quote\Features\Feature\ApiAccess\Rest::aroundDispatch
*****************41*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:153
Callee:      Magento\Webapi\Controller\Rest::Magento\Framework\Interception\{closure}
*****************42*****************
Location:    generated/code/Magento/Webapi/Controller/Rest/Interceptor.php:26
Callee:      Magento\Webapi\Controller\Rest::___callPlugins
*****************43*****************
Location:    vendor/magento/framework/App/Http.php:116
Callee:      Magento\Webapi\Controller\Rest::dispatch
*****************44*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:58
Callee:      Magento\Framework\App\Http::launch
*****************45*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:138
Callee:      Magento\Framework\App\Http::___callParent
*****************46*****************
Location:    vendor/canadasatellite/core/Plugin/Magento/Framework/App/Http.php:18
Callee:      Magento\Framework\App\Http::Magento\Framework\Interception\{closure}
*****************47*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:135
Callee:      CanadaSatellite\Core\Plugin\Magento\Framework\App\Http::aroundLaunch
*****************48*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:153
Callee:      Magento\Framework\App\Http::Magento\Framework\Interception\{closure}
*****************49*****************
Location:    generated/code/Magento/Framework/App/Http/Interceptor.php:26
Callee:      Magento\Framework\App\Http::___callPlugins
*****************50*****************
Location:    vendor/magento/framework/App/Bootstrap.php:261
Callee:      Magento\Framework\App\Http::launch
*****************51*****************
Location:    pub/index.php:40
Callee:      Magento\Framework\App\Bootstrap::run

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.