invoice
-
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
-
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
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.
Fantastic, I will have to ask a developer to do it but hopefully that will make it a bit cheaper. Thanks as always Andrew
You’re most welcome! π
It shouldn’t be too much as it would be a 5 – 10 minute job.
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 ?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
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”
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 thisI’m trying to reopen this thread but not sure its working
ah I think its working now
Hi @ahamaton,
Thank you for your patience.
I have reopened this thread.
You should be able to use the
get_user_metamethod to retrieve the custom fields that you’ve created on checkout for the client.All custom fields are saved in the
_usermetatable.What you can do is simply get the
$current_usermetadata 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.
I am so stressed with this but you are always such a legend Andrew, thanks !!
You’re most welcome π
Keep me posted. All the best!
I’ll close this as resolved π
Thanks @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
-
This reply was modified 9 years, 6 months ago by
The topic ‘invoice’ is closed to new replies.