Title: invoice
Last modified: January 16, 2017

---

# invoice

 *  Resolved [ahamaton](https://wordpress.org/support/users/ahamaton/)
 * (@ahamaton)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/invoice-10/)
 * Hi
 * My customers are businesses
 * How do I add company information and tax id to the electonic invoice after payment
   is completed
 * If there is a solution not requiring coding that would be fantastic as otherwise
   I will need to pay a developer
 * Thanks

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/invoice-10/#post-8659543)
 * Hey there,
 * I have coded up a quick gist for you which should be really straight forward 
   into copy and replace text with your own and paste it into your themes active
   functions.php file.
 * Here is a link to the code – [https://gist.github.com/andrewlimaza/ffba6d2246aa3b71112b49fae65fcaaf](https://gist.github.com/andrewlimaza/ffba6d2246aa3b71112b49fae65fcaaf)
 * If you require assistance in implementation you may need to contact a web developer
   to assist you further or post on the paidmembershipspro.com members forum.
 * Thank you.
 *  Thread Starter [ahamaton](https://wordpress.org/support/users/ahamaton/)
 * (@ahamaton)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/invoice-10/#post-8659680)
 * Fantastic, I will have to ask a developer to do it but hopefully that will make
   it a bit cheaper. Thanks as always Andrew
 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/invoice-10/#post-8659769)
 * You’re most welcome! 🙂
 * It shouldn’t be too much as it would be a 5 – 10 minute job.
 *  Thread Starter [ahamaton](https://wordpress.org/support/users/ahamaton/)
 * (@ahamaton)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/invoice-10/#post-8710487)
 * Hey Andrew, I asked my developer to add this code and it seems the code doesnt
   achieve what I need however, I do think it is as simple as you have said but 
   for some reason my developer isnt quite getting it. Speaking over Skype isnt 
   always easy but I think you get it. Basically what I need is for the customers
   company and tax id to show in the invoice the seller sends.
    I would have thought
   there just needs to be two fields added to the billing details the customer enters
   when they checkout. Then their should be mail tags created by those fields that
   can be used in the invoice. I dont know if it is that simple but logically that’s
   what I would have thought. If that’s the case. How do I communicate that to her
   or do you have a better way to resolve this ?
 *  Thread Starter [ahamaton](https://wordpress.org/support/users/ahamaton/)
 * (@ahamaton)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/invoice-10/#post-8710494)
 * I can see it was my mistake above. I led you to believe I wanted my company name
   and tax id on the invoice. Its actually the customers company name and tax id
 *  Thread Starter [ahamaton](https://wordpress.org/support/users/ahamaton/)
 * (@ahamaton)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/invoice-10/#post-8714790)
 * My developer has tried to put this process in place and has actually created 
   errors that mean I cant take payment at all. I believe they are caused by the
   changes she has made have resulted in my them not sending the right information
   to Braintree’s payment gateway. I get this error “[https://developers.braintreepayments.com/reference/general/validation-errors/all/php&#8221](https://developers.braintreepayments.com/reference/general/validation-errors/all/php&#8221);
   
   I just wondered if it’s something you’re familiar with Unfortunately I’m working
   on a shoestring right now and as you’ve probably guessed I’m working with a cheap
   developer. I hope I can get through this
 *  Thread Starter [ahamaton](https://wordpress.org/support/users/ahamaton/)
 * (@ahamaton)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/invoice-10/#post-8714803)
 * I’m trying to reopen this thread but not sure its working
 *  Thread Starter [ahamaton](https://wordpress.org/support/users/ahamaton/)
 * (@ahamaton)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/invoice-10/#post-8714806)
 * ah I think its working now
 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/invoice-10/#post-8719209)
 * Hi [@ahamaton](https://wordpress.org/support/users/ahamaton/),
 * Thank you for your patience.
 * I have reopened this thread.
 * You should be able to use the `get_user_meta` method to retrieve the custom fields
   that you’ve created on checkout for the client.
 * All custom fields are saved in the `_usermeta` table.
 * What you can do is simply get the `$current_user` metadata and display it using
   the same hook above.
 * I’m sure your developer should be able to do this.
 * Please let me know if there is any further questions 🙂
    -  This reply was modified 9 years, 6 months ago by [Andrew Lima](https://wordpress.org/support/users/andrewza/).
 *  Thread Starter [ahamaton](https://wordpress.org/support/users/ahamaton/)
 * (@ahamaton)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/invoice-10/#post-8719329)
 * I am so stressed with this but you are always such a legend Andrew, thanks !!
 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/invoice-10/#post-8719340)
 * You’re most welcome 🙂
 * Keep me posted. All the best!
 *  Thread Starter [ahamaton](https://wordpress.org/support/users/ahamaton/)
 * (@ahamaton)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/invoice-10/#post-8719393)
 * I’ll close this as resolved 👌
 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/invoice-10/#post-8719455)
 * Thanks [@ahamaton](https://wordpress.org/support/users/ahamaton/),
 * If you require any further assistance – please feel free to open up a new support
   thread.
 * If you have 2 minutes to spare and found this support useful, please consider
   posting an honest review at [http://wordpress.org/support/view/plugin-reviews/paid-memberships-pro](http://wordpress.org/support/view/plugin-reviews/paid-memberships-pro)

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘invoice’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/paid-memberships-pro_f1dacb.svg)
 * [Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions](https://wordpress.org/plugins/paid-memberships-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/paid-memberships-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/paid-memberships-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/paid-memberships-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/paid-memberships-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/paid-memberships-pro/reviews/)

 * 13 replies
 * 2 participants
 * Last reply from: [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/invoice-10/#post-8719455)
 * Status: resolved