21 lines
455 B
Plaintext
21 lines
455 B
Plaintext
|
<% # encoding: utf-8 %>
|
||
|
|
||
|
<%
|
||
|
data = action_data
|
||
|
@nkuht_donate = data["nkuht_donate"]
|
||
|
@xmldata = data["xmldata"]
|
||
|
%>
|
||
|
|
||
|
<% if @nkuht_donate.donation_way == '2' %>
|
||
|
|
||
|
<form method="post" action="https://eatm.firstbank.com.tw/acq/cardpay" id='my_form'>
|
||
|
<input type="hidden" name="CardPayRq" value="<%= @xmldata %>">
|
||
|
</form>
|
||
|
|
||
|
<script type="text/javascript">
|
||
|
document.getElementById("my_form").submit()
|
||
|
</script>
|
||
|
|
||
|
<% else %>
|
||
|
no data
|
||
|
<% end %>
|