mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
16 lines
587 B
Plaintext
16 lines
587 B
Plaintext
|
|
<%=
|
||
|
|
react_component(
|
||
|
|
'Billing',
|
||
|
|
{
|
||
|
|
tenantBilling: @tenant.tenant_billing,
|
||
|
|
prices: @prices,
|
||
|
|
createCheckoutSessionUrl: create_checkout_session_url,
|
||
|
|
billingUrl: get_url_for(method(:request_billing_page_url)),
|
||
|
|
manageSubscriptionUrl: Rails.application.stripe_manage_subscription_url,
|
||
|
|
stripeMonthlyLookupKey: Rails.application.stripe_monthly_lookup_key,
|
||
|
|
stripeYearlyLookupKey: Rails.application.stripe_yearly_lookup_key,
|
||
|
|
stripePublicKey: Rails.application.stripe_public_key,
|
||
|
|
authenticityToken: form_authenticity_token
|
||
|
|
}
|
||
|
|
)
|
||
|
|
%>
|