how to capture recurring payments with paypal

RussellReal
Contributor
Contributor

 

    <form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" name="frmCart" id="frmCart">
        <input type="hidden" name="cmd" value="_xclick-subscriptions" />
        <input type="hidden" name="business" value="paypal+email" />
        <input type="hidden" name="item_name" value="Membership" />
        <input type="hidden" name="currency_code" value="EUR" />
        <input type="hidden" name="no_shipping" value="1" />
        <input type="hidden" name="a3" value="9.97" />
        <input type="hidden" name="p3" value="1" /> 
        <input type="hidden" name="t3" value="M" />
        <input type="hidden" name="src" value="1" />
        <input type="hidden" name="sra" value="1" />
        <input type="hidden" name="notify_url" value="http://notify.com/notify-url/" />
        <input type="hidden" name="custom" value="1000" />
    </form>

That being said, the IPN comes through just fine, and I get 2 IPNs

txn_type = subscr_signup

txn_type = subscr_payment

 

Both are great, but the "subscr_payment" comes back as "pending" how do I automatically capture this payment?

 

I could log into my paypal and accept the billing agreements, that works fine, but IPN doesn't get generated when I accept the billing agreements.

 

So basically my site never "knows" that the billing agreement was accepted and money was received. I'd like to accept the billing agreement when I get the IPN which suggests that the agreement is pending my approval. This way my client doesn't have to log into paypal to accept the agreement.

 

Many thanks in advance!

 

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.