• Hi All

    Hoping you can help me, i have a client who has approached me for help, they have custom field manager installed and the information is great for retrieving values.

    Do i use this same method to receive post meta for users first name amd last name etc, i need to create a better receipt system and invoice, for the invoice i will use after payment hook and for receipt i will use the receipt template to adjust it but i need to know how to get the details for the user who has just made the order, will get current user work? And the use the user id to return the post meta for this user? I have never used EDD and been looking at the developer API for hours but cant find what i am looking for.

    Any help wpuld be appreciated, thanks ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @jaydjohno

    Thanks for the detailed response.

    The invoice functionality which you are looking for is already available as add-on. You can easily find it on their official website.

    If you need user (Customer) details of any payment then you can get like below
    First get payment details like
    $payment = new EDD_Payment( $payment_id ); In this you will get all payment details.

    From it you can get customer details easily like
    $customer = new EDD_Customer( $payment->customer_id );

    I hope this will work for you.

    Hi @jaydjohno

    Any update on this please?

    Does it worked for you?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Development Help’ is closed to new replies.