• Resolved oelita

    (@oelita)


    Hello,

    I use Alma on a client site. We call the alma-product-eligibility shortcode on the product page, after the addtocart button.
    You can see it on https://zeride.fr/produit/velo-electrique-pliant-eovolt-afternoon-noir/ for example.

    Usually, we have no problem, and all is well.

    But sometimes, it does not work any more.
    Either it displays the shortcode without “using” it. (that is really weird)
    Either it displays nothing at all.

    Sometimes it works on a browser, and not on another browser, at the same time.

    And when we empty the browser cache, it works again.

    What can we do ? I didn’t see any JS error on the console when it didn’t work.

    Thanks
    Sylvie

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter oelita

    (@oelita)

    In the debug logs, which are activated, I can see a fatal error that seems unrelated to me, but who knows :

    CRITICAL Uncaught Error: Call to a member function get_billing_first_name() on null in /www/xxxxx/public/wp-content/plugins/alma-woocommerce-gateway/includes/models/class-alma-wc-model-customer.php:133

    Thread Starter oelita

    (@oelita)

    I understood something :

    It seems that our problems occur when we are not connected : no user connected, or client user. And it works OK when we are connected as an admin.

    In one browser I was connected as admin, not connected on the other one.

    I need to find out what capability is needed to allow the Alma widget to display informations. We use Advanced Access Manager (alias AAM) on this site.

    Plugin Author Alma

    (@almapayments)

    Hi! we’re reviewing your demand and we’ll answer soon.

    Plugin Author Alma

    (@almapayments)

    Hello @oelita,
    Do you have still the issue? Because I couldn’t reproduce this issue on your website.
    Maybe can you send us a video that do you do for see it’s something wrong?

    Thanks in advance

    Plugin Author Alma

    (@almapayments)

    Hello @oelita,
    We hope it’s good for you, tell us if you still need help.

    Hello, it seems that I have the same problem, when I am connected, I see the Alma widget with the shortcode

    But when I’m disconnected, I can’t see the Alma widget.

    Thanks to you

    Plugin Author Alma

    (@almapayments)

    Hello @avivob,
    Is your input API Mode in Live or Test ?
    The Test Mode is only for tested the integration of our plugin.
    It’s normal if the widget it didn’t display when you are disconnected and in Test Mode, because it’s for not that your customers see the Alma plugin during your integration.
    Can you see if in Live Mode the widget is well display ?
    Thanks for your return.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Eligibility widget and browser cache’ is closed to new replies.