• Resolved ahamaton

    (@ahamaton)


    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

    (@andrewza)

    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.

    Thread Starter ahamaton

    (@ahamaton)

    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

    (@andrewza)

    You’re most welcome! πŸ™‚

    It shouldn’t be too much as it would be a 5 – 10 minute job.

    Thread Starter ahamaton

    (@ahamaton)

    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

    (@ahamaton)

    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

    (@ahamaton)

    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 this

    Thread Starter ahamaton

    (@ahamaton)

    I’m trying to reopen this thread but not sure its working

    Thread Starter ahamaton

    (@ahamaton)

    ah I think its working now

    Plugin Author Andrew Lima

    (@andrewza)

    Hi @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.
    Thread Starter ahamaton

    (@ahamaton)

    I am so stressed with this but you are always such a legend Andrew, thanks !!

    Plugin Author Andrew Lima

    (@andrewza)

    You’re most welcome πŸ™‚

    Keep me posted. All the best!

    Thread Starter ahamaton

    (@ahamaton)

    I’ll close this as resolved πŸ‘Œ

    Plugin Author Andrew Lima

    (@andrewza)

    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

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

The topic ‘invoice’ is closed to new replies.