Came back to this today and figured out the issue. When importing stripe from the client side, the library is limited:
[‘doc’, ‘file’, ‘loader’, ‘name’, ‘package’, ‘path’, ‘spec’, ‘_config’, ‘anvil’, ‘checkout’, ‘get_config’]
when importing the same library from the server, I see the full directory:
[‘Account’, ‘AccountLink’, ‘ApplePayDomain’, ‘ApplicationFee’, ‘ApplicationFeeRefund’, ‘Balance’, ‘BalanceTransaction’, ‘BankAccount’, ‘Capability’, ‘Card’, ‘CashBalance’, ‘Charge’, ‘CountrySpec’, ‘Coupon’, ‘CreditNote’, ‘CreditNoteLineItem’, ‘Customer’, ‘CustomerBalanceTransaction’, ‘CustomerCashBalanceTransaction’, ‘Dispute’, ‘EphemeralKey’, ‘ErrorObject’, ‘Event’, ‘ExchangeRate’, ‘File’, ‘FileLink’, ‘FileUpload’, ‘FundingInstructions’, ‘Invoice’, ‘InvoiceItem’, ‘InvoiceLineItem’, ‘LineItem’, ‘ListObject’, ‘LoginLink’, ‘Mandate’, ‘OAuth’, ‘OAuthErrorObject’, ‘PaymentIntent’, ‘PaymentLink’, ‘PaymentMethod’, ‘Payout’, ‘Person’, ‘Plan’, ‘Price’, ‘Product’, ‘PromotionCode’, ‘Quote’, ‘Refund’, ‘Reversal’, ‘Review’, ‘SearchResultObject’, ‘SetupAttempt’, ‘SetupIntent’, ‘ShippingRate’, ‘Source’, ‘SourceTransaction’, ‘Subscription’, ‘SubscriptionItem’, ‘SubscriptionSchedule’, ‘TaxCode’, ‘TaxId’, ‘TaxRate’, ‘Token’, ‘Topup’, ‘Transfer’, ‘UsageRecord’, ‘UsageRecordSummary’, ‘Webhook’, ‘WebhookEndpoint’, ‘WebhookSignature’, ‘_ApiVersion’, ‘builtins’, ‘cached’, ‘doc’, ‘file’, ‘loader’, ‘name’, ‘package’, ‘path’, ‘spec’, ‘absolute_import’, ‘abstract’, ‘account’, ‘account_link’, ‘api_base’, ‘api_key’, ‘api_requestor’, ‘api_resources’, ‘api_version’, ‘app_info’, ‘apple_pay_domain’, ‘application_fee’, ‘application_fee_refund’, ‘apps’, ‘balance’, ‘balance_transaction’, ‘bank_account’, ‘billing_portal’, ‘ca_bundle_path’, ‘capability’, ‘card’, ‘cash_balance’, ‘charge’, ‘checkout’, ‘client_id’, ‘connect_api_base’, ‘country_spec’, ‘coupon’, ‘credit_note’, ‘credit_note_line_item’, ‘customer’, ‘customer_balance_transaction’, ‘customer_cash_balance_transaction’, ‘default_http_client’, ‘dispute’, ‘division’, ‘enable_telemetry’, ‘ephemeral_key’, ‘error’, ‘error_object’, ‘event’, ‘exchange_rate’, ‘file’, ‘file_link’, ‘financial_connections’, ‘funding_instructions’, ‘http_client’, ‘identity’, ‘invoice’, ‘invoice_item’, ‘invoice_line_item’, ‘issuing’, ‘line_item’, ‘list_object’, ‘log’, ‘login_link’, ‘mandate’, ‘max_network_retries’, ‘multipart_data_generator’, ‘oauth’, ‘oauth_error’, ‘os’, ‘payment_intent’, ‘payment_link’, ‘payment_method’, ‘payout’, ‘person’, ‘plan’, ‘price’, ‘print_function’, ‘product’, ‘promotion_code’, ‘proxy’, ‘quote’, ‘radar’, ‘refund’, ‘reporting’, ‘request_metrics’, ‘reversal’, ‘review’, ‘search_result_object’, ‘set_app_info’, ‘setup_attempt’, ‘setup_intent’, ‘shipping_rate’, ‘sigma’, ‘source’, ‘source_transaction’, ‘stripe_object’, ‘stripe_response’, ‘subscription’, ‘subscription_item’, ‘subscription_schedule’, ‘tax’, ‘tax_code’, ‘tax_id’, ‘tax_rate’, ‘terminal’, ‘test_helpers’, ‘token’, ‘topup’, ‘transfer’, ‘treasury’, ‘upload_api_base’, ‘usage_record’, ‘usage_record_summary’, ‘util’, ‘verify_ssl_certs’, ‘version’, ‘webhook’, ‘webhook_endpoint’]