Skip to content

Error on displaying Payment block on the checkout preview page #1091

@post-duif

Description

@post-duif

When trying to view the Checkout page in the WooCommerce with Mollie enabled (and working, for paying customers), I encounter the following error: "This block has encountered an error and cannot be previewed.".

Image

In the browser console I see this errro:

TypeError: Cannot read properties of undefined (reading 'country')
at useMollieAvailableGateways (molliePaymentMethod.js:14:44)
at MollieGatewayUpdater (molliePaymentMethod.js:54:5)

Could you troubleshoot this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions