Link to home
Start Free TrialLog in
Avatar of rito1
rito1

asked on

Recurring Payment IPN - Missing the Usual Arguments

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
ASKER CERTIFIED SOLUTION
Avatar of neeraj523
neeraj523
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rito1
rito1

ASKER

Brilliant, thanks.

RIt