Support » Plugin: Paid Memberships Pro » invoice api

  • Resolved sharonbendavar


    i want to use a 3rd invoice that i use for my business
    is there a way for me to connect it to pmpro for it to:
    1:be sent upon payment to subscribers
    2: be displayed in the invoices page for the user in the site?

    thank you very much for the help!

Viewing 1 replies (of 1 total)
  • Plugin Author Jason Coleman


    Hi there.

    You can use our email templates add on here to change the content of the confirmation email:

    This might be enough to insert the stuff you need for your invoice.

    You can use the pmpro_invoice_bullets_top or pmpro_invoice_bullets_bottom hooks to add some information into the PMPro invoices page. Or you can add your own copy above and below the PMPro shortcode on that page and add information that way.

    You can look into our Zapier integration and use Zapier to kick of your emails.

    Otherwise, there are some ways to do this programmatically.

    Hook into the pmpro_order_added action and then send your invoice. Or use the pmpro_email_filter filter (return the $email param so the original email still sends) and kick off your email there.

    I hope this gives you some ideas.

Viewing 1 replies (of 1 total)
  • The topic ‘invoice api’ is closed to new replies.