Body: <p>I use CiviCRM 4.7.23, Drupal 7.56</p>
  <p>I try set a payment processor: PayPal. I use my CiviCRM in Poland, where decimal delimiter is &quot;,&quot;. After test transaction on paypal i see this in logs:</p>
  <blockquote>
  <p>$Fatal Error Details = array(3) { [&quot;message&quot;]=&gt; string(40) &quot;fee_amount is not a valid amount: 29.80&quot; [&quot;code&quot;]=&gt; NULL [&quot;exception&quot;]=&gt; object(CiviCRM_API3_Exception)#181 (8) { [&quot;extraParams&quot;:&quot;CiviCRM_API3_Exception&quot;:private]=&gt; array(3) { [&quot;is_error&quot;]=&gt; int(1) [&quot;error_message&quot;]=&gt; string(40) &quot;fee_amount is not a valid amount: 29.80&quot; [&quot;error_code&quot;]=&gt; string(9) &quot;undefined&quot; } [&quot;message&quot;:protected]=&gt; string(40) &quot;fee_amount is not a valid amount: 29.80&quot; [&quot;string&quot;:&quot;Exception&quot;:private]=&gt; string(0) &quot;&quot; [&quot;code&quot;:protected]=&gt; int(0) [&quot;file&quot;:protected]=&gt; string(93) &quot;/home/sol/domains/staroflife.hekko24.pl/public_html/dev/sites/all/modules/civicrm/api/api.php&quot; [&quot;line&quot;:protected]=&gt; int(45) [&quot;trace&quot;:&quot;Exception&quot;:private]=&gt; array(13) { [0]=&gt; array(4) { [&quot;file&quot;]=&gt; string(117) &quot;/home/sol/domains/staroflife.hekko24.pl/public_html/dev/sites/all/modules/civicrm/CRM/Contribute/BAO/Contribution.php&quot; [&quot;line&quot;]=&gt; int(4693) [&quot;function&quot;]=&gt; string(12) &quot;civicrm_api3&quot; [&quot;args&quot;]=&gt; array(3) { [0]=&gt; string(12) &quot;Contribution&quot; [1]=&gt; string(6) &quot;create&quot; [2]=&gt; array(11) { [&quot;contribution_status_id&quot;]=&gt; int(1) [&quot;source&quot;]=&gt; string(40) &quot;Transakcja online: Pomóż nam pomagać!&quot; [&quot;is_test&quot;]=&gt; int(1) [&quot;fee_amount&quot;]=&gt; string(5) &quot;29.80&quot; [&quot;net_amount&quot;]=&gt; NULL [&quot;trxn_id&quot;]=&gt; string(17) &quot;7F503721X74500702&quot; [&quot;payment_processor&quot;]=&gt; string(1) &quot;8&quot; [&quot;payment_instrument_id&quot;]=&gt; string(1) &quot;1&quot; [&quot;receive_date&quot;]=&gt; string(14) &quot;20170903013615&quot; [&quot;id&quot;]=&gt; string(2) &quot;86&quot; [&quot;version&quot;]=&gt; int(3) } } } [1]=&gt; array(6) { [&quot;file&quot;]=&gt; string(110)</p>
  <p>and more, more text here <a href="https://staroflife-my.sharepoint.com/personal/lewandowski_marcin_staroflife_pl/_layouts/15/guestaccess.aspx?docid=0025a0d10dbea4f9d9145381c2595ddeb&amp;authkey=AYd_FW8zlLwY2fA5i0Lebd8" rel="nofollow noreferrer">https://staroflife-my.sharepoint.com/personal/lewandowski_marcin_staroflife_pl/_layouts/15/guestaccess.aspx?docid=0025a0d10dbea4f9d9145381c2595ddeb&amp;authkey=AYd_FW8zlLwY2fA5i0Lebd8</a></p>
  </blockquote>
  <p>How i can change decimal delimiter only for PayPal. Ideally, something would convert a dot to a comma after receiving a return message.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-04T22:36:45.227Z
Comments.Text: Can you post the more, more text - even if you post in a pastebin & link to it - the important part is in the more test
Comments.UserDisplayName: user4278
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-05T00:20:42.610Z
Comments.Text: All errors i insert in this file. https://staroflife-my.sharepoint.com/personal/lewandowski_marcin_staroflife_pl/_layouts/15/guestaccess.aspx?docid=0025a0d10dbea4f9d9145381c2595ddeb&authkey=AYd_FW8zlLwY2fA5i0Lebd8
Comments.UserDisplayName: Marcin Lewandowski
Tags: <civicontribute><paypal>
Title: Paypal IPN - decimal delimiter change
ThreadText: # Paypal IPN - decimal delimiter change
  
  (Asked by: username_0 on 2017-09-04)
  
  I use CiviCRM 4.7.23, Drupal 7.56
  
  I try set a payment processor: PayPal. I use my CiviCRM in Poland, where decimal delimiter is ",". After test transaction on paypal i see this in logs:
  
  > $Fatal Error Details = array(3) { ["message"]=> string(40) "fee\_amount is not a valid amount: 29.80" ["code"]=> NULL ["exception"]=> object(CiviCRM\_API3\_Exception)#181 (8) { ["extraParams":"CiviCRM\_API3\_Exception":private]=> array(3) { ["is\_error"]=> int(1) ["error\_message"]=> string(40) "fee\_amount is not a valid amount: 29.80" ["error\_code"]=> string(9) "undefined" } ["message":protected]=> string(40) "fee\_amount is not a valid amount: 29.80" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(93) "/home/sol/domains/staroflife.hekko24.pl/public\_html/dev/sites/all/modules/civicrm/api/api.php" ["line":protected]=> int(45) ["trace":"Exception":private]=> array(13) { [0]=> array(4) { ["file"]=> string(117) "/home/sol/domains/staroflife.hekko24.pl/public\_html/dev/sites/all/modules/civicrm/CRM/Contribute/BAO/Contribution.php" ["line"]=> int(4693) ["function"]=> string(12) "civicrm\_api3" ["args"]=> array(3) { [0]=> string(12) "Contribution" [1]=> string(6) "create" [2]=> array(11) { ["contribution\_status\_id"]=> int(1) ["source"]=> string(40) "Transakcja online: Pomóż nam pomagać!" ["is\_test"]=> int(1) ["fee\_amount"]=> string(5) "29.80" ["net\_amount"]=> NULL ["trxn\_id"]=> string(17) "7F503721X74500702" ["payment\_processor"]=> string(1) "8" ["payment\_instrument\_id"]=> string(1) "1" ["receive\_date"]=> string(14) "20170903013615" ["id"]=> string(2) "86" ["version"]=> int(3) } } } [1]=> array(6) { ["file"]=> string(110)
  >
  > and more, more text here <https://staroflife-my.sharepoint.com/personal/lewandowski_marcin_staroflife_pl/_layouts/15/guestaccess.aspx?docid=0025a0d10dbea4f9d9145381c2595ddeb&authkey=AYd_FW8zlLwY2fA5i0Lebd8>
  
  How i can change decimal delimiter only for PayPal. Ideally, something would convert a dot to a comma after receiving a return message.
  
  **Tags:** civicontribute, paypal
  
  > **Comments:**
  > **username_1**: Can you post the more, more text - even if you post in a pastebin & link to it - the important part is in the more test  
  > **username_0**: All errors i insert in this file. https://staroflife-my.sharepoint.com/personal/lewandowski_marcin_staroflife_pl/_layouts/15/guestaccess.aspx?docid=0025a0d10dbea4f9d9145381c2595ddeb&authkey=AYd_FW8zlLwY2fA5i0Lebd8  
  
  ---
  
  ## 0 answers
  
  