I run a website that accepts PayPal payments. When users have questions regarding their purchase they will send me their transaction ID through a self-coded ticket system.
I would like to turn the transactions IDs into URLs (to a link that will pull up transaction info) to make everything faster for me.
I know transaction IDs are 17 characters long. How would I go about this?
UPDATE:
When users post let us say. "Hi there, my name is John Doe. I made a purchase and I'm having issues with it. Transaction ID: XXXXXX". I need to be able to turn the XXXX into a link that pulls up transaction info. I can't figure out how to create this in PHP with preg_replace, so it only formats the transaction ID into the link.
I have the link that is needed to lookup the transaction info, but I just do not know how to use regex to find the transaction ID and then wrap a link around it.