Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stripe doesn't work ? #128

Open
Gunther-443 opened this issue Sep 12, 2023 · 3 comments
Open

Stripe doesn't work ? #128

Gunther-443 opened this issue Sep 12, 2023 · 3 comments

Comments

@Gunther-443
Copy link

Hello,

I can't get Stripe to work.
I have two SSL demo servers:

Vendure :

  • I added StripePlugin in vendure config.
  • Create a new PaymentMethod in the Admin UI, and select "Stripe payments" as the handler.
  • Set the webhook secret and API key in the PaymentMethod form.

storefront-qwik-starter :

  • I have filled in VITE_STRIPE_PUBLISHABLE_KEY

When it's time to pay, I get this error :
Error: This API call cannot be made with a publishable API key. Please use a secret API key. You can find a list of your API keys at https://dashboard.stripe.com/account/apikeys.
(I did fill in these fields in Vendure Admin UI)

I don't understand a word ...
Does anyone have any ideas?

Thanks

@prasmalla
Copy link
Contributor

you use publishable key in storefront and need the secret key in vendure admin

@Gunther-443
Copy link
Author

you use publishable key in storefront and need the secret key in vendure admin

Yes

@prasmalla
Copy link
Contributor

@Gunther-443 were you able to get it working and if so we can close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants