Title: Add PayPal fee
Last modified: May 29, 2022

---

# Add PayPal fee

 *  Resolved [tubedes](https://wordpress.org/support/users/tubedes/)
 * (@tubedes)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/add-paypal-fee/)
 * Hi
    Im using this plugin and it’s great. [https://wordpress.org/plugins/woo-order-export-lite/](https://wordpress.org/plugins/woo-order-export-lite/)
 * Hiw to add PayPal fee?
    I think it’s a great plugin if I can add PayPal fee. 
   Thank you

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/add-paypal-fee/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/add-paypal-fee/page/2/?output_format=md)

 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/add-paypal-fee/#post-15690375)
 * hi
 * Could you try >Setup Fields>Common>Add Field and seek for necessary key in the
   dropdown?
    thanks, Alex
 *  Thread Starter [tubedes](https://wordpress.org/support/users/tubedes/)
 * (@tubedes)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/add-paypal-fee/#post-15690766)
 * Thank you for your reply.
    But I couldn’t find “PayPal fee” in the drop-down 
   menu! Which one should I select and which meta key should I write?
 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/add-paypal-fee/#post-15690787)
 * what PayPal plugin do you use ?
 *  Thread Starter [tubedes](https://wordpress.org/support/users/tubedes/)
 * (@tubedes)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/add-paypal-fee/#post-15690860)
 * I’m using **WooCommerce PayPal Payments**
 * What I need to export : PayPal payout
    Please see this picture
 * [https://ibb.co/zsDBqhC](https://ibb.co/zsDBqhC)
 * Thank you
 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/add-paypal-fee/#post-15690925)
 * try key _ppcp_paypal_fees
 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/add-paypal-fee/#post-15690930)
 * You must open section “Misc Settings” and add this code too
    ​
 *     ```
       add_filter('woe_get_order_value__ppcp_paypal_fees',function ($value, $order,$fieldname) {
       $data = maybe_unserialize($value);
       if( isset($data['net_amount']['value']) )
         $value = $data['net_amount']['value'];
       return $value;
       },10,3);
       ```
   
 *  [long267](https://wordpress.org/support/users/long267/)
 * (@long267)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/add-paypal-fee/#post-15788916)
 * May I know where to open the section “Misc Settings”?
 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/add-paypal-fee/#post-15788953)
 * Hi
 * Please, scroll the page to bottom.
 * This section is just above button Preview.
 *  [long267](https://wordpress.org/support/users/long267/)
 * (@long267)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/add-paypal-fee/#post-15789028)
 * Thank you so much! I added the code but I can not find the key _ppcp_paypal_fees.
 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/add-paypal-fee/#post-15789043)
 * Just type it in textbox.
 * Look at 1st screesnhot at page [https://docs.algolplus.com/algol_order_export/fields/](https://docs.algolplus.com/algol_order_export/fields/)
 *  [long267](https://wordpress.org/support/users/long267/)
 * (@long267)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/add-paypal-fee/#post-15789066)
 * It didn’t work. Please help me to check if I setup anything wrong
    [https://ibb.co/dgH220d](https://ibb.co/dgH220d)
 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/add-paypal-fee/#post-15789320)
 * So you pressed “Confirm” and dragged new field to left column , but new column
   is empty?
 * do you use ” WooCommerce PayPal Payments” ?
 *  [vaultkeeper](https://wordpress.org/support/users/vaultkeeper/)
 * (@vaultkeeper)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/add-paypal-fee/#post-15898951)
 * Hi! Love this plugin! I wish to add PayPal Fee as well. I followed the instructions
   above which worked – sorta. I used the key _ppcp_paypal_fees in and added the
   extra code. But instead of giving the PayPal Fee in a column, it is giving the
   PayPal Payout. Weird. Is there a way to get the negative amount that I am looking
   for?
 * Also what is the proper Field format to use for this key? I am exporting to XLS.
   Thank you
 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/add-paypal-fee/#post-15899505)
 * Hello
 * 1. please, run PhpMyAdmin , open table wp_postmeta , find meta_key = _ppcp_paypal_fees
   and copy/paste value to this ticket.
 * 2. you should use Money.
 * thanks, Alex
 *  [vaultkeeper](https://wordpress.org/support/users/vaultkeeper/)
 * (@vaultkeeper)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/add-paypal-fee/#post-15901865)
 * Hi Alex, Well I tried to do #1. I’m lost. Don’t know a lot about PhpMyAdmin. 
   Found it in site tools with my hosting company and tried a plugin to do the find
   meta_key = _ppcp_paypal_fees search and get the value. I cant figure out how 
   to search, so I manually looked around and found something in the table wplt_postmeta.
   Cant find the wp_postmeta table, so not sure if it is right. From what I can 
   see, this is the value given for one transaction. Can you pull what you need 
   from it or do I need to look again? If I need to look again, may I please have
   some guidance?
 * a:3:{s:12:”gross_amount”;a:2:{s:13:”currency_code”;s:3:”USD”;s:5:”value”;s:5:”
   40.00″;}s:10:”paypal_fee”;a:2:{s:13:”currency_code”;s:3:”USD”;s:5:”value”;s:4:”
   2.49″;}s:10:”net_amount”;a:2:{s:13:”currency_code”;s:3:”USD”;s:5:”value”;s:5:”
   37.51″;}}

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/add-paypal-fee/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/add-paypal-fee/page/2/?output_format=md)

The topic ‘Add PayPal fee’ is closed to new replies.

 * ![](https://ps.w.org/woo-order-export-lite/assets/icon-256x256.png?rev=1365554)
 * [Advanced Order Export For WooCommerce](https://wordpress.org/plugins/woo-order-export-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-order-export-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-order-export-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-order-export-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-order-export-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-order-export-lite/reviews/)

 * 18 replies
 * 4 participants
 * Last reply from: [algol.plus](https://wordpress.org/support/users/algolplus/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/add-paypal-fee/page/2/#post-15902136)
 * Status: resolved