Quantcast
Channel: Opinion: Shopify Community - Shopify Apps
Viewing all articles
Browse latest Browse all 11091

Ryan | Add to Cart Apps commented on Automatically attach PDF invoice?

$
0
0

Just in case someone decides to implement the above in an app a much better solution would be to hash the order.id with a customer secret such as

xxx.pdfinvoice.com/{{ order.id | prepend: 'A secret specific to this app user' | md5 }}

This would prevent people accessing other peoples invoices by simply changing the id number.


Viewing all articles
Browse latest Browse all 11091

Trending Articles