Solved

Recurring Payment IPN - Missing the Usual Arguments

Posted on 2011-03-20
2
565 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
Comment Utility
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
Comment Utility
Brilliant, thanks.

RIt
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now