WordPress.org

Forums

WooCommerce Moip
[resolved] Poup-up are blocked by browser (5 posts)

  1. zerutreck
    Member
    Posted 1 year ago #

    Hello,

    When the customer try to pay with a option "Boleto", a new window it's open. But it's a problem because the browser understand like a poup-up and block this new window.

    The user can't see the "boleto" and can't pay the product.

    How can i change for do not open a new window like poup up?

    Kind regards.

    https://wordpress.org/plugins/woocommerce-moip/

  2. zerutreck
    Member
    Posted 1 year ago #

    I'm thiking it's resolved.

    Now:

    success: function () {
                    wcMoipModalHide(), "CartaoCredito" !== b && window.location.href=a.url, wcMoipModalShow(woocommerce_moip_params.redirecting), setInterval(function () {
                        wcMoipRedirectTimer(d--)

    BEFORE:

    success: function () {
                    wcMoipModalHide(), "CartaoCredito" !== b && window.open(a.url, "Moip", "width=750, height=550, scrollbars=1"), wcMoipModalShow(woocommerce_moip_params.redirecting), setInterval(function () {
  3. Claudio Sanches
    Member
    Plugin Author

    Posted 1 year ago #

    Because of this, the "boleto" URL appears in the "Thank You" page and is also sent to the customer by email.
    I will remove the popup, it has no need because the client can do this already on another page.

  4. zerutreck
    Member
    Posted 1 year ago #

    Maybe, show the link of "boleto" in Thanks page, enough.

  5. Claudio Sanches
    Member
    Plugin Author

    Posted 1 year ago #

    It shows in a notification with a button.
    But has a few themes that remove buttons on notifications ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce Moip
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic