Bojan Zivanovic
Bojan Zivanovic
Tweaked and committed in cf9e73a7d274ad05c5f1f5def8e00ffb0d7240b7. Cheers!
Agreed. If we want to support key rollover on the app side for OpenID Connect (something that Google does for its implementation), we need a way to stick the key...
We'll either need to add a $kid param to encode() as well, or make the private key an array / object, no?
You probably missed this part: https://github.com/drupalcommerce/project-base/blob/8.x/composer.json#L17 The repo is not on any packagist, hence the need for its own entry.
There is a code sample at https://www.drupal.org/project/commerce/issues/2911567
``` https://www.drupal.org/project/commerce_shipping_paczkomaty https://www.drupal.org/project/commerce_dellin ```
Can you clarify how this work differs from the one in #16?
The currency.Formatter has a Parse method you can use to get the amount and currency code. It's basically meant to be the opposite of Format(). It would not give you...
There's an example in GoDoc: https://pkg.go.dev/github.com/bojanz/currency#example-Formatter.Parse
Happy to evaluate a PR that would add pq support! Won't be working on one myself because pg is in maintenance mode and recommends users use pgx when possible.