#stripe_connect_platform_nested

1 messages · Page 1 of 1 (latest)

oak summit
#

you'd want something like session_hash[:customer_update][:address] = 'auto'

#

or session_hash[:customer_update] = {address: 'auto'}, if you haven't already initialized session_hash[:customer_update]

#

the value for :customer_update is just a normal ruby hash

#

there's no special syntax here

rugged oyster
#

In the main session has that has :success_url, the key :customer_update is at the same level as :success_url or is it nested in :customer?

#

like a line_items hash is nested in :line_items?

oak summit
#

no, customer_update and customer are separate params

rugged oyster
#

session_hash[:customer_update][:address] = 'auto'

oak summit
rugged oyster
#

session_hash[:customer_update] = {address: 'auto', shipping: 'auto'}

#

Got it!

#

Thank you for your help on a Sunday!👍