• Resolved dsrt16

    (@dsrt16)


    When customizing the email, I put in this line:

    To print a copy of your receipt, go here: {receipt_link}.

    However, in order to see the receipt they have to log in, but I am not having my customers create a login.

    After they checkout, the receipt is on the Thank You page because I added this shortcode to my custom Thank You page: [edd_receipt]. The receipt shows up without any need for a log in on that page. But they can’t print out the receipt from there very easily, so I was hoping I could attach a copy of the receipt to the email.

    Is there not a way to have the receipt show in the email without the customer needing a login?

    Also, I am testing out my buy buttons. When I click on “Purchase,” it says it has been added to the cart, and the button switches to checkout. However, if I look at the cart, it still shows cart is empty until I click the checkout button. Is there a way to have the item go to the cart by clicking on purchase before checking out?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter dsrt16

    (@dsrt16)

    This one is still an issue and hasn’t been addressed. Any help with this please?

    Is it possible to have a copy of the receipt show in the purchase receipt email without having them login? The shortcode {receipt link} doesn’t work as that one just creates a link for the user to click on to then login.

    I just want the receipt in the body of the email text (the same receipt that appears on the Thank You page). Is there a shortcode I can add to the email that will do that?

    • This reply was modified 5 years, 7 months ago by dsrt16.
    • This reply was modified 5 years, 7 months ago by dsrt16.

    Hey there,

    You cannot give a link to a receipt without protecting it through a login.

    In your case, since you are using guest-mode (no user logins), the customer will only get their receipt immediately after they purchase, on the Purchase Confirmation screen. If they don’t print a copy of it there, there’s no built-in way for them to get a copy of it later, aside from creating a user account and logging in.

    Thread Starter dsrt16

    (@dsrt16)

    Well, that’s a bit silly. The email is called a purchase receipt, but it doesn’t even contain the receipt. I don’t want a link. It would be nice for the receipt to just be in the email.

    I don’t use user logins because that is pointless to me and seems like an extra cumbersome step for customers.

    Anyway, other than that this plugin is great. Is there any extension for the plugin that would allow the receipt to just appear in the email, no link needed? If not, then I will have to let that go. I just thought I would ask.

    You could build out all of the values of a receipt in the email using the template tags. Below I’ve pasted the template tags you can use to show data about the purchase in the email. You might be interested in using these fields to build out the values on a typical receipt, which will show in the email itself, no link needed:

    {date} – The date of the purchase
    {subtotal} – The price of the purchase before taxes
    {tax} – The taxed amount of the purchase
    {price} – The total price of the purchase
    {payment_id} – The unique ID number for this purchase
    {receipt_id} – The unique ID number for this purchase receipt

    These are all of the avaialable tags you can use in the receipt email:

    {download_list} – A list of download links for each download purchased
    {file_urls} – A plain-text list of download URLs for each download purchased
    {name} – The buyer’s first name
    {fullname} – The buyer’s full name, first and last
    {username} – The buyer’s user name on the site, if they registered an account
    {user_email} – The buyer’s email address
    {billing_address} – The buyer’s billing address
    {date} – The date of the purchase
    {subtotal} – The price of the purchase before taxes
    {tax} – The taxed amount of the purchase
    {price} – The total price of the purchase
    {payment_id} – The unique ID number for this purchase
    {receipt_id} – The unique ID number for this purchase receipt
    {payment_method} – The method of payment used for this purchase
    {sitename} – Your site name
    {receipt_link} – Adds a link so users can view their receipt directly on your website if they are unable to view it in the browser correctly.
    {discount_codes} – Adds a list of any discount codes applied to this purchase
    {ip_address} – The buyer’s IP Address
    {page_list} – Shows a list of restricted pages the customer has access to
    {license_keys} – Show all purchased licenses

    Thread Starter dsrt16

    (@dsrt16)

    Thanks, Phil. That is a great idea. I will do that.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Purchase receipt in email and cart says empty if when item added to cart’ is closed to new replies.