feat: Prepare to use Stripe a checkout component

This commit is contained in:
kbe
2025-08-30 14:57:33 +02:00
parent 055640b73e
commit 476438c5c4
9 changed files with 294 additions and 42 deletions

View File

@@ -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"