1form!
2title "Activate JMP"
3
4instructions <<~I
5 You've selected #{@tel} as your JMP number.
6 To activate your account, you can either deposit $#{'%.2f' % (CONFIG[:activation_amount] + @tel.price)} to your balance or enter your referral code if you have one.
7 (If you'd like to pay in another cryptocurrency, currently we recommend using a service like simpleswap.io, morphtoken.com, changenow.io, or godex.io.)
8
9 After payment is complete, your number will be activated for inbound calls and texts. Calling out, or sending a text, will often be restricted until you receive at least one text from a person or port in a number.
10I
11
12field(
13 var: "activation_method",
14 type: "list-single",
15 label: "Activate using",
16 required: true,
17 options: [
18 {
19 value: "credit_card",
20 label: "Credit Card"
21 },
22 {
23 value: "bitcoin",
24 label: "Bitcoin"
25 },
26 {
27 value: "bch",
28 label: "Bitcoin Cash"
29 },
30 {
31 value: "code",
32 label: "Referral Code"
33 },
34 {
35 value: "mail",
36 label: "Mail or Interac e-Transfer"
37 }
38 ]
39)
40
41instance_eval File.read("#{__dir__}/plan_name.rb")
42
43field(
44 var: "code",
45 type: "text-single",
46 label: "Optional referral code"
47)