upgrades: temporarily disable Gold account upgrades.
Disable upgrades while we migrate away from Stripe.
This commit is contained in:
@@ -60,9 +60,7 @@
|
|||||||
purchase with us. This information includes your credit card number,
|
purchase with us. This information includes your credit card number,
|
||||||
security code, and expiration date, your email address, your location
|
security code, and expiration date, your email address, your location
|
||||||
(such as your country, your postal code, your billing address, and your
|
(such as your country, your postal code, your billing address, and your
|
||||||
location at time of purchase), and your IP address. All payment
|
location at time of purchase), and your IP address.
|
||||||
information is securely stored by Stripe. You may find their privacy
|
|
||||||
policy at <%= external_link_to "https://stripe.com/privacy" %>.
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
<% page_title "Account Upgrade" %>
|
<% page_title "Account Upgrade" %>
|
||||||
<% meta_description "Upgrade to a Gold account." %>
|
<% meta_description "Upgrade to a Gold account." %>
|
||||||
<script src="https://js.stripe.com/v3/"></script>
|
|
||||||
|
|
||||||
<%= render "users/secondary_links" %>
|
<%= render "users/secondary_links" %>
|
||||||
|
|
||||||
@@ -98,10 +97,10 @@
|
|||||||
<td></td>
|
<td></td>
|
||||||
<% if @user_upgrade.purchaser.is_anonymous? %>
|
<% if @user_upgrade.purchaser.is_anonymous? %>
|
||||||
<td><%= link_to "Login", login_path(url: new_user_upgrade_path), class: "login-button button-primary" %></td>
|
<td><%= link_to "Login", login_path(url: new_user_upgrade_path), class: "login-button button-primary" %></td>
|
||||||
<td><%= link_to "Get #{Danbooru.config.canonical_app_name} Gold", login_path(url: new_user_upgrade_path), class: "login-button button-primary" %></td>
|
<td><%= button_to "Get #{Danbooru.config.canonical_app_name} Gold", nil, class: "button-primary", disabled: true %></td>
|
||||||
<% elsif @recipient.level == User::Levels::MEMBER %>
|
<% elsif @recipient.level == User::Levels::MEMBER %>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td><%= button_to "Get #{Danbooru.config.canonical_app_name} Gold", user_upgrades_path(user_id: @recipient.id, upgrade_type: "gold", country: params[:country], promo: params[:promo]), class: "button-primary", remote: true, disable_with: "Redirecting..." %></td>
|
<td><%= button_to "Get #{Danbooru.config.canonical_app_name} Gold", nil, class: "button-primary", disabled: true %></td>
|
||||||
<% else %>
|
<% else %>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td><%= button_to "Get #{Danbooru.config.canonical_app_name} Gold", nil, class: "button-primary", disabled: true %></td>
|
<td><%= button_to "Get #{Danbooru.config.canonical_app_name} Gold", nil, class: "button-primary", disabled: true %></td>
|
||||||
|
|||||||
Reference in New Issue
Block a user