• Resolved esedic

    (@esedic)


    Hi!

    I get two errors in browser console in block checkout, depending on if user is logged-in or is it a guest.
    When user is a guest

    react-dom.min.js?ver=18.3.1.1:10 IntegrationError: You cannot call stripe.linkAutofillModal without supplying an appropriate beta flag when initializing Stripe.js.
    at e.linkAutofillModal (v3:1:540958)
    at use-link.js:70:28
    at Ur (react-dom.min.js?ver=18.3.1.1:10:73201)
    at El (react-dom.min.js?ver=18.3.1.1:10:92843)
    at fl (react-dom.min.js?ver=18.3.1.1:10:85253)
    at Nn (react-dom.min.js?ver=18.3.1.1:10:32442)
    at react-dom.min.js?ver=18.3.1.1:10:91675
    at xl (react-dom.min.js?ver=18.3.1.1:10:91680)
    at ol (react-dom.min.js?ver=18.3.1.1:10:84262)
    at v (react.min.js?ver=18.3.1.1:10:3388)
    ar @ react-dom.min.js?ver=18.3.1.1:10

    When user is registered:

    react-dom.min.js?ver=18.3.1.1:10 IntegrationError: Invalid value for elements(): currency should be one of the following strings: aed, afn, all, amd, ang, aoa, ars, aud, awg, azn, bam, bbd, bdt, bgn, bhd, bif, bmd, bnd, bob, brl, bsd, btn, bwp, byn, byr, bzd, cad, cdf, chf, clf, clp, cny, cop, crc, cuc, cup, cve, czk, djf, dkk, dop, dzd, egp, ern, etb, eur, fjd, fkp, gbp, gel, ghs, gip, gmd, gnf, gtq, gyd, hkd, hnl, htg, huf, idr, ils, inr, iqd, irr, isk, jmd, jod, jpy, kes, kgs, khr, kmf, kpw, krw, kwd, kyd, kzt, lak, lbp, lkr, lrd, lsl, ltl, lvl, lyd, mad, mdl, mga, mkd, mmk, mnt, mop, mro, mur, mvr, mwk, mxn, myr, mzn, nad, ngn, nio, nok, npr, nzd, omr, pab, pen, pgk, php, pkr, pln, pyg, qar, ron, rsd, rub, rwf, sar, sbd, scr, sdg, sek, sgd, shp, skk, sll, sos, srd, ssp, std, svc, syp, szl, thb, tjs, tmt, tnd, top, try, ttd, twd, tzs, uah, ugx, usd, uyu, uzs, vef, vnd, vuv, wst, xaf, xag, xau, xcd, xdr, xof, xpf, yer, zar, zmk, zmw, btc, jep, eek, ghc, mtl, tmm, yen, zwd, zwl, zwn, zwr. You specified: .
    at le (v3:1:191525)
    at pe (v3:1:191604)
    at new t (v3:1:424343)
    at e.<anonymous> (v3:1:541769)
    at e.<anonymous> (v3:1:70016)
    at e.o (v3:1:594071)
    at react-stripe.umd.js:498:30
    at bt (react-dom.min.js?ver=18.3.1.1:10:46495)
    at kt (react-dom.min.js?ver=18.3.1.1:10:46953)
    at Object.useState (react-dom.min.js?ver=18.3.1.1:10:115566)
    ar @ react-dom.min.js?ver=18.3.1.1:10

    I have tried disabling plugins and switching to default theme, but the result is the same.

    Errors are causing problems in checkout.

    • This topic was modified 11 months, 3 weeks ago by esedic. Reason: Additional information
Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Clayton R

    (@mrclayton)

    Hi @esedic

    On the Advanced Settings page of the Stripe plugin what settings do you have enabled/disabled for Link?

    We’re working on a new integration for Link, which is the Link express checkout feature that replaces the Link modal integration.

    Regarding the currency equaling . that was something we observed with older versions of the WooCommerce checkout block. For some reason there were instances were the currency from Woo would be an invalid value. What version of Woo are you using?

    Kind Regards

    Thread Starter esedic

    (@esedic)

    I’m using WooCommerce 9.9.4

    Plugin Author Clayton R

    (@mrclayton)

    Hi @esedic

    The Link console notice you see is unrelated to the currency error where the currency value is .. Can you share a product page url to your site so we can take a look?

    Kind Regards

    Thread Starter esedic

    (@esedic)

    If I disable Link the errors are gone.

    Here is the product page URL: mydomain.com/product/server-knx/ (shop is still in development)

    Link is currently enabled.

    • This reply was modified 11 months, 3 weeks ago by esedic. Reason: Hiding dev URL
    Plugin Author Clayton R

    (@mrclayton)

    If I disable Link the errors are gone.

    Including the currency error you reported?

    The only error I observed on your checkout page was this one:

    You cannot call stripe.linkAutofillModal without supplying an appropriate beta flag when initializing Stripe.js.

    I was not able to replicate the currency error you reported.

    • This reply was modified 11 months, 3 weeks ago by Clayton R.
    Thread Starter esedic

    (@esedic)

    Currency error happens only for registered users.
    I figure you didn’t create an account.

    And yes, if I disable Link, both errors are gone.

    • This reply was modified 11 months, 3 weeks ago by esedic.
    Plugin Author Clayton R

    (@mrclayton)

    Hi @esedic

    I registered with an account and was able to process order #694 and didn’t encounter the currency error.

    We’re going to be releasing our new Link integration either later today or tomorrow so that Link authentication notice will go away in the next release.

    Kind Regards

    Thread Starter esedic

    (@esedic)

    Strange, now I’m also not getting currency error and I was seeing it every time I tried to checkout.

    I’m looking forward for an update.

    Thank you for taking a look at this.

    Plugin Author Clayton R

    (@mrclayton)

    Hi @esedic

    Wanted to give you an update. The release will be coming out tomorrow, 6/20. We wanted to run some more testing before release so pushed it out one more day.

    Kind Regards,

    Plugin Author Clayton R

    (@mrclayton)

    Version 3.3.89 has been released.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Erros’ is closed to new replies.