Odoo Help


Paypal Button. in eCommerce.

on 10/12/14, 9:36 PM 2,137 views

Hello Good Day,

I having hard time to deal with paypal integration in my odoo.


i buy product in website then I input my Invoice Address and Delivery address in Shop webpage. Now when i open Sales.Order in User's Portal the Paypal Button there is not clickable.  And also in the paypal button there is something Warning message like This One

Pay safely online

 <input type="hidden" name="business" value="jtipon8321-facilitator@gmail.com"/> <input type="hidden" name="email" value="andres@gmail.com"/>




and this is my actual architecture for Paypal.


<?xml version="1.0"?>

<t t-name="payment_paypal.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="tx_values['cmd']"/>

<input type="hidden" name="business" t-att-value="tx_values['business']"/>

<input type="hidden" name="item_name" t-att-value="tx_values['item_name']"/>

<input type="hidden" name="item_number" t-att-value="tx_values['item_number']"/>

<input type="hidden" name="amount" t-att-value="tx_values['amount'] or '0.0'"/>

<input t-if="'handling' in tx_values" type="hidden" name="handling" t-att-value="tx_values.get('handling')"/>

<input type="hidden" name="currency_code" t-att-value="tx_values['currency_code']"/>

<!-- partner / address data -->

<input type="hidden" name="address1" t-att-value="tx_values['address1']"/>

<input type="hidden" name="city" t-att-value="tx_values['city']"/>

<input type="hidden" name="country" t-att-value="tx_values['country']"/>

<input type="hidden" name="email" t-att-value="tx_values['email']"/>

<input type="hidden" name="first_name" t-att-value="tx_values['first_name']"/>

<input type="hidden" name="last_name" t-att-value="tx_values['last_name']"/>

<input type="hidden" name="zip" t-att-value="tx_values['zip']"/>

<!-- after payment parameters -->

<input t-if="tx_values.get(&quot;custom&quot;)" type="hidden" name="custom" t-att-value="tx_values.get(&quot;custom&quot;)"/> <!-- URLs -->

<input t-if="tx_values.get('return')" type="hidden" name="return" t-att-value="tx_values.get('return')"/>

<input t-if="acquirer.paypal_use_ipn" type="hidden" name="notify_url" t-att-value="tx_values.get('notify_url')"/>

<input t-if="tx_values.get('cancel_return')" type="hidden" name="cancel_return" t-att-value="tx_values.get('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> </t>





On 11/6/14, 8:51 AM

Are you using the Payment_acquirer for Paypal? you find it searching for module


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 10/12/14, 9:36 PM
Seen: 2137 times
Last updated: 3/30/16, 5:44 PM