Solved

Recurring Payment IPN - Missing the Usual Arguments

Posted on 2011-03-20
2
574 Views
Last Modified: 2013-11-29
Hi All,

I have setup standard payment IPN listener scripts before without any problems but I seem to having problems with a recurring payment IPN message. The IPN message appears to be missing the following which my current listener script is looking for... is this normal for a recurring payment IPN?:

payment_status
txn_id
mc_gross

Here is my Subscription form paypal params...

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" name="BuyForm" id="BuyForm" runat="server">
<input type="hidden" name="business" value="orders@MyURL.co.uk" />
<input type="hidden" name="cmd" value="_xclick-subscriptions" />
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="invoice" value="20">
<input type="hidden" name="custom" value="21">
<input type="hidden" name="a3" value="1.00">
<input type="hidden" name="a3" value="1">
<input type="hidden" name="p3" value="1">
<input type="hidden" name="t3" value="D">
<input type="hidden" name="src" value="1">
<input type="hidden" name="notify_url" value="http://www.MyURL.co.uk/gateway_listener_signup.aspx" />
<input type="hidden" name="return" value="http://www.MyURL.co.uk/register_confirmation.aspx?type=paypal" />
<input type="hidden" name="cancel_return" value="http://www.MyURL.co.uk/confirmation_cancelled.aspx" />
...button goes here.
</form>

And here is my IPM message that is being sent to my listener script...

txn_type=subscr_signup&
subscr_id=I-2T41ME5L78K8&
last_name=White&
residence_country=GB&
mc_currency=GBP&
item_name=Test Package&
business=orders@MyURL.co.uk&
recurring=1&
verify_sign=ATNlkLtK1kVrIYBOovsmW-b4KrXwAwrt4J5gt9Kgte5xMTacMKmZpAvf&
payer_status=unverified&
payer_email=rwhite@myaddress.co.uk&
first_name=Rit&
receiver_email=orders@MyURL.co.uk&
payer_id=Q7RNZBLZ8U2P4&
invoice=20&
reattempt=1&
payer_business_name=My Biz&
subscr_date=05:44:51 Mar 18, 2011 PDT&
custom=21&
charset=windows-1252&
notify_version=3.1&
period3=1 D&
mc_amount3=1.00
 

Thanks,

Rit
0
Comment
Question by:rito1
2 Comments
 
LVL 22

Accepted Solution

by:
neeraj523 earned 500 total points
ID: 35186647
Hello

When you setup subscription at paypal, you are supposed to get two IPN responses.. first for the subscription signup and second for first payment.. are considering both ?
0
 
LVL 1

Author Closing Comment

by:rito1
ID: 35189799
Brilliant, thanks.

RIt
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question