-
Notifications
You must be signed in to change notification settings - Fork 943
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
Show error if Stripe publishable key is not configured #1042
Conversation
src/translations/en.json
Outdated
@@ -552,6 +552,7 @@ | |||
"PayoutDetailsForm.lastNameLabel": "Last name", | |||
"PayoutDetailsForm.lastNamePlaceholder": "Doe", | |||
"PayoutDetailsForm.lastNameRequired": "This field is required", | |||
"PayoutDetailsForm.missingStripeKey": "You need to configure the Stripe publishable key to continue.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Providers see this message, so I think this should be changed to something like:
"Marketplace operator has not configured Stripe publishable key to this marketplace. Unfortunately, you can't publish listings yet."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change the message.
c7926f3
to
c98f00f
Compare
c98f00f
to
d56ea31
Compare
Show error in
PayoutDetailsForm
and inStripePaymentForm
if Stripe publishable key is not configured. This way the app will not crash e.g. if someone tries to publish a draft listing and the Stripe key is not configured yet.