We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It's only a warning until the API options are configured, but when first activated we get the following annoying notice message:
This is because the constant is only defined after the api options have been set
if ( ! empty( $options['stripe_api_switch'] ) ) { if ( $options['stripe_api_switch'] === 'Yes') { Stripe::setApiKey( $options['stripe_test_api'] ); define( 'WP_STRIPE_KEY', $options['stripe_test_api_publish'] ); } else { Stripe::setApiKey( $options['stripe_prod_api'] ); define( 'WP_STRIPE_KEY', $options['stripe_prod_api_publish'] ); } }
The text was updated successfully, but these errors were encountered:
Thanks for the bug report!
Sorry, something went wrong.
Yep, just got this on first install.
WP_STRIPE_KEY: Prevent assumed WP_STRIPE_KEY
416867c
by checking whether the constant is defined or else giving null. Fixes humanmade#25.
No branches or pull requests
It's only a warning until the API options are configured, but when first activated we get the following annoying notice message:
This is because the constant is only defined after the api options have been set
The text was updated successfully, but these errors were encountered: