<?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 'Alert URL'</title><link>http://dev.alertpay.com/search/SearchResults.aspx?o=DateDescending&amp;tag=Alert+URL&amp;orTags=0</link><description>Search results matching tag 'Alert URL'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>Re: Changing The Alert URL</title><link>http://dev.alertpay.com/forums/p/2815/7623.aspx#7623</link><pubDate>Fri, 21 Aug 2009 10:35:45 GMT</pubDate><guid isPermaLink="false">57a524bd-45b2-4594-a7ad-396871ad85fb:7623</guid><dc:creator>nyhahany</dc:creator><description>&lt;p&gt;If we can insert the alert url directly inside the form, it&amp;#39;s will help full for all of us, especially if we running referral or membership program where require member to pay another members directly (i&amp;#39;am taalking in the secure way).&lt;/p&gt;
&lt;p&gt;Current alertpay url setup is annoying for most people, especially if they need to setup alertpay url in case they need to receive the money (using ipn).&lt;/p&gt;
&lt;p&gt;If the alert url can embeded directly in the form, only site owner will need do the task, and not his all members.&lt;/p&gt;
&lt;p&gt;There are several other reasons why this needed, but since my english is limited i can&amp;#39;t tell more.&lt;/p&gt;
&lt;p&gt;If you remember how e-gold handle the return url, perhaps it&amp;#39;s will helpful, people do not need create hassle task to create the return or status url on their account everytime they create a new program or joining new program or site&lt;/p&gt;
&lt;p&gt;hope it&amp;#39;s helpful.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thank you,&lt;/p&gt;</description></item><item><title>Re: ipn test mode</title><link>http://dev.alertpay.com/forums/p/3038/6277.aspx#6277</link><pubDate>Mon, 26 Jan 2009 17:31:33 GMT</pubDate><guid isPermaLink="false">57a524bd-45b2-4594-a7ad-396871ad85fb:6277</guid><dc:creator>AlertPay_Phoun</dc:creator><description>&lt;p&gt;Your script that will handle the IPN post data will be called whether Test Mode is ON or OFF.&lt;/p&gt;
&lt;p&gt;Make sure that you have entered the correct address to your script in the Alert URL field in your account in the IPN setup.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you do not receive your IPN post data, here are some test that you can do to check that you are receiving the IPN properly.&lt;/p&gt;
&lt;p&gt;1. Make sure that your AlertURL is not an alias, it has to be an actual URL.&lt;br /&gt;2. Please check if your server/host provider is blocking our public IP&lt;br /&gt;3. Please check the firewall settings on your server that might be blocking our IPN post.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description></item><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></channel></rss>