canadasatellite-ca / bambora

The Bambora North America (Beamstream) payment module for canadasatellite.ca (Magento 2)
https://upwork.com/fl/mage2pro
0 stars 0 forks source link

«Phone number must be between 7 and 32 characters long» #15

Open dmitrii-fediuk opened 3 years ago

dmitrii-fediuk commented 3 years ago

A part of https://github.com/canadasatellite-ca/bambora/issues/13

{
    "Mage2.PRO": [
        {
            "IP Address": "75.159.146.116",
            "mage2pro/core": "7.7.0",
            "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/z0g0YJYbQyp1lGBOsgXsAPybUlM7IBuX/payment-information",
            "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36"
        }
    ],
    "request": {
        …
        "x_email": "bgermaniuk@telus.net",
        …
        "x_first_name": "Barry",
        …
        "x_invoice_num": "194605",
        "x_last_name": "Germaniuk",
        …
        "x_phone": "250.",
        …
        "x_type": "AUTH_CAPTURE",
        …
    },
    "response": {
        "amount": "2916.48",
        "approval_code": "000000",
        "avs_result_code": "P",
        "card_code_response_code": "",
        "customer_id": null,
        "description": "",
        "invoice_number": "194605",
        "md_5_hash": "382065EC3B4C2F5CDC424A730393D2DF",
        "method": null,
        "response_code": 0,
        "response_reason_code": 0,
        "response_reason_text": "Phone number must be between 7 and 32 characters long-ordPhoneNumber",
        "response_subcode": 0,
        "transaction_id": "0",
        "transaction_type": "AUTH_CAPTURE"
    }
}
Location:    vendor/mage2pro/core/Payment/lib/qa.php:50
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