How to include Paypal commission in the price of goods (Html ​​button)? or configured in your account?

<form class="payment-system-form" {{ data.formId is defined ? 'id="' ~ data.formId ~'"'}}method="post" action="{{ data.test is defined and data.test ? data.testAction|default('') : data.action|default('') }}"> {% set currency_code = {'rub': 'RUB', 'usd': 'USD'} %} <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="{{ data.shopId }}"> <input type="hidden" name="item_name" value="{{ data.orderId|default('') }}"> <input type="hidden" name="item_number" value="{{ data.comment|default('') }}"> <input type="hidden" name="amount" value="{{ data.total|default('') }}"> <INPUT TYPE="hidden" name="charset" value="utf-8"> <input type="hidden" name="currency_code" value="{{ attribute(currency_code, currency) }}"> <input type="hidden" name="tax_cart" value="3%"> <input type="hidden" name="handling" value="0"> <input type="hidden" name="no_note" value="1"> <input type="hidden" name="email" value="{{ data.touristEmail|default('') }}"> {% include 'MBHClientBundle:PaymentSystem:button.html.twig' with {'data': data} %} {#{{ attribute(currency_code, currency) }}#} </form> 
  • And what a cms we are not psychics - Naumov
  • it's not cms :) symfony, Twig template engine. interested in working with Paypal api (HTML Button) developer.paypal.com/docs/classic/ipn/integration-guide/… - GG-FD
  • one
    @Alex we did the same editing at the same time - Naumov
  • Give a link to the PayPal module documentation. - Vadim Bondarenko

0