Community Support Forums — WordPress® ( Users Helping Users ) — 2011-08-21T10:14:43-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=14602 2011-08-21T10:14:43-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14602&p=32568#p32568 <![CDATA[Re: How to urlencode API notification URL]]> Statistics: Posted by Arpana — August 21st, 2011, 10:14 am


]]>
2011-08-18T14:52:40-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14602&p=32296#p32296 <![CDATA[Re: How to urlencode API notification URL]]> Statistics: Posted by Cristián Lávaque — August 18th, 2011, 2:52 pm


]]>
2011-08-18T08:46:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14602&p=32269#p32269 <![CDATA[How to urlencode API notification URL]]>
I have an s2Member Pro Account. I have successfully setup Authorize.net payment integration.

Now I am trying to do API Notification. I wrote a simple PHP script which gets the following fields - fullname, address, email id, amount, transaction id. The script basically GETs these values and writes them into a text file on the server.

However when I make a test payment, the payment passes through but when I open the text file I do not see the entries are filled in. I suspect the reason is address has spaces and "#" symbols in it and some kind of urlencode needs to be done.

Does s2Member automatically does the urlencode? If not where should I do the url encode so that the URL sent to the server is in the correct format.

Your prompt reply is appreciated. Thank you.

Regards
Arpana

Statistics: Posted by Arpana — August 18th, 2011, 8:46 am


]]>