Solved

Recurring Payment IPN - Missing the Usual Arguments

Posted on 2011-03-20
2
569 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

777 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