0

I have a store in Magento 2 on Choosing Paypal via Braintree and using the Live Account it gives an error Internal Server Error in Magento 2. But on working with Sandbox Cred. it will working fine.

After Checking Payment.log in Error Log Files. It gives me this error :

'client' => 'Magento\\Braintree\\Gateway\\Http\\Client\\TransactionSale',
'response' => 
array (
  'success' => false,
  '' . "\0" . '*' . "\0" . '_attributes' => 
  array (
    'errors' => 
    Braintree\Error\ErrorCollection::__set_state(array(
       '_errors' => 
      Braintree\Error\ValidationErrorCollection::__set_state(array(
         '_errors' => 
        array (
        ),
         '_nested' => 
        array (
          'transaction' => 
          Braintree\Error\ValidationErrorCollection::__set_state(array(
             '_errors' => 
            array (
              0 => 
              Braintree\Error\Validation::__set_state(array(
                 '_attribute' => 'base',
                 '_code' => '91508',
                 '_message' => 'Cannot determine payment method.',
              )),
            ),
             '_nested' => 
            array (
              'billing' => 
              Braintree\Error\ValidationErrorCollection::__set_state(array(
                 '_errors' => 
                array (
                ),
                 '_nested' => 
                array (
                ),
                 '_collection' => 
                array (
                ),
              )),
              'customer' => 
              Braintree\Error\ValidationErrorCollection::__set_state(array(
                 '_errors' => 
                array (
                ),
                 '_nested' => 
                array (
                ),
                 '_collection' => 
                array (
                ),
              )),
              'shipping' => 
              Braintree\Error\ValidationErrorCollection::__set_state(array(
                 '_errors' => 
                array (
                ),
                 '_nested' => 
                array (
                ),
                 '_collection' => 
                array (
                ),
              )),
            ),
             '_collection' => 
            array (
            ),
          )),
        ),
         '_collection' => 
        array (
        ),
      )),
    )),
    'message' => 'Cannot determine payment method.',
    'creditCardVerification' => NULL,
    'transaction' => NULL,
    'subscription' => NULL,
    'merchantAccount' => NULL,
    'verification' => NULL,
  ),
),

So the error code is 91508 and message is Cannot determine payment.

Any one have any idea why it is doing this My Magento Version is 2.2.6.

Any help is appriciated.

method.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.