0

What does this mean ?

Object of class Magento\Directory\Model\Currency could not be converted to string

This error appears when i execute mutation "available_payment_methods"

query {
  cart(cart_id: "6QqHHkrGLzEeqTYEeUDIESsDL0C7AQMn"){
    available_payment_methods {
      code
      title
    }
    items {
      
      quantity
      product{
        name
        sku
        price_tiers {
          quantity
          final_price {
            value
          }
          discount {
            amount_off
            percent_off
          }
        }
      }
      prices{
        price{
          value
        }
      }
    }
    prices {
      discounts {
        label
        amount {
          value
        }
      }
      subtotal_excluding_tax {
        value
      }
      applied_taxes {
        label
        amount {
          value
        }
      }
    }
  }
}

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.