Re: URL Shortener WP Filter (DIFF Attached)
Posted:
August 24th, 2011, 5:40 am
by Cristián Lávaque
For some odd reason, $_POST['txn_id'] comes out incomplete in the URL. If the value is 46YBNENJ, only the 46 comes out in the URL. This is a problem because it's not the full order ID, but also because several orders will start with that and duplicate URLs with the shortener won't work.
What do you think could be causing this?
Re: URL Shortener WP Filter (DIFF Attached)
Posted:
August 24th, 2011, 5:56 am
by Cristián Lávaque
Found the problem: the URL shortner didn't like uppercase, so a strtolower($_POST['txn_id']) fixed that.