Cleanup code and environment variables

This commit is contained in:
Maciej Szlosarczyk 2018-04-19 09:53:56 +03:00
parent d7dc1017b0
commit 1cca930744
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
12 changed files with 38 additions and 265 deletions

View file

@ -1,19 +0,0 @@
.row
.col-md-12
%h4= "Credit card payment successful"
%hr
%dl.dl-horizontal
%dt= t(:invoice)
%dd= @invoice.reference_no
%dt= "Card Type"
%dd= params['cc_type'].humanize
%dt= "Card Holder"
%dd= params['cc_holder_name']
%dt= "Card Last four digits"
%dd= params['cc_last_four_digits']
%dt= "Valid thru"
%dd= "#{params['cc_month']}/#{params['cc_year']}"

View file

@ -1,4 +0,0 @@
= form_tag "https://igw-demo.every-pay.com/transactions/", method: :post do
- @every_pay.keys.each do |k, v|
= hidden_field_tag(k, @every_pay[k])
= submit_tag t("registrar.invoices.to_card_payment")