Server IP : 127.0.0.2 / Your IP : 18.189.11.177 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_paypal/views/ |
Upload File : |
<?xml version="1.0" encoding="utf-8"?> <odoo> <data noupdate="1"> <template id="paypal_acquirer_button"> <form t-if="acquirer.paypal_email_account" t-att-action="tx_url" method="post" target="_self"> <input type="hidden" name="cmd" t-att-value="cmd"/> <input type="hidden" name="business" t-att-value="business"/> <input type="hidden" name="item_name" t-att-value="item_name"/> <input type="hidden" name="item_number" t-att-value="item_number"/> <input type="hidden" name="amount" t-att-value="amount"/> <input t-if="handling" type="hidden" name="handling" t-att-value="handling"/> <input type="hidden" name="currency_code" t-att-value="currency_code"/> <!-- partner / address data --> <input type="hidden" name="address1" t-att-value="address1"/> <input type="hidden" name="city" t-att-value="city"/> <input type="hidden" name="country" t-att-value="country"/> <input type="hidden" name="email" t-att-value="email"/> <input type="hidden" name="first_name" t-att-value="first_name"/> <input type="hidden" name="last_name" t-att-value="last_name"/> <input type="hidden" name="zip" t-att-value="zip_code"/> <input t-if='state' type='hidden' name="state" t-att-value='state'/> <!-- after payment parameters --> <input t-if='custom' type='hidden' name="custom" t-att-value='custom'/> <!-- URLs --> <input t-if="paypal_return" type='hidden' name='return' t-att-value="paypal_return"/> <input t-if="acquirer.paypal_use_ipn" type='hidden' name='notify_url' t-att-value="notify_url"/> <input t-if="cancel_return" type="hidden" name="cancel_return" t-att-value="cancel_return"/> <!-- submit --> <button type="submit" width="100px" t-att-class="submit_class"> <img t-if="not submit_txt" src="/payment_paypal/static/src/img/paypal_icon.png"/> <span t-if="submit_txt"><t t-esc="submit_txt"/> <span class="fa fa-long-arrow-right"/></span> </button> </form> </template> </data> </odoo>