- Issue created by @marchuk.vitaliy
- π³πΏNew Zealand davidwhthomas
Firstly, thanks for the useful module.
I tried to add a restricted key but the commerce_stripe payment gateway configuration requires the "Publishable key" as well. The restricted key _is_ the secret key and is not a publishable key.
I tried a placeholder "restricted_key" for the publishable key, just to test, and set to test mode.
On saving the restricted key, there is an error "The provided secret key is not for the selected mode (test)."
- π¬π§United Kingdom newaytech
I thought using restricted keys would be a security improvement - so gave it a try. I used the same key for both fields - but then got the following error in the JS console:
Uncaught IntegrationError: You should not use a restricted key with Stripe.js.
Please pass a publishable key instead.I'll revert to using a Publishable key - and lock down by IP...