<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://dev.alertpay.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tag 'help with the script'</title><link>http://dev.alertpay.com/search/SearchResults.aspx?o=DateDescending&amp;tag=help+with+the+script&amp;orTags=0</link><description>Search results matching tag 'help with the script'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>Re: IPN Not Working</title><link>http://dev.alertpay.com/forums/p/2996/6189.aspx#6189</link><pubDate>Tue, 20 Jan 2009 16:27:46 GMT</pubDate><guid isPermaLink="false">57a524bd-45b2-4594-a7ad-396871ad85fb:6189</guid><dc:creator>AlertPay_Phoun</dc:creator><description>&lt;p&gt;In the case of a subscription, you will receive two IPN post for the first payment of a subscription. In the case of a recurring subscription, you will receive one IPN post.&lt;br /&gt;&lt;br /&gt;The &amp;quot;ap_status&amp;quot; that you will receive when a user first subscribes will have a value of &amp;quot;Success&amp;quot;. Then you will also receive an &amp;quot;ap_status&amp;quot; with value &amp;quot;Subscription-Payment-Success&amp;quot;.&lt;br /&gt;&lt;br /&gt;Here are few suggestions to avoid getting &amp;quot;Access Denied&amp;quot; in the flow of your IF statement.&lt;br /&gt;&lt;br /&gt;You should check for &amp;quot;ap_purchasetype&amp;quot; to be &amp;quot;Subscription&amp;quot;, to make sure that the IPN data you are receiving is for a subscription and not for an item for example.&lt;br /&gt;&lt;br /&gt;You might want to handle the different &amp;quot;ap_status&amp;quot; that we are sending in case of a subscription&lt;br /&gt;ex: if (($ap_Status eq &amp;quot;Subscription-Payment-Success&amp;quot;)&lt;br /&gt;&lt;br /&gt;Please refer to page 49 of our integration guide for the other possible statuses.&lt;br /&gt;&lt;br /&gt;Since your code only checks for &amp;quot;Success&amp;quot; then it will go to &amp;quot;Access Denied&amp;quot; because the status is actually &amp;quot;Subscription-Payment-Success&amp;quot;.&lt;/p&gt;</description></item><item><title>IPN Not Working</title><link>http://dev.alertpay.com/forums/p/2996/6146.aspx#6146</link><pubDate>Fri, 16 Jan 2009 16:44:46 GMT</pubDate><guid isPermaLink="false">57a524bd-45b2-4594-a7ad-396871ad85fb:6146</guid><dc:creator>rkdallas</dc:creator><description>&lt;p&gt;Subscription-Payment-Success|xxxxxxxxxxxxxxxxx|HOAP Club Membership|1|20.00|USD|S-49943-0A35F-5AFD9|||&lt;br /&gt;Success|xxxxxxxxxxxxxxxxx|HOAP Club Membership|1|20.00|USD|S-49943-0A35F-5AFD9|||&lt;br /&gt;|||||||||&lt;/p&gt;
&lt;p&gt;When I test a purchase I get access denied in my program, which is what I should get &lt;/p&gt;
&lt;p&gt;if the ap_status or the ap_securitycode don&amp;#39;t match their $. However, when I print the IPN post&lt;br /&gt;to a file to see what I&amp;#39;m getting, it is returning two posts as you can see above. The xxx&amp;#39;s are the security code &lt;br /&gt;and they are the same on both lines.&lt;br /&gt;Am I supposed to be getting both posts?&lt;br /&gt;Could that be a reason my script is not accepting the codes, and denying access?&lt;/p&gt;
&lt;p&gt;Here is the section that is checking the variables:&lt;/p&gt;
&lt;p&gt;$ap_SecurityCode = $q-&amp;gt;param(&amp;#39;ap_securitycode&amp;#39;);&lt;br /&gt;$ap_Status = $q-&amp;gt;param(&amp;#39;ap_status&amp;#39;);&lt;br /&gt;$ap_ItemName = $q-&amp;gt;param(&amp;#39;ap_itemname&amp;#39;);&lt;br /&gt;$ap_Quantity = $q-&amp;gt;param(&amp;#39;ap_quantity&amp;#39;);&lt;br /&gt;$ap_Amount = $q-&amp;gt;param(&amp;#39;ap_amount&amp;#39;);&lt;br /&gt;$ap_Currency = $q-&amp;gt;param(&amp;#39;ap_currency&amp;#39;);&lt;br /&gt;$ap_SubscriptionReferenceNumber = $q-&amp;gt;param(&amp;#39;ap_subscriptionreferencenumber&amp;#39;);&lt;br /&gt;open (FILE, &amp;quot;&amp;gt;&amp;gt;$datapath/veppy.dat&amp;quot;);&lt;br /&gt;flock(FILE, 1);&lt;br /&gt;print FILE &amp;quot;$ap_Status|&amp;quot;;&lt;br /&gt;print FILE &amp;quot;$ap_SecurityCode|&amp;quot;;&lt;br /&gt;print FILE &amp;quot;$ap_ItemName|&amp;quot;;&lt;br /&gt;print FILE &amp;quot;$ap_Quantity|&amp;quot;;&lt;br /&gt;print FILE &amp;quot;$ap_Amount|&amp;quot;;&lt;br /&gt;print FILE &amp;quot;$ap_Currency|&amp;quot;;&lt;br /&gt;print FILE &amp;quot;$ap_SubscriptionReferenceNumber|&amp;quot;;&lt;br /&gt;print FILE &amp;quot;$time|&amp;quot;;&lt;br /&gt;print FILE &amp;quot;$julian|
&amp;quot;;&lt;br /&gt;flock(FILE, 8);&lt;br /&gt;close (FILE);&lt;br /&gt;if (($ap_Status eq &amp;quot;Success&amp;quot;)&amp;amp;&amp;amp;($ap_SecurityCode eq &amp;quot;xxxxxxxxxxxxxxxxxxx&amp;quot;)){&lt;br /&gt;$paidmembership = &amp;quot;1&amp;quot;;&lt;br /&gt;$user_status = &amp;quot;Paid Membership&amp;quot;;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;elsif (($ap_Status ne &amp;quot;Success&amp;quot;)&amp;amp;&amp;amp;($alowfree eq &amp;quot;1&amp;quot;)){&lt;br /&gt;$paidmembership = &amp;quot;0&amp;quot;;&lt;br /&gt;$amount = 0;&lt;br /&gt;$user_status = &amp;quot;Free Membership&amp;quot;;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;else {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;print $q-&amp;gt;header;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;print(&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;h2&amp;gt;&amp;lt;center&amp;gt;Access Denied&amp;lt;/center&amp;gt;&amp;lt;/h2&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;exit;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Collect variables from Alertpay to cgi </title><link>http://dev.alertpay.com/forums/p/2969/6085.aspx#6085</link><pubDate>Wed, 07 Jan 2009 16:40:31 GMT</pubDate><guid isPermaLink="false">57a524bd-45b2-4594-a7ad-396871ad85fb:6085</guid><dc:creator>rkdallas</dc:creator><description>&lt;p&gt;&amp;nbsp;How do you capture the variables passed by Alertpay in a cgi format?&lt;/p&gt;
&lt;p&gt;Variables such as ap_status, ap_securitycode, and others.&lt;/p&gt;
&lt;p&gt;The cgi script I&amp;#39;m trying to get to work was set up to work with SFIpay IPN.&lt;/p&gt;
&lt;p&gt;I am trying to convert it to Alertpay.&lt;/p&gt;
&lt;p&gt;The admin, and members part of the script works fine. I can manually add a new member and that new member can sign in and access the member&amp;#39;s area.&lt;/p&gt;
&lt;p&gt;I can make a test transaction and the payment goes through Alertpay fine but when it returns to my site I get Access Denied. Which is what the script calls for if payment was not recorded by the script.&lt;/p&gt;
&lt;p&gt;It is not reading in the ap_status and the ap_securitycode.&lt;/p&gt;
&lt;p&gt;The alert return URL is to this script.&lt;/p&gt;
&lt;p&gt;How do I write the code to read in the Alertpay variables and then pass them to the script?&lt;/p&gt;
&lt;p&gt;My program is a monthly subscription.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: Here is what I'm trying to get to work</title><link>http://dev.alertpay.com/forums/p/2960/6079.aspx#6079</link><pubDate>Tue, 06 Jan 2009 02:16:29 GMT</pubDate><guid isPermaLink="false">57a524bd-45b2-4594-a7ad-396871ad85fb:6079</guid><dc:creator>rkdallas</dc:creator><description>&lt;p&gt;Are there any PERL sample scripts for AlertPay Integration?&lt;/p&gt;</description></item><item><title>Re: Empty POST data from AlertPay</title><link>http://dev.alertpay.com/forums/p/2773/6070.aspx#6070</link><pubDate>Sun, 04 Jan 2009 15:43:20 GMT</pubDate><guid isPermaLink="false">57a524bd-45b2-4594-a7ad-396871ad85fb:6070</guid><dc:creator>rkdallas</dc:creator><description>&lt;p&gt;Any examples for decoding in a PERL script?&lt;/p&gt;</description></item><item><title>Here is what I'm trying to get to work</title><link>http://dev.alertpay.com/forums/p/2960/6069.aspx#6069</link><pubDate>Sun, 04 Jan 2009 00:44:41 GMT</pubDate><guid isPermaLink="false">57a524bd-45b2-4594-a7ad-396871ad85fb:6069</guid><dc:creator>rkdallas</dc:creator><description>&lt;p&gt;&amp;nbsp;This is a Perl Script for a subscription.&lt;/p&gt;
&lt;p&gt;The script works as far as admin and members areas but I cannot get it to work with the IPN.&lt;/p&gt;
&lt;p&gt;It is not reading the ap_securitycode and giving me &lt;strong&gt;&lt;em&gt;access denied&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This is how the ap_securitycode&amp;nbsp;variable is declared in the config script&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;$alertpaysecretword = &amp;quot;xxxxxxxxxxxxxxxx&amp;quot;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (my actual code is where the xxxs are)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This is where it is checking for the ap_securitycode.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;if (($purchase_status eq &amp;quot;SUCCESS&amp;quot;)&amp;amp;&amp;amp;($alertpaysecretword eq &amp;quot;$ap_securitycode&amp;quot;)){&lt;br /&gt;$paidmembership = &amp;quot;1&amp;quot;;&lt;br /&gt;$user_status = &amp;quot;Paid Membership&amp;quot;;&lt;br /&gt;}&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;elsif (($purchase_status ne &amp;quot;SUCCESS&amp;quot;)&amp;amp;&amp;amp;($alowfree eq &amp;quot;1&amp;quot;)){&lt;br /&gt;$paidmembership = &amp;quot;0&amp;quot;;&lt;br /&gt;$amount = 0;&lt;br /&gt;$user_status = &amp;quot;Free Membership&amp;quot;;&lt;br /&gt;}&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;else {&lt;br /&gt;&amp;nbsp;print $q-&amp;gt;header;&lt;br /&gt;&amp;nbsp;print(&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;h2&amp;gt;&amp;lt;center&amp;gt;Access Denied&amp;lt;/center&amp;gt;&amp;lt;/h2&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;exit;&lt;br /&gt;}&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: sfipay script to alertpay script</title><link>http://dev.alertpay.com/forums/p/2959/6068.aspx#6068</link><pubDate>Sat, 03 Jan 2009 15:10:14 GMT</pubDate><guid isPermaLink="false">57a524bd-45b2-4594-a7ad-396871ad85fb:6068</guid><dc:creator>rkdallas</dc:creator><description>&lt;p&gt;&amp;nbsp;I ran the script through a cgi script checker and cgi monitor and it checks out fine.&lt;/p&gt;&lt;p&gt;It just seems to me, (Not A Programmer), that the cgi can&amp;#39;t read the ap_securitycode.&lt;/p&gt;&lt;p&gt;I read in another post that the ap_securitycode was going to be sent encrypted, and that your program would have to decrypt it.&lt;/p&gt;&lt;p&gt;Is it possible that is the problem?&lt;/p&gt;&lt;p&gt;If so, do you know a perl script for decrypting. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>sfipay script to alertpay script</title><link>http://dev.alertpay.com/forums/p/2959/6059.aspx#6059</link><pubDate>Fri, 02 Jan 2009 20:32:11 GMT</pubDate><guid isPermaLink="false">57a524bd-45b2-4594-a7ad-396871ad85fb:6059</guid><dc:creator>rkdallas</dc:creator><description>&lt;p&gt;I have a PERL script that is written to work with sfipay and would like to get it to work with alertpay.&lt;/p&gt;
&lt;p&gt;I have the script working as far as admin and member sections but getting it to work with alertpay ipn is not going so well.&lt;/p&gt;
&lt;p&gt;When&amp;nbsp;I run a purchase in test mode the script is not accepting what alertpay is sending.&lt;/p&gt;
&lt;p&gt;I have it looking for ap_SecurityCode and have my code set in the config file.&lt;/p&gt;
&lt;p&gt;If the script does not get what it&amp;#39;s looking for it simply displays Access Denied. Which is what I&amp;#39;m getting everytime.&lt;/p&gt;
&lt;p&gt;Is the ap_SecurityCode sent in test mode or only in live mode?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>DUH???? BEGINNER HERE! lol  What do I do FIRST???</title><link>http://dev.alertpay.com/forums/p/445/1222.aspx#1222</link><pubDate>Sun, 18 May 2008 22:25:45 GMT</pubDate><guid isPermaLink="false">57a524bd-45b2-4594-a7ad-396871ad85fb:1222</guid><dc:creator>LeslieBlue</dc:creator><description>&lt;font face="Comic Sans MS" color="blue" size="3"&gt;&lt;font face="Comic Sans MS" color="blue" size="3"&gt;I am turning my formerly free website into a subscription pay site, by charging a semi-yearly fee to be a member. Altho I am fairly adept at HTML code, I am really pretty plain ignorant when it comes to PHP Programming, so this is almost like a stab in the dark to me at this point. &lt;img src="http://dev.alertpay.com/emoticons/emotion-42.gif" alt="Confused" /&gt;&lt;/font&gt;&lt;font face="Comic Sans MS" color="blue" size="3"&gt; 
&lt;p&gt;&lt;/font&gt;I am trying to set up my Advanced IPN with Alert Pay, and I do not even know how to choose which URL of my website to designate as the: ALERT URL. Also, what is my Security Code and who chooses that and if I do, how do I choose that? &lt;/font&gt;&lt;/p&gt;&lt;font face="Comic Sans MS" color="blue" size="3"&gt;&lt;font face="Comic Sans MS" color="blue" size="3"&gt;&lt;font face="Comic Sans MS" color="blue" size="3"&gt;I also need information on how to incorporate User ID&amp;#39;s and Passwords for my paying customers, so that they can access a MEMBER&amp;#39;S ONLY area after they have paid for their subscription...&lt;/font&gt;&lt;font face="Comic Sans MS" color="blue" size="3"&gt; &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Comic Sans MS" color="blue" size="3"&gt;&lt;font face="Comic Sans MS" color="blue" size="3"&gt;&lt;font face="Comic Sans MS" color="blue" size="3"&gt;
&lt;p align="left"&gt;&lt;font face="Comic Sans MS" color="blue" size="3"&gt;Is there anyone out there who can speak to me, a real novice, about this and not have it all go flying right over my head? I would appreciate anyone who has a little patience! lol&amp;nbsp;&amp;nbsp; I am not dumb, just ignorant about where to start right now.&lt;/p&gt;
&lt;p align="left"&gt;&lt;font face="Comic Sans MS" color="blue" size="3"&gt;Thanks so much!&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;</description></item><item><title>Problems with IPN Post Return</title><link>http://dev.alertpay.com/forums/p/398/1080.aspx#1080</link><pubDate>Tue, 06 May 2008 22:13:00 GMT</pubDate><guid isPermaLink="false">57a524bd-45b2-4594-a7ad-396871ad85fb:1080</guid><dc:creator>listenapc</dc:creator><description>&lt;p&gt;&amp;nbsp;
Hi, I need help with the integration of you payments notification with
our site. I&amp;#39;ll paste some code and images to try and illustrate my
problem.&lt;br /&gt;
&lt;br /&gt;
First of all i have this page to test the transaction a customer could
do from our site. alertpay.asp&lt;br /&gt;
&lt;/p&gt;&lt;hr /&gt;&amp;lt;%@LANGUAGE=&amp;quot;JAVASCRIPT&amp;quot;
CODEPAGE=&amp;quot;1252&amp;quot;%&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot;
&lt;a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" class="moz-txt-link-rfc2396E"&gt;&amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&lt;/a&gt;&amp;gt;&lt;br /&gt;
&amp;lt;html xmlns=&lt;a href="http://www.w3.org/1999/xhtml" class="moz-txt-link-rfc2396E"&gt;&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&lt;/a&gt;&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html;
charset=iso-8859-1&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;AlertPay Payment&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;form method=&amp;quot;post&amp;quot;
action=&lt;a href="https://www.alertpay.com/PayProcess.aspx" class="moz-txt-link-rfc2396E"&gt;&amp;quot;https://www.alertpay.com/PayProcess.aspx&amp;quot;&lt;/a&gt; &amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;ap_purchasetype&amp;quot;
value=&amp;quot;service&amp;quot;/&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;ap_merchant&amp;quot;
value=&lt;a href="mailto:eve@lazerwager.com" class="moz-txt-link-rfc2396E"&gt;&amp;quot;eve@lazerwager.com&amp;quot;&lt;/a&gt;/&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;ap_itemname&amp;quot; value=&amp;quot;LazerWager
Deposit&amp;quot;/&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;ap_currency&amp;quot; value=&amp;quot;USD&amp;quot;/&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;ap_returnurl&amp;quot;
value=&lt;a href="http://www.lazerwager.com/" class="moz-txt-link-rfc2396E"&gt;&amp;quot;http://www.lazerwager.com/&amp;quot;&lt;/a&gt;/&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;ap_quantity&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;ap_cancelurl&amp;quot;
value=&lt;a href="http://www.lazerwager.com/cancel.asp" class="moz-txt-link-rfc2396E"&gt;&amp;quot;http://www.lazerwager.com/cancel.asp&amp;quot;&lt;/a&gt;/&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;ap_amount&amp;quot; value=&amp;quot;&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type=&amp;quot;image&amp;quot; name=&amp;quot;ap_image&amp;quot; src=&lt;a href="https://www.alertpay.com/Images/BuyNow/big_pay_01.gif" class="moz-txt-link-rfc2396E"&gt;&amp;quot;https://www.alertpay.com/Images/BuyNow/big_pay_01.gif&amp;quot;&lt;/a&gt;/&amp;gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;apc_1&amp;quot; value=&amp;quot;lzw1042&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/form&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;hr /&gt;Next you can see my IPN setup at the moment&lt;br /&gt;&lt;img src="http://img257.imageshack.us/img257/818/ipnsetupwr7.jpg" alt="" align="" border="1" height="167" hspace="" width="501" /&gt;&lt;img alt="IPN Setup" title="IPN Setup" border="1" height="167" width="501" /&gt;&lt;br /&gt;
&lt;br /&gt;
and alert_return.asp code next&lt;br /&gt;
&lt;hr /&gt;&amp;lt;%@LANGUAGE=&amp;quot;javascript&amp;quot;
CODEPAGE=&amp;quot;1252&amp;quot;%&amp;gt;&lt;br /&gt;
&amp;lt;!--#INCLUDE file=&amp;quot;confirmfunctions.asp&amp;quot;--&amp;gt;&lt;br /&gt;
&amp;lt;% &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
var merchant, itemname, currency, totalAmount, referencenumber, status,
securitycode;&lt;br /&gt;
&lt;br /&gt;
function initVars(){&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; merchant = Request.Form(&amp;quot;ap_merchant&amp;quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; itemname = Request.Form(&amp;quot;ap_itemname&amp;quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; currency = Request.Form(&amp;quot;ap_currency&amp;quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; amount = Request.Form(&amp;quot;ap_amount&amp;quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; account = Request.Form(&amp;quot;apc_1&amp;quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; totalAmount = Request.Form(&amp;quot;ap_totalamount&amp;quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; referencenumber = Request.Form(&amp;quot;ap_referencenumber&amp;quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; status = Request.Form(&amp;quot;ap_status&amp;quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; securitycode = Request.Form(&amp;quot;ap_securitycode&amp;quot;);&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
initVars();&lt;br /&gt;
&lt;br /&gt;
var pdescription = &amp;quot;Test by Carlos&amp;quot;;&lt;br /&gt;
var preference = &amp;quot;&amp;quot;;&lt;br /&gt;
var pamount = &amp;quot;&amp;quot;;&lt;br /&gt;
var ptransid = &amp;quot;&amp;quot;;&lt;br /&gt;
amount = 15;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; InsertAlertPayDeposit(&amp;#39;lzw1042&amp;#39;, amount, pdescription,
&amp;quot;TransId:&amp;quot;);&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
%&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot;
&lt;a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" class="moz-txt-link-rfc2396E"&gt;&amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&lt;/a&gt;&amp;gt;&lt;br /&gt;
&amp;lt;html xmlns=&lt;a href="http://www.w3.org/1999/xhtml" class="moz-txt-link-rfc2396E"&gt;&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&lt;/a&gt;&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html;
charset=iso-8859-1&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;Untitled Document&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&amp;lt;table width=&amp;quot;300&amp;quot; border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th scope=&amp;quot;col&amp;quot;&amp;gt;account&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th scope=&amp;quot;col&amp;quot;&amp;gt;merchant&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th scope=&amp;quot;col&amp;quot;&amp;gt;itemname&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th scope=&amp;quot;col&amp;quot;&amp;gt;currency&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th scope=&amp;quot;col&amp;quot;&amp;gt;amount&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th scope=&amp;quot;col&amp;quot;&amp;gt;totalAmount&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th scope=&amp;quot;col&amp;quot;&amp;gt;referencenumber&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th scope=&amp;quot;col&amp;quot;&amp;gt;status&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th scope=&amp;quot;col&amp;quot;&amp;gt;securitycode&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;%= account %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;%= merchant %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;%= itemname %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;%= currency %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;%= amount %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;%= totalAmount %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;%= referencenumber %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;%= status %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;%= securitycode %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;hr /&gt;&lt;img src="http://img180.imageshack.us/img180/9942/alertpaytransactionpi8.jpg" alt="" align="" border="1" height="271" hspace="" width="797" /&gt;&lt;img alt="Test Transaction" title="Test Transaction" border="1" height="271" width="797" /&gt;&lt;br /&gt;&lt;br /&gt;
in alertpay.asp i put &lt;a href="http://www.lazerwager.com/" class="moz-txt-link-freetext"&gt;http://www.lazerwager.com/&lt;/a&gt; as the returnurl &lt;br /&gt;
&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;ap_returnurl&amp;quot;
value=&lt;a href="http://www.lazerwager.com/" class="moz-txt-link-rfc2396E"&gt;&amp;quot;http://www.lazerwager.com/&amp;quot;&lt;/a&gt;/&amp;gt; &lt;br /&gt;
&lt;br /&gt;
even if I change it to &amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;ap_returnurl&amp;quot;
value=&lt;a href="http://www.lazerwager.com/alert_return.asp" class="moz-txt-link-rfc2396E"&gt;&amp;quot;http://www.lazerwager.com/alert_return.asp&amp;quot;&lt;/a&gt;/&amp;gt; won&amp;#39;t help at
all, because on your code you make a javascript redirect&lt;br /&gt;
&lt;br /&gt;
&lt;pre id="line139"&gt;function updateSeconds() {&lt;br /&gt;	var ctlSecondsRemaining = document.getElementById(&amp;quot;secondsRemaining&amp;quot;);&lt;br /&gt;		&lt;br /&gt;	second--;&lt;br /&gt;		&lt;br /&gt;	ctlSecondsRemaining.innerHTML = second;&lt;br /&gt;&lt;br /&gt;	if (second&amp;gt;0)&lt;br /&gt;		queueNextUpdate();&lt;br /&gt;	else&lt;br /&gt;		window.location = &amp;#39;&lt;a href="http://www.lazerwager.com/" class="moz-txt-link-freetext"&gt;http://www.lazerwager.com/&lt;/a&gt;&amp;#39;;&lt;br /&gt;&lt;br /&gt;}&lt;/pre&gt;
Please let me know how to get the info in order to validate the
transactions.&lt;br /&gt;
&lt;br /&gt;
Thanks, Carlos Jimenez&lt;br /&gt;
Developer - LazerWager.com</description></item></channel></rss>