#stripe_connect_platform_nested
1 messages · Page 1 of 1 (latest)
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
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?
no, customer_update and customer are separate params
session_hash[:customer_update][:address] = 'auto'
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.