Viewable by Customers

Created on 8 June 2024, 5 months ago
Updated 17 July 2024, 4 months ago

Problem/Motivation

This is a nice feature!

Can it be viewable by customers? The view receipt permission is set for all receipts. I want a customer to be able to :

1. view their own receipts after the payment is received
2. the receipt link for customers is not under admin path, but like "/user/[uid]/orders/[oid]/receipt"
3. print logo to print the receipt in a nice format.

Is it too much to ask?

Thank you in advance!

✨ Feature request
Status

Active

Version

1.0

Component

User interface

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @sdsc
  • πŸ‡ΊπŸ‡ΈUnited States mlncn Minneapolis, MN, USA

    Agreed this would be very useful! Right now the orders listing is not nearly as nice as the receipt.

    Hmm, maybe this only has to be better documented because given ✨ Expose "Receipt" link views field for completed orders Fixed a version of this (receipt at somewhere other than an `/admin` path) must be happening?

  • πŸ‡ΊπŸ‡ΈUnited States MegaKeegMan

    This feature actually does work (not all of the details you mention). However, it is worth noting that you can add the receipt field to the orders view and then grant the permission to view order as well as the permission to view receipts. This way, a customer is able to view their receipts. However, like you say, the path for the receipt is under the admin path, and this is very undesirable. A customer should be able to view the receipt under a non-admin path. I would like this very much!

  • πŸ‡¨πŸ‡¦Canada gregcube

    I'll work on something.

  • πŸ‡ΊπŸ‡ΈUnited States MegaKeegMan

    Adding a patch that replaces the admin route to the receipt tab with a non-admin route.

    Not ideal yet, since the tab is still in the admin context, but otherwise seems okay for now.

  • πŸ‡ΊπŸ‡ΈUnited States MegaKeegMan

    Redoing the patch because I noticed a lot of links were broken in patch 5. This patch also adds a route to view_receipt_as_customer, and users that route to generate the link that is included in views. I am not sure if this is what would generally be desired, but it made sense to me and at the very least fulfills my needs.

  • πŸ‡ΊπŸ‡ΈUnited States MegaKeegMan

    And lastly one more patch. This is exactly the same as 6, but changes the title of the "View PDF" action to "Download PDF". If you do not like this change, please just work from patch 6. However, I had a complaint from a client suggesting that "View PDF" does not indicate to the user that anything will be downloaded. I think it could be argued that this usability improvement fits within the goal of making PDFs viewable by customers, per the title of the issue.

  • πŸ‡ΊπŸ‡ΈUnited States MegaKeegMan

    One more patch, which just includes one more line that ensures the re-send receipt action appears on the customer receipt viewing page

Production build 0.71.5 2024