pippinsplugins/Easy-Digital-Downloads — pull request #605 by spencerfinnell (2012-12-20 02:27:12+00:00)
Title: Receipt Shortcode

See #495

Usage:

`[edd_receipt]`

Certain things can be turned off:

`[edd_receipt price="0" discount="0" products="0" date="0" payment_key="0" payment_method="0" payment_id="0" key="123123123"]`

If a purchase key isn't explicitly set, there are two options:

* Load from the current session (most recent payment)
* Load for the `?purchase_key` in the URL

### Todo

* Create a helper function to generate a "Receipt" link (`add_query_arg()` to success page)
* Something else I can't think of