parent site for card change

This commit is contained in:
Kyle Drake 2018-06-18 14:56:40 -07:00
parent 73607a5dfc
commit 52fb279fed

View file

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