canadasatellite-ca / site

The canadasatellite.ca website (Magento 2)
https://upwork.com/fl/mage2pro
0 stars 1 forks source link

«PayPal gateway has rejected request. The Buyer cannot pay with PayPal for this Transaction (#13113: Buyer Cannot Pay)» #185

Closed dmitrii-fediuk closed 3 years ago

dmitrii-fediuk commented 3 years ago
{
    "channel": "main",
    "datetime": {
        "date": "2021-06-18 19:39:32.019240",
        "timezone_type": 3,
        "timezone": "UTC"
    },
    "level": 500,
    "level_name": "CRITICAL",
    "Mage2.PRO": [
        {
            "IP Address": "209.115.213.80",
            "mage2pro/core": "7.6.1",
            "Magento": "2.3.5-p2",
            "PHP": "7.2.34-8+ubuntu16.04.1+deb.sury.org+1",
            "Referer": "https://www.paypal.com/webapps/hermes?flow=1-P&ulReturn=true&token=EC-3UX10185B8171661S&useraction=commit&rcache=2",
            "Request Method": "GET",
            "URL": "https://www.canadasatellite.ca/paypal/express/return/?token=EC-3UX10185B8171661S&PayerID=8VZ8EF2SX8NPS",
            "User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 14_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Mobile/15E148 Safari/604.1"
        }
    ],
    "message": "Exception message: PayPal gateway has rejected request. The Buyer cannot pay with PayPal for this Transaction (#13113: Buyer Cannot Pay).
Trace: <pre>#1 Magento\Framework\ObjectManager\Factory\Compiled->create() called at [vendor/magento/framework/ObjectManager/ObjectManager.php:56]
#2 Magento\Framework\ObjectManager\ObjectManager->create() called at [generated/code/Magento/Framework/Exception/LocalizedExceptionFactory.php:43]
#3 Magento\Framework\Exception\LocalizedExceptionFactory->create() called at [vendor/magento/module-paypal/Model/Api/Nvp.php:1307]
#4 Magento\Paypal\Model\Api\Nvp->_handleCallErrors() called at [vendor/magento/module-paypal/Model/Api/Nvp.php:1243]
#5 Magento\Paypal\Model\Api\Nvp->call() called at [vendor/magento/module-paypal/Model/Api/Nvp.php:869]
#6 Magento\Paypal\Model\Api\Nvp->callDoExpressCheckoutPayment() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#7 Magento\Paypal\Model\Api\Nvp\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#8 Magento\Paypal\Model\Api\Nvp\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#9 Magento\Paypal\Model\Api\Nvp\Interceptor->___callPlugins() called at [generated/code/Magento/Paypal/Model/Api/Nvp/Interceptor.php:39]
#10 Magento\Paypal\Model\Api\Nvp\Interceptor->callDoExpressCheckoutPayment() called at [vendor/magento/module-paypal/Model/Express.php:705]
#11 Magento\Paypal\Model\Express->_placeOrder() called at [vendor/magento/module-paypal/Model/Express.php:519]
#12 Magento\Paypal\Model\Express->capture() called at [vendor/magento/module-sales/Model/Order/Payment/Operations/CaptureOperation.php:82]
#13 Magento\Sales\Model\Order\Payment\Operations\CaptureOperation->capture() called at [vendor/magento/module-sales/Model/Order/Payment/Processor.php:85]
#14 Magento\Sales\Model\Order\Payment\Processor->capture() called at [vendor/magento/module-sales/Model/Order/Payment.php:473]
#15 Magento\Sales\Model\Order\Payment->capture() called at [vendor/magento/module-sales/Model/Order/Invoice.php:346]
#16 Magento\Sales\Model\Order\Invoice->capture() called at [vendor/magento/module-sales/Model/Order/Payment/Operations/AbstractOperation.php:73]
#17 Magento\Sales\Model\Order\Payment\Operations\AbstractOperation->invoice() called at [vendor/magento/module-sales/Model/Order/Payment/Operations/CaptureOperation.php:30]
#18 Magento\Sales\Model\Order\Payment\Operations\CaptureOperation->capture() called at [vendor/magento/module-sales/Model/Order/Payment/Processor.php:85]
#19 Magento\Sales\Model\Order\Payment\Processor->capture() called at [vendor/magento/module-sales/Model/Order/Payment.php:473]
#20 Magento\Sales\Model\Order\Payment->capture() called at [vendor/magento/module-sales/Model/Order/Payment.php:454]
#21 Magento\Sales\Model\Order\Payment->processAction() called at [vendor/magento/module-sales/Model/Order/Payment.php:374]
#22 Magento\Sales\Model\Order\Payment->place() called at [vendor/magento/module-sales/Model/Order.php:968]
#23 Magento\Sales\Model\Order->_placePayment() called at [vendor/magento/module-sales/Model/Order.php:1190]
#24 Magento\Sales\Model\Order->place() called at [vendor/magento/module-sales/Model/Service/OrderService.php:209]
#25 Magento\Sales\Model\Service\OrderService->place() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#26 Magento\Sales\Model\Service\OrderService\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#27 Magento\Sales\Model\Service\OrderService\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#28 Magento\Sales\Model\Service\OrderService\Interceptor->___callPlugins() called at [generated/code/Magento/Sales/Model/Service/OrderService/Interceptor.php:39]
#29 Magento\Sales\Model\Service\OrderService\Interceptor->place() called at [vendor/magento/module-quote/Model/QuoteManagement.php:563]
#30 Magento\Quote\Model\QuoteManagement->submitQuote() called at [vendor/magento/module-quote/Model/QuoteManagement.php:453]
#31 Magento\Quote\Model\QuoteManagement->submit() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#32 Magento\Quote\Model\QuoteManagement\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#33 Magento\Quote\Model\QuoteManagement\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#34 Magento\Quote\Model\QuoteManagement\Interceptor->___callPlugins() called at [generated/code/Magento/Quote/Model/QuoteManagement/Interceptor.php:26]
#35 Magento\Quote\Model\QuoteManagement\Interceptor->submit() called at [vendor/magento/module-paypal/Model/Express/Checkout.php:808]
#36 Magento\Paypal\Model\Express\Checkout->place() called at [vendor/magento/module-paypal/Controller/Express/AbstractExpress/PlaceOrder.php:98]
#37 Magento\Paypal\Controller\Express\AbstractExpress\PlaceOrder->execute() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#38 Magento\Paypal\Controller\Express\PlaceOrder\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#39 Magento\Paypal\Controller\Express\PlaceOrder\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#40 Magento\Paypal\Controller\Express\PlaceOrder\Interceptor->___callPlugins() called at [generated/code/Magento/Paypal/Controller/Express/PlaceOrder/Interceptor.php:26]
#41 Magento\Paypal\Controller\Express\PlaceOrder\Interceptor->execute() called at [vendor/magento/framework/App/Action/Action.php:108]
#42 Magento\Framework\App\Action\Action->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#43 Magento\Paypal\Controller\Express\PlaceOrder\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#44 Magento\Paypal\Controller\Express\PlaceOrder\Interceptor->Magento\Framework\Interception\{closure}() called at [app/code/Bss/AdminActionLog/Plugin/Action.php:71]
#45 Bss\AdminActionLog\Plugin\Action->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#46 Magento\Paypal\Controller\Express\PlaceOrder\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#47 Magento\Paypal\Controller\Express\PlaceOrder\Interceptor->___callPlugins() called at [generated/code/Magento/Paypal/Controller/Express/PlaceOrder/Interceptor.php:39]
#48 Magento\Paypal\Controller\Express\PlaceOrder\Interceptor->dispatch() called at [vendor/magento/framework/App/FrontController.php:162]
#49 Magento\Framework\App\FrontController->processRequest() called at [vendor/magento/framework/App/FrontController.php:99]
#50 Magento\Framework\App\FrontController->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#51 Magento\Framework\App\FrontController\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#52 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php:99]
#53 Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#54 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php:73]
#55 Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#56 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#57 Magento\Framework\App\FrontController\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:26]
#58 Magento\Framework\App\FrontController\Interceptor->dispatch() called at [vendor/magento/framework/App/Http.php:124]
#59 Magento\Framework\App\Http->launch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#60 Magento\Framework\App\Http\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#61 Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/canadasatellite/core/Plugin/Magento/Framework/App/Http.php:18]
#62 CanadaSatellite\Core\Plugin\Magento\Framework\App\Http->aroundLaunch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#63 Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#64 Magento\Framework\App\Http\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:26]
#65 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:261]
#66 Magento\Framework\App\Bootstrap->run() called at [pub/index.php:40]
</pre>"
}
Location:    vendor/mage2pro/core/Framework/Logger/Handler.php:55
Callee:      df_log_l
*****************1******************
Location:    vendor/monolog/monolog/src/Monolog/Logger.php:344
Callee:      Df\Framework\Logger\Handler::handle
*****************2******************
Location:    vendor/magento/framework/Logger/Monolog.php:48
Callee:      Monolog\Logger::addRecord
*****************3******************
Location:    vendor/monolog/monolog/src/Monolog/Logger.php:740
Callee:      Magento\Framework\Logger\Monolog::addRecord
*****************4******************
Location:    vendor/magento/framework/Message/Manager.php:305
Callee:      Monolog\Logger::critical
*****************5******************
Location:    vendor/magento/module-paypal/Controller/Express/AbstractExpress/PlaceOrder.php:151
Callee:      Magento\Framework\Message\Manager::addExceptionMessage
*****************6******************
Location:    vendor/magento/module-paypal/Controller/Express/AbstractExpress/PlaceOrder.php:135
Callee:      Magento\Paypal\Controller\Express\AbstractExpress\PlaceOrder::processException
*****************7******************
Location:    vendor/magento/framework/Interception/Interceptor.php:58
Callee:      Magento\Paypal\Controller\Express\AbstractExpress\PlaceOrder::execute
*****************8******************
Location:    vendor/magento/framework/Interception/Interceptor.php:138
Callee:      Magento\Paypal\Controller\Express\PlaceOrder::___callParent
*****************9******************
Location:    vendor/magento/framework/Interception/Interceptor.php:153
Callee:      Magento\Paypal\Controller\Express\PlaceOrder::Magento\Framework\Interception\{closure}
*****************10*****************
Location:    generated/code/Magento/Paypal/Controller/Express/PlaceOrder/Interceptor.php:26
Callee:      Magento\Paypal\Controller\Express\PlaceOrder::___callPlugins
*****************11*****************
Location:    vendor/magento/framework/App/Action/Action.php:108
Callee:      Magento\Paypal\Controller\Express\PlaceOrder::execute
*****************12*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:58
Callee:      Magento\Framework\App\Action\Action::dispatch
*****************13*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:138
Callee:      Magento\Paypal\Controller\Express\PlaceOrder::___callParent
*****************14*****************
Location:    app/code/Bss/AdminActionLog/Plugin/Action.php:71
Callee:      Magento\Paypal\Controller\Express\PlaceOrder::Magento\Framework\Interception\{closure}
*****************15*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:135
Callee:      Bss\AdminActionLog\Plugin\Action::aroundDispatch
*****************16*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:153
Callee:      Magento\Paypal\Controller\Express\PlaceOrder::Magento\Framework\Interception\{closure}
*****************17*****************
Location:    generated/code/Magento/Paypal/Controller/Express/PlaceOrder/Interceptor.php:39
Callee:      Magento\Paypal\Controller\Express\PlaceOrder::___callPlugins
*****************18*****************
Location:    vendor/magento/framework/App/FrontController.php:162
Callee:      Magento\Paypal\Controller\Express\PlaceOrder::dispatch
*****************19*****************
Location:    vendor/magento/framework/App/FrontController.php:99
Callee:      Magento\Framework\App\FrontController::processRequest
*****************20*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:58
Callee:      Magento\Framework\App\FrontController::dispatch
*****************21*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:138
Callee:      Magento\Framework\App\FrontController::___callParent
*****************22*****************
Location:    vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php:99
Callee:      Magento\Framework\App\FrontController::Magento\Framework\Interception\{closure}
*****************23*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:135
Callee:      Magento\Store\App\FrontController\Plugin\RequestPreprocessor::aroundDispatch
*****************24*****************
Location:    vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php:73
Callee:      Magento\Framework\App\FrontController::Magento\Framework\Interception\{closure}
*****************25*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:135
Callee:      Magento\PageCache\Model\App\FrontController\BuiltinPlugin::aroundDispatch
*****************26*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:153
Callee:      Magento\Framework\App\FrontController::Magento\Framework\Interception\{closure}
*****************27*****************
Location:    generated/code/Magento/Framework/App/FrontController/Interceptor.php:26
Callee:      Magento\Framework\App\FrontController::___callPlugins
*****************28*****************
Location:    vendor/magento/framework/App/Http.php:124
Callee:      Magento\Framework\App\FrontController::dispatch
*****************29*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:58
Callee:      Magento\Framework\App\Http::launch
*****************30*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:138
Callee:      Magento\Framework\App\Http::___callParent
*****************31*****************
Location:    vendor/canadasatellite/core/Plugin/Magento/Framework/App/Http.php:18
Callee:      Magento\Framework\App\Http::Magento\Framework\Interception\{closure}
*****************32*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:135
Callee:      CanadaSatellite\Core\Plugin\Magento\Framework\App\Http::aroundLaunch
*****************33*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:153
Callee:      Magento\Framework\App\Http::Magento\Framework\Interception\{closure}
*****************34*****************
Location:    generated/code/Magento/Framework/App/Http/Interceptor.php:26
Callee:      Magento\Framework\App\Http::___callPlugins
*****************35*****************
Location:    vendor/magento/framework/App/Bootstrap.php:261
Callee:      Magento\Framework\App\Http::launch
*****************36*****************
Location:    pub/index.php:40
Callee:      Magento\Framework\App\Bootstrap::run
dmitrii-fediuk commented 3 years ago
[2021-06-18 19:39:31] main.DEBUG: array (
  'url' => 'https://api-3t.paypal.com/nvp',
  'DoExpressCheckoutPayment' => 
  array (
    'TOKEN' => 'EC-3UX10185B8171661S',
    'PAYERID' => '8VZ8EF2SX8NPS',
    'PAYMENTACTION' => 'Sale',
    'AMT' => '3474.69',
    'CURRENCYCODE' => 'CAD',
    'BUTTONSOURCE' => 'Magento_Cart_Community',
    'NOTIFYURL' => 'https://www.canadasatellite.ca/paypal/ipn/',
    'RETURNFMFDETAILS' => 1,
    'SHIPPINGAMT' => '233.94',
    'ITEMAMT' => '3075.29',
    'TAXAMT' => '165.46',
    'L_NUMBER0' => NULL,
    'L_NAME0' => 'Winegard TRAV\'LER for Shaw Direct (SK-7003 + SKA733)',
    'L_QTY0' => 1,
    'L_AMT0' => '3075.29',
    'BUSINESS' => NULL,
    'EMAIL' => 'jason@jwgaragedoors.ca',
    'FIRSTNAME' => 'Jason',
    'LASTNAME' => 'Wood',
    'MIDDLENAME' => NULL,
    'SALUTATION' => NULL,
    'SUFFIX' => NULL,
    'COUNTRYCODE' => 'CA',
    'STATE' => 'AB',
    'CITY' => 'Lloydminster',
    'STREET' => '5217 63 Street',
    'ZIP' => 'T9V 2E7',
    'PHONENUM' => '780-808-3291',
    'SHIPTOCOUNTRYCODE' => 'CA',
    'SHIPTOSTATE' => 'AB',
    'SHIPTOCITY' => 'Lloydminster',
    'SHIPTOSTREET' => '5217 63 Street',
    'SHIPTOZIP' => 'T9V 2E7',
    'SHIPTOPHONENUM' => '780-808-3291',
    'SHIPTOSTREET2' => '',
    'STREET2' => '',
    'SHIPTONAME' => 'Jason Wood',
    'ADDROVERRIDE' => 1,
    'METHOD' => 'DoExpressCheckoutPayment',
    'VERSION' => '72.0',
    'USER' => '****',
    'PWD' => '****',
    'SIGNATURE' => '****',
  ),
  'response' => 
  array (
    'TOKEN' => 'EC-3UX10185B8171661S',
    'SUCCESSPAGEREDIRECTREQUESTED' => 'false',
    'TIMESTAMP' => '2021-06-18T19:39:31Z',
    'CORRELATIONID' => '7b34802883817',
    'ACK' => 'Failure',
    'VERSION' => '72.0',
    'BUILD' => '55698494',
    'L_ERRORCODE0' => '13113',
    'L_SHORTMESSAGE0' => 'Buyer Cannot Pay.',
    'L_LONGMESSAGE0' => 'The Buyer cannot pay with PayPal for this Transaction.',
    'L_SEVERITYCODE0' => 'Error',
  ),
) [] []
dmitrii-fediuk commented 3 years ago
[2021-06-18 19:41:14] main.DEBUG: array (
  'url' => 'https://api-3t.paypal.com/nvp',
  'DoExpressCheckoutPayment' => 
  array (
    'TOKEN' => 'EC-3UX10185B8171661S',
    'PAYERID' => '8VZ8EF2SX8NPS',
    'PAYMENTACTION' => 'Sale',
    'AMT' => '3474.69',
    'CURRENCYCODE' => 'CAD',
    'BUTTONSOURCE' => 'Magento_Cart_Community',
    'NOTIFYURL' => 'https://www.canadasatellite.ca/paypal/ipn/',
    'RETURNFMFDETAILS' => 1,
    'SHIPPINGAMT' => '233.94',
    'ITEMAMT' => '3075.29',
    'TAXAMT' => '165.46',
    'L_NUMBER0' => NULL,
    'L_NAME0' => 'Winegard TRAV\'LER for Shaw Direct (SK-7003 + SKA733)',
    'L_QTY0' => 1,
    'L_AMT0' => '3075.29',
    'BUSINESS' => NULL,
    'EMAIL' => 'jason@jwgaragedoors.ca',
    'FIRSTNAME' => 'Jason',
    'LASTNAME' => 'Wood',
    'MIDDLENAME' => NULL,
    'SALUTATION' => NULL,
    'SUFFIX' => NULL,
    'COUNTRYCODE' => 'CA',
    'STATE' => 'AB',
    'CITY' => 'Lloydminster',
    'STREET' => '5217 63 Street',
    'ZIP' => 'T9V 2E7',
    'PHONENUM' => '780-808-3291',
    'SHIPTOCOUNTRYCODE' => 'CA',
    'SHIPTOSTATE' => 'AB',
    'SHIPTOCITY' => 'Lloydminster',
    'SHIPTOSTREET' => '5217 63 Street',
    'SHIPTOZIP' => 'T9V 2E7',
    'SHIPTOPHONENUM' => '780-808-3291',
    'SHIPTOSTREET2' => '',
    'STREET2' => '',
    'SHIPTONAME' => 'Jason Wood',
    'ADDROVERRIDE' => 1,
    'METHOD' => 'DoExpressCheckoutPayment',
    'VERSION' => '72.0',
    'USER' => '****',
    'PWD' => '****',
    'SIGNATURE' => '****',
  ),
  'response' => 
  array (
    'TOKEN' => 'EC-3UX10185B8171661S',
    'SUCCESSPAGEREDIRECTREQUESTED' => 'false',
    'TIMESTAMP' => '2021-06-18T19:41:14Z',
    'CORRELATIONID' => '763c9b6df526',
    'ACK' => 'Failure',
    'VERSION' => '72.0',
    'BUILD' => '55698494',
    'L_ERRORCODE0' => '13113',
    'L_SHORTMESSAGE0' => 'Buyer Cannot Pay.',
    'L_LONGMESSAGE0' => 'The Buyer cannot pay with PayPal for this Transaction.',
    'L_SEVERITYCODE0' => 'Error',
  ),
) [] []
dmitrii-fediuk commented 3 years ago

It is a problem on the customer side, not on the Magento or PayPal side.