Current Google Charts API for QR Codes deprecated

Created on 18 April 2024, 2 months ago
Updated 20 April 2024, 2 months ago

Problem/Motivation

The API url for generating QR codes no longer works. There is a message from Google that the current API is deprecated. Please see https://developers.google.com/chart/infographics/docs/qr_codes

The URLs are throwing a 404 now, so the functionality of QR codes is not working anymore.

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇷🇴Romania bbu23

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @bbu23
  • First commit to issue fork.
  • 🇸🇮Slovenia borutpiletic

    @bbu23 Thanks for reporting!

    Quick fix to get the qrcode back working: plugin needs to be switched from Google Chart plugin to "QR Code Generator (goQR.me)" in your field storage settings "QR code service plugin".

    I have opened a MR which should remove deprecated service and switch all existing fields to use working "goqr" plugin. After applying patch run drush updb.

    When possible I will add additional plugin using a PHP library instead of service for creating qrcode as a default plugin.

  • Status changed to Needs review 2 months ago
  • 🇸🇮Slovenia borutpiletic

    This patch should apply to latest alpha-8.

  • 🇷🇴Romania bbu23

    Hi @borutpiletic,

    Thank you for the quick reply. Indeed, in the meantime I explored the alternative option and did change manually the field settings, and works as expected with the other provider. Will have to test the MR as well for when we don't switch manually. Thanks!!

Production build 0.69.0 2024