Skip to content

PHP Fatal error: Uncaught Error: Call to undefined method #11

@mauricinhojr

Description

@mauricinhojr

Estou tendo o problema abaixo:

PHP Fatal error: Uncaught Error: Call to undefined method Magento\Payment\Gateway\Data\Order\OrderAdapter::getCustomerIsGuest() in /home/*******/public_html/atividades/app/code/Picpay/Payment/Helper/Data.php:593

Line: 593 - 599
if(!$order->getCustomerIsGuest()){
$customerId = $order->getCustomerId();
$customer = $this->customerRepositoryInterface->getById($customerId);
if ($customer && $customer->getId()) {
$taxvat = $customer->getTaxvat();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions