mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +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
|
site.save_changes validate: false
|
||||||
else
|
else
|
||||||
customer = Stripe::Customer.create(
|
customer = Stripe::Customer.create(
|
||||||
card: params[:stripe_token],
|
source: params[:stripe_token],
|
||||||
description: "#{site.username} - #{site.id}",
|
description: "#{site.username} - #{site.id}",
|
||||||
email: site.email,
|
email: site.email,
|
||||||
plan: plan_type
|
plan: plan_type
|
||||||
|
|
Loading…
Add table
Reference in a new issue