feat: Prepare to use Stripe a checkout component
This commit is contained in:
@@ -21,7 +21,5 @@ Rails.application.configure do
|
||||
}
|
||||
end
|
||||
|
||||
# Only set the API key if it exists
|
||||
if Rails.application.config.stripe[:secret_key].present?
|
||||
Stripe.api_key = Rails.application.config.stripe[:secret_key]
|
||||
end
|
||||
# Note: Stripe.api_key is NOT set here - it will be set during checkout process
|
||||
Rails.logger.info "Stripe configuration loaded - will initialize during checkout"
|
||||
Reference in New Issue
Block a user