mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
change source to card for stripe customer create which changed at some point apparently
This commit is contained in:
parent
830d5cb713
commit
2eab561a28
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ post '/supporter/update' do
|
|||
site.save_changes validate: false
|
||||
else
|
||||
customer = Stripe::Customer.create(
|
||||
card: params[:stripe_token],
|
||||
source: params[:stripe_token],
|
||||
description: "#{site.username} - #{site.id}",
|
||||
email: site.email,
|
||||
plan: plan_type
|
||||
|
|
Loading…
Add table
Reference in a new issue