Page 2 of 2

Re: URL Shortener WP Filter (DIFF Attached)

PostPosted: August 10th, 2011, 8:57 pm
by Jason Caldwell
Exactly!

Re: URL Shortener WP Filter (DIFF Attached)

PostPosted: August 10th, 2011, 10:07 pm
by Cristián Lávaque
:)

Re: URL Shortener WP Filter (DIFF Attached)

PostPosted: 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)

PostPosted: 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.