mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
parent site for card change
This commit is contained in:
parent
73607a5dfc
commit
52fb279fed
1 changed files with 1 additions and 1 deletions
|
@ -314,7 +314,7 @@ end
|
|||
post '/settings/update_card' do
|
||||
require_login
|
||||
|
||||
customer = Stripe::Customer.retrieve current_site.stripe_customer_id
|
||||
customer = Stripe::Customer.retrieve parent_site.stripe_customer_id
|
||||
|
||||
old_card_ids = customer.sources.collect {|s| s.id}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue