~singpolyma/sgx-jmp

sgx-jmp/forms/migrate_billing.rb -rw-r--r-- 1.0 KiB
cd3111beStephen Paul Weber Merge branch 'snikket' 18 hours ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
form!
title "Switch from PayPal or expired trial"
instructions <<~I
	This command will allow you to switch from your legacy PayPal or trial billing to the new pre-paid balance system.

	PayPal users will receive credit equivalent to one free month after migrating.  PLEASE be sure to contact support after you are done and let them know your PayPal email address.
I

field(
	var: "activation_method",
	type: "list-single",
	label: "Choose a payment method to deposit your first " \
	       "$#{CONFIG[:activation_amount]}",
	required: true,
	options: [
		{
			value: "credit_card",
			label: "Credit Card"
		},
		{
			value: "bitcoin",
			label: "Bitcoin"
		},
		{
			value: "mail",
			label: "Mail or Interac e-Transfer"
		}
	]
)

field(
	var: "plan_name",
	type: "list-single",
	label: "What currency should your account balance be in?",
	required: true,
	options: [
		{
			value: "cad_beta_unlimited-v20210223",
			label: "Canadian Dollars"
		},
		{
			value: "usd_beta_unlimited-v20210223",
			label: "United States Dollars"
		}
	]
)