mirror of
https://github.com/neocities/neocities.git
synced 2025-07-23 02:56:05 +02:00
better card decline copy - catch renames with too long filenames/paths
This commit is contained in:
parent
623dfd05fc
commit
682f450561
2 changed files with 9 additions and 1 deletions
|
@ -55,7 +55,7 @@ post '/supporter/update' do
|
|||
plan: plan_type
|
||||
)
|
||||
rescue Stripe::CardError => e
|
||||
flash[:error] = "Error: #{Rack::Utils.escape_html e.message}"
|
||||
flash[:error] = "Error: #{Rack::Utils.escape_html e.message} This is likely caused by incorrect information, or an issue with your credit card. Please try again, or contact your bank."
|
||||
redirect '/supporter'
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue