We’ve recently run Google lighthouse for one of our sites and noticed that it is complaining about a deprecated API, namely PayPal’s SDK JS which we use to display their payment buttons.
I probably haven’t had enough coffee today but I can’t see an updated version / URL of this javascript file and we’re not hosting it locally, instead getting it directly from source.
https://www.paypal.com/sdk/js?currency=GBP&commit=false&components=messages,buttons,funding-eligibility&enable-funding=paylater&disable-funding=card,credit&client-id=xxx
Any suggestions as to what we’re doing wrong or is it a false positive? I feel I’m missing something really obvious!
Ed