Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Recurring Payment IPN - Missing the Usual Arguments

Posted on 2011-03-20
2
Medium Priority
?
601 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 22

Accepted Solution

by:
neeraj523 earned 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
WooCommerce is becoming the most powerful e-commerce plugin for Wordpress. And why not. The platform comprises of numerous core plugins that may come in handy, powerful options to make your website development task much easier.
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

604 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